dhcp_release61
Release a dhcpv6 lease on a the local dnsmasq dhcp server.
Usage
dhcp_release6 --iface
<interface>
--client-id
<client-id>
--server-id
server-id
--iaid
<iaid>
--ip
<IP>
[--dry-run]
[--help]
Overview
A utility which forces the DHCP server running on this machine to release a DHCPv6 lease.
Options
-
-a, --ip -
IPv6 address to release.
-
-c, --client-id -
Colon-separated hex string representing DHCPv6 client id. Normally it can be found in leases file both on client and server.
-
-d, --dry-run -
Print hexadecimal representation of generated DHCPv6 release packet to standard output and exit.
-
-h, --help -
print usage information to standard output and exit.
-
-i, --iaid -
Decimal representation of DHCPv6 IAID. Normally it can be found in leases file both on client and server.
-
-n, --iface -
Network interface to send a DHCPv6 release packet from.
-
-s, --server-id -
Colon-separated hex string representing DHCPv6 server id. Normally it can be found in leases file both on client and server.
Notes
MUST be run as root - will fail otherwise.
Limitations
Only usable on IPv6 DHCP leases.
Releases
Unchanged in 6 releases since Debian 9 (Stretch).