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.
- 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.
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