home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Configuring for networks indirectly connected to the system

This example shows how to create an address pool (dp0p1p1_POOL2) for clients that are indirectly connected to the R1 vRouter pool.

The dp0p1p1_POOL2 address pool serves the 192.168.1.0/24 subnet, which is on a different subnet than the subnet to which the dp0p1p1 data plane interface is connected.

The lease time remains at the default, 24 hours (86,400 seconds). This address pool uses the DNS name server at 172.16.0.34.

Figure 1. DHCP address pool configuration for clients indirectly connected to the DHCP server host

To configure the dp0p1p1_POOL2 DHCP address pool, perform the following steps in configuration mode.

Table 1. Configuring DHCP address pools

Step

Command

Configure the vRouter interface to listen to DHCP messages.


vyatta@R1#set service dhcp-server listento interface dp0p1p1

Create a shared network and associate it with the 192.168.1.0/24 subnet.


vyatta@R1# set service dhcp-server shared-network-name dp0p1p1_POOL2 subnet 192.168.1.0/24

Show the configuration.


vyatta@R1# show service dhcp-server
dhcp-server {
    listento {
        interface dp0p1p1
    }
    shared-network-name dp0p1p1_POOL2 {
        subnet 192.168.1.0/24 {
            dns-server 192.168.1.100
            lease 86400
            start 192.168.1.100 {
                stop 192.168.1.199
            }
        }
    }
}

Show the interface configuration.


vyatta@R1# show interfaces
interfaces {
    dataplane dp0p1p1 {
        address 172.16.0.0/24
    }
    loopback lo
}

Commit the changes.


vyatta@R1# commit