Vyatta Network OS Documentation

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

interfaces dataplane <interface-name> address

Specifies the IP address and network prefix for a data plane interface.

set interfaces dataplane interface-name address { ipv4 | ipv6 | dhcp | dhcpv6 }
delete interfaces dataplane interface-name address [ ipv4 | ipv6 | dhcp | dhcpv6 ]
interface-name
The name of a data plane interface. For more information about the supported interface name formats, refer to Data Plane Interface.
ipv4
The IPv4 address of a data plane interface. The format is ip-address/prefix (for example, 192.168.1.77/24).
ipv6
The IPv6 address of a data plane interface. The format is ipv6-address/prefix (for example, 2001:db8:1234::/48).
dhcp
Defines the interface as a DHCP client, which obtains its address and prefix from a DHCP server.
dhcpv6
Defines the interface as a DHCPv6 client, which obtains its address and prefix from a DHCPv6 server.
dhcp
Defines the interface as a Dynamic Host Configuration Protocol (DHCP) client, which obtains its address and prefix from a DHCP server.
dhcpv6
Defines the interface as a Dynamic Host Configuration Protocol for IPv6 (DHCPv6) client, which obtains its address, prefix, and parameters from a DHCPv6 server.

Configuration mode


interfaces {
    dataplane interface-name {
        address {
            ipv4
            ipv6
            dhcp
            dhcpv6
        }
    }
}

Use this command to specify the IP address and network prefix for a data plane interface.

If set to dhcp, the MTU value for the interface will be set through DHCP unless it is explicitly defined using interfaces dataplane <interface-name> mtu <mtu> which takes precedence.

Use the set form of this command to set an IP address and a network prefix. You can set only one IP address for the interface.

Use the delete form of this command to delete an IP address and a network prefix.