Vyatta Network OS Documentation

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

service dhcp-server static-mapping <mapname> ip-address <ipv4>

Specifies a static IP address for a DHCP client.

set service dhcp-server static-mapping mapname ip-address ipv4
delete service dhcp-server static-mapping mapname ip-address
show service dhcp-server static-mapping mapname ip-address
mapname
Multinode. Allows you to statically map an IP address within an address pool to the MAC address of a device on the network.

You can define multiple static mappings of this type by creating multiple static-mapping configuration nodes.

ipv4
Mandatory. The IP address to be statically assigned to the device.

Configuration mode


service {
    dhcp-server {
        static-mapping mapname {
        ip-address ipv4
        }	
    }
}

Use this command to specify a static IP address for a DHCP client, based on its MAC address.

Use the set form of this command to specify a static IP address for a DHCP client, based on its MAC address.

Use the delete form of this command to remove the static mapping configuration.

Use the show form of this command to view the static mapping configuration.