DHCP6CTL(8)
π DHCP6CTL β bestie edition π
okay so this is dhcp6ctl, and it lives in section 8 of the System Manager's Manual (yes, the system manager's manual, we love a managerial queen π). it's the DHCPv6 client and server control utility β like a little remote control for your DHCPv6 vibes. no cap.
β¨ SYNOPSIS β¨
dhcp6ctl [-C -| -S] [-k keyfile] [-p port] [-s address] command
πΈ DESCRIPTION πΈ
so dhcp6ctl controls the operation of a DHCPv6 process, and that process is either dhcp6c or dhcp6s β a DHCPv6 client or a server, respectively. by default, dhcp6ctl controls a client. but you can also specify the type of the process explicitly with the -C or -S options if you're feeling decisive π
.
dhcp6ctl communicates with the DHCPv6 process over a TCP connection, sending commands authenticated with digital signatures. currently, the only supported authentication algorithm is HMAC-MD5, which uses a shared secret on each end of the connection. it's giving "we both know the password, we're bonded fr fr" π«Ά
command line options are as below:
-Cβ control a DHCPv6 client. this option is exclusive with the-Soption. pick one, bestie, you can't have both π-Sβ control a DHCPv6 server. this option is exclusive with the-Coption. same energy, opposite direction.-kkeyfile β use keyfile to provide the shared secret to communicate with the process. the default file name used when unspecified is/etc/wide-dhcpv6/dhcp6cctlkeywith a client, and/etc/wide-dhcpv6/dhcp6sctlkeywith a server.-pport β specify port as the listening port of the process. the default port number used when unspecified is5546for a client, and5547for a server.-saddress β specify address as the listening address of the process. the default address used when unspecified is::1.
π KEY FILE π
since the operation available with the dhcp6ctl command is powerful (like, main character energy powerful), the communication between the command and dhcp6c or dhcp6s must be authenticated. the supported algorithm for authentication is HMAC-MD5, which requires a shared secret, and the secret is stored in the key file. the key file must consist of a single line, in which the secret value is written in the form of BASE-64 encoding. one line. that's it. don't be extra, don't add line two π
π COMMANDS π
each command specifies a single control operation. supported commands are as follows:
reloadβ this command specifies the process to reload the configuration file. existing bindings, if any, are intact. nothing gets dropped, we're just refreshing β¨removearguments β this command is only applicable to a server. this specifies the server to remove a run-time object specified by arguments from the server. currently, the only possible object is one particularIA_NAorIA_PDbinding, which is specified as'binding IA IA_NA IAID DUID'or'binding IA IA_PD IAID DUID'where IAID is a decimal number specifying the IAID of the IA, and DUID is a DHCP Unique Identifier of the binding. the format of DUID is the same as that specified indhcp6s.conf(5).start interfaceifname β this command is only applicable to a client. it tells the client to release the current configuration information (if any) on the interface ifname and restart the DHCPv6 configuration process on the interface. it's giving glow-up era π₯stop interfaceifname β this command is only applicable to a client. it tells the client to release the current configuration information (if any) on the interface ifname. any timer running for the interface will be stopped, and no more DHCPv6 messages will be sent on the interface. the configuration process can later be restarted by thestartcommand. so it's not a forever goodbye, it's a see-you-later πstopβ this command stops the specified process. if the process is a client, it will release all configuration information (if any) and exits. full shutdown, periodt π
π FILES π
/etc/wide-dhcpv6/dhcp6cctlkeyβ is the default key file to communicate with a client./etc/wide-dhcpv6/dhcp6sctlkeyβ is the default key file to communicate with a server.
π SEE ALSO π
go read those too, they're part of the lore, iykyk π¦
π HISTORY π
the dhcp6ctl command first appeared in the WIDE/KAME IPv6 protocol stack kit. a legend from day one, honestly π
and that's the whole page, bestie!! this one comes to you courtesy of KAME, dated September 7, 2004 β so yes, she's an elder icon and she still ate π πβ¨
π¦ where this page comes from
- debian bookworm: wide-dhcpv6-client 20080615-23 Β· BSD-3-Clause
- debian trixie: wide-dhcpv6-client 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-client 20080615-23build1 Β· BSD-3-Clause
- ubuntu noble: wide-dhcpv6-client 20080615-23build1 Β· BSD-3-Clause
- ubuntu questing: wide-dhcpv6-client 20080615-24
- ubuntu resolute: wide-dhcpv6-client 20080615-24build1 Β· BSD-3-Clause
- ubuntu stonking: wide-dhcpv6-client 20080615-24ubuntu1 Β· BSD-3-Clause
- Copyright (C) 2004 WIDE Project
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms