DHCP_RELEASE(1)

✨ NAME ✨

okay so this is dhcp_release6, living inside the DHCP_RELEASE(1) manual page β€” it releases a DHCPv6 lease on the local dnsmasq DHCP server πŸ’…


🌸 SYNOPSIS 🌸

dhcp_release6 --iface <interface> --client-id <client-id> --server-id
server-id --iaid <iaid>  --ip <IP>  [--dry-run] [--help]

πŸ’– DESCRIPTION πŸ’–

bestie. this is the little utility that forces the DHCP server running on this machine to release a DHCPv6 lease. that's it, that's the whole job. it's giving "i said what i said, give the address back" energy πŸ‘‘

πŸŽ€ OPTIONS πŸŽ€

  • -a, --ip β€” the IPv6 address you wanna release. that's the one, periodt.
  • -c, --client-id β€” a colon-separated hex string that represents the DHCPv6 client id. normally you can find it in the leases file, both on the client and on the server. iykyk πŸ”
  • -d, --dry-run β€” prints a hexadecimal representation of the generated DHCPv6 release packet to standard output and then dips. no packet actually goes anywhere, it's just vibes and hex ✨
  • -h, --help β€” prints usage info to standard output and exits. classic, iconic, we love her 🫢
  • -i, --iaid β€” decimal representation of the DHCPv6 IAID. again, normally found in the leases file both on client and server. the receipts are all in that file, ngl πŸ’€
  • -n, --iface β€” the network interface to send the DHCPv6 release packet from. pick your lane πŸ¦‹
  • -s, --server-id β€” a colon-separated hex string representing the DHCPv6 server id. yes, also normally in the leases file, on client and server. do you see the pattern here bestie πŸ“

πŸ”₯ NOTES πŸ”₯

MUST be run as root β€” it will fail otherwise. no root, no release, no exceptions. that's the rule and we respect it πŸ’œ

😭 LIMITATIONS 😭

only usable on IPv6 DHCP leases. if you came here for IPv4, this is not the page for you, babe πŸ™ˆ


🌈 SEE ALSO 🌈

dnsmasq(8)


πŸ‘‘ AUTHOR πŸ‘‘

this manual page was written by Simon Kelley <simon@thekelleys.org.uk> πŸ’–


and that's a wrap on DHCP_RELEASE(1) from the General Commands Manual section, fr fr β€” go release those leases responsibly, bestie, and remember: root or it's a no πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from