DHCP6RELAY(8)
π DHCP6RELAY π
okay bestie, so this is the manual page for dhcp6relay, and it lives in section 8 of the System Manager's Manual (that's the sysadmin-y one, iykyk). it's a DHCPv6 relay agent and honestly? it's giving middleman-but-make-it-iconic. π§
β¨ NAME β¨
dhcp6relay β the DHCPv6 relay agent, periodt π
π¦ SYNOPSIS π¦
dhcp6relay [-Ddf] [-b boundaddr] [-H hoplim] [-r relay-IF]
[-s serveraddr] [-S script-file] [-p pid-file] interface ...
πΈ DESCRIPTION πΈ
so basically, dhcp6relay is the lil go-between that delivers DHCPv6 messages back and forth between clients and servers. it sits on the same link as a client β like, it's literally in the same neighborhood, no cap. ποΈ
and it needs those command line arguments, bestie: interface ... β that's the list of links that are accommodating clients. plural. the ... is not decorative, it's a vibe check on your argument count. π
Options supported by dhcp6relay are (and yes, we're going through every single one, because we don't skip π«Ά):
-dβ prints debugging messages. lil baby debug mode. π-Dβ even more debugging information gets printed. it's the-dof-d. not me turning the volume all the way up. π’-fβ foreground mode (super useful when you're debugging, fr fr). normallydhcp6relaysends its warning / debugging / error messages off tosyslog(8), but if you specify this option it prints them to standard error instead. so you actually get to see the drama live. π-bboundaddrβ specifies the source address to relay packets to servers (or other agents). it's the "who am I sending this as" address. π-Hhoplimβ specifies the hop limit of DHCPv6 Solicit messages that get forwarded to servers. yes, hop limit, like a TTL but make it Solicit. π-rrelay-IFβ specifies the interface on which messages to servers are sent. if you omit it, the same interface asinterfacegets used. but β and this is the important part β when multipleinterfacevalues are specified, you cannot omit this option. pick an interface, bestie, the program is not gonna guess for you. π«-sserveraddrβ specifies the DHCPv6 server address to relay packets to. if you don't specify it, packets get relayed toff05::1:3(that's All DHCPv6 servers, iconic multicast address energy π).-Sscript-fileβ specifies the script file to be executed whendhcp6relayreceives a RELAY-REPLY message from a DHCPv6 server. further detail on the script file syntax lives over indhcp6c(8), so go peek there for the deets. π-ppid-fileβ usepid-fileto dump the process ID ofdhcp6relay. little ID card for your process. πͺͺ
π FILES π
/var/run/dhcp6relay.pidβ this is the default file that contains the pid of the currently runningdhcp6relay. it's the home address of your process ID, lowkey. π
β SEE ALSO β
dhcp6c(8)dhcp6s(8)- Ralph Droms, Editor, Dynamic Host Configuration Protocol for IPv6 (DHCPv6), RFC 3315, 2003.
π HISTORY π
the dhcp6relay command first appeared in the WIDE/KAME IPv6 protocol stack kit. vintage. iconic. elder statesman of relays. π
okay that's the whole page, bestie β and before you go, a lil sign-off π«Ά: this one's from the KAME era of things, dated Apr 18, 2000 (yes, it's old enough to have main character energy and a 401k). go forth and relay responsibly. β¨πΈπ
π¦ where this page comes from
- debian bookworm: wide-dhcpv6-relay 20080615-23 Β· BSD-3-Clause
- debian trixie: wide-dhcpv6-relay 20080615-24 Β· BSD-3-Clause
- epel 10: wide-dhcpv6 20080615-23.3.el10_1.7 Β· LicenseRef-Callaway-BSD AND GPL-2.0-or-later
- epel 9: wide-dhcpv6 20080615-23.3.el9 Β· BSD and GPLv2+
- fedora 43: wide-dhcpv6 20080615-23.3.fc43.8 Β· LicenseRef-Callaway-BSD AND GPL-2.0-or-later
- fedora 44: wide-dhcpv6 20080615-23.3.fc44.9 Β· LicenseRef-Callaway-BSD AND GPL-2.0-or-later
- ubuntu jammy: wide-dhcpv6-relay 20080615-23build1 Β· BSD-3-Clause
- ubuntu noble: wide-dhcpv6-relay 20080615-23build1 Β· BSD-3-Clause
- ubuntu questing: wide-dhcpv6-relay 20080615-24
- ubuntu resolute: wide-dhcpv6-relay 20080615-24build1 Β· BSD-3-Clause
- ubuntu stonking: wide-dhcpv6-relay 20080615-24ubuntu1 Β· BSD-3-Clause
- Copyright (C) 2000 WIDE Project
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms