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 directly connected to the system

The following example shows how to create an address pool within the LAB-NET shared network.

LAB-NET. This shared network serves the 2001:db8:100::/64 subnet, which is connected directly 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.

DHCPv6 address pool configuration shows the sample address pool configuration.

Figure 1. DHCPv6 address pool configuration

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

Table 1. Configuring a DHCPv6 address pool
StepCommand
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-NET 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
   shared-network-name LAB-NET {
   		subnet 2001:db8:100::/64 {
   			address-range {
   				start 2001:db8:100::100 {
   					stop 2001:db8:100::199
   				}
   			}
   			name-server 2001:db8:111::111
   		}
   }
Show the interface configuration.

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