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> mac-address <mac>

Specifies the MAC address of a DHCP client to which an IP address is assigned.

set service dhcp-server static-mapping mapname mac-address mac
delete service dhcp-server static-mapping mapname mac-address
show service dhcp-server static-mapping mapname mac-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.

mac
Mandatory. The MAC address to be statically mapped to the specified IP address.

Configuration mode


service {
    dhcp-server {
        static-mapping mapname {
        mac-address mac
        }	
    }
}

Use this command to specify the MAC address of a DHCP client to which an IP address is assigned.

Use the set form of this command to specify the MAC address of the DHCP client to which an IP address is assigned.

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.