home

Supported platforms

Vyatta NOS documentation

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

VRF support for DHCP

The implementation of VRF on the vRouter supports DHCPv4 server, DHCPv6 server, DHCPv4 relay, DHCPv6 relay, DHCPv4 client, and DHCPv6 client configurations.

You can configure DHCP on individual routing instances. If you configure DHCP without specifying a routing instance, the default routing instance is used.

The DHCP server recognizes which address pool belongs to which routing instance. You can switch configurations between routing instances. However, you cannot create a DHCP relay that involves interfaces from different routing instances.

The following examples show DHCP configurations that use these values:
  • routing instance = BLUE
  • ipAddress = 42.42.42.42

The following example shows how to configure DHCP for the default routing instance.

vyatta@R1# set service dhcp-server listento interface 'dp0s3'
vyatta@R1# set service dhcp-server shared-network-name CORP subnet 42.42.42.0/24 start 42.42.42.1 stop '42.42.42.253'
vyatta@R1# commit
vyatta@R1# run show configuration
service {
        dhcp-server {
                listento {
                        interface dp0s3
                }
                shared-network-name CORP {
                        subnet 42.42.42.0/24 {
                                start 42.42.42.1 {
                                        stop 42.42.42.253
                                }
                        }
                }
        }
}

The following example shows the same configuration sequence for the BLUE routing instance.

vyatta@R1# set routing routing-instance BLUE service dhcp-server listento interface 'dp0s4'
vyatta@R1# set routing routing-instance BLUE service dhcp-server shared-network-name CORP subnet 42.42.42.0/24 start 42.42.42.1 stop '42.42.42.253'
vyatta@R1# commit
vyatta@R1# run show configuration
routing {
        routing-instance BLUE {
                interface dp0s4
                service {
                        dhcp-server {
                                listento {
                                        interface dp0s4
                                }
                                shared-network-name CORP {
                                        subnet 42.42.42.0/24 {
                                                start 42.42.42.1 {
                                                        stop 42.42.42.253
                                                }
                                        }
                                }
                        }
                }
        }
}}

For more information about DHCP and configuring DHCP, see Ciena Vyatta Network OS Basic System Configuration Guide.