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 shared-network-name <name> subnet <ipv4net> ping-check

Pings the IP address of the shared network subnet to confirm if the address is not configured on another node. Ping-check is valid only for IPv4.

set service dhcp-server shared-network-namename subnet ipv4net ping-check
delete service dhcp-server shared-network-namename subnet ipv4net ping-check
show service dhcp-server shared-network-namename subnet ipv4net ping-check
name
Mandatory. A DHCP address pool.

You can define multiple address pools by creating multiple shared-network-name configuration nodes, each with a different name.

ipv4net
Mandatory. Multinode. The IPv4 network to be served with the addresses defined in the specified address pool. The format of the network designation is ip-addr/prefix.

Configuration mode


service {
   dhcp-server {
       shared-network-name name {
          subnet ipv4net {
             ping-check {
                 
             }
          }
       }
   }
}

Use this command to ping the IP address of the shared network subnet to confirm if the address is not configured on another node. Ping-check is valid only for IPv4.

Use the set form of this command to specify the IPv4 subnet for ping-check.

Use the delete form of this command to remove the IPv4 subnet for ping-check.

Use the show form of this command to view the IPv4 subnet for ping-check.

The following example shows how to use the ping-check option for a shared network called foo and the IPv4 subnet address of 12.1.1.0/24. This option generates an ICMP echo request before offering an address to the client.
vyatta@vyatta# set service dhcp-server shared-network-name foo subnet 12.1.1.0/24 ping-check