Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Configuring for networks indirectly connected to the system

The following example shows how to create an address pool within the LAB-NET2 shared network, which is indirectly connected through a DHCP relay server to the DHCP server on the vRouter.

  • LAB-NET2. This shared network serves the 2001:db8:100::/64 subnet, which is connected to a DHCP relay (R2), which is directly connected to the dp0p1p2 interface. The lease time remains at the default, 24 hours (86,400 seconds). The address pool uses the DNS name server at 2001:db8:111::111, which is on a separate subnet (not shown). The range of addresses is configured for .100 through .199.

The following figure shows the sample address pool configuration.

Figure 1. DHCPv6 address pool configuration using the listento option
Note: To configure the DHCPv6 address pool, perform the following steps in configuration mode.
Table 1. Configuring a DHCPv6 address pool
Step Command

Configure the router interface to listen to DHCP messages.


vyatta@R1# set service dhcpv6-server listento interface dp0p1p2 

Create the configuration node for LAB-NET on the 2001:db8:100::/64 subnet. Specify the start and stop IPv6 addresses for the pool.


vyatta@R1# set service dhcpv6-server shared-network-name LAB-NET2 subnet 2001:db8:100::/64 address-range start 2001:db8:100::100 stop 2001:db8:100::199 

Specify a DNS server for LAB-NET.


vyatta@R1# set service dhcpv6-server shared-network-name LAB-NET subnet 2001:db8:100::/64 name-server 2001:db8:111::111
Commit the changes.

vyatta@R1# commit
Show the configuration.
vyatta@R1# show service dhcpv6-server
dhcpv6-server {
       listento {
               interface dp0p1p2
       }
} shared-network-name LAB-NET2 {
     subnet 2001:db8:100::/64 {
        address-range {
           start 2001:db8:100::100 {
              stop 2001:db8:100::199
           }
        }
        name-server 2001:db8:111::111
        lease 86400
     }
  }

Show the interface configuration.

vyatta@R1# show interfaces
   dataplane dp0p1p2 {
     address 2001:db9:101::0/64
     hw-id 00:0c:29:42:05:35
   }