As part of deploying and testing DHCP infrastructure, utilities like
dhcping which can simulate a DHCP handshake are very handy to have. Unfortunately,
dhcping is IPv4 (DHCP)-only, with no equivalent tool for IPv6/DHCPv6 in sight. Does anybody know if something like that exists?
I tried using
dhclient -6's “no-op” (
-n) and “one try” (
-1) modes, but they don't seem to work as advertised. Even when specifying
dhclient removes existing IPv6 addresses from the network interface I'm using for the test. In addition to this,
dhclient always fails in my environment, even though a
tcpdump on the same network device shows the DHCPv6 server responding with an advertisement containing the correct (expected) address.