DHCP6S(8)
π NAME π
okay so dhcp6s is literally the DHCPv6 server β that's it, that's the name, and honestly? iconic. it's from the System Manager's Manual bestie, section 8, and it's here to hand out addresses and vibes. π¦
β¨ SYNOPSIS β¨
dhcp6s [-c configfile] [-Ddf] [-k ctlkeyfile] [-p ctlport] [-P pid-file]
interface
πΈ DESCRIPTION πΈ
so the whole thing with dhcp6s is that it replies to DHCPv6 clients as a DHCPv6 server. it's giving main character energy in your network, no cap. π
and bestie, the way it can hand out ALL of this to clients:
- IPv6 prefixes for the requesting site
- Non-temporary IPv6 addresses
- A list of the DNS server addresses
- DNS Domain Search List
- A list of the NTP server addresses
- A list of the SIP server addresses
- SIP Server domain name
- A list of the NIS server addresses
- NIS domain name
- A list of the NIS+ server addresses
- NIS+ domain name
- A list of the BCMCS server addresses
- BCMCS Server domain name
like. that's a whole menu. it ate and left no crumbs. π
π command line options π
the command line options are as below β read them, bestie, they're all useful:
-cconfigfile β use configfile as the configuration file. yes, that's the one you point at. π-dβ print debugging messages. little baby debug mode. π-Dβ Even more debugging information is printed. like, MORE. double debug. debugging squared. π-fβ Foreground mode (useful when debugging). so here's the tea:dhcp6susually prints warning, debugging, or error messages tosyslog(8), but if you pass this option it prints the messages to standard error instead. much easier to watch, fr fr. π-kctlkeyfile β use ctlkeyfile to store the shared secret to authenticate the communication withdhcp6ctl. if you don't specify one, the default file name is/etc/wide-dhcpv6/dhcp6sctlkey. and here's the why: that default name is intentionally same as that fordhcp6ctlso that the server and the control command can share the file whendhcp6ctlcontrols the server on the same node β which should be the typical case. smart, right? π-pctlport β use ctlport as the port number listening on to communicate withdhcp6ctl. πͺ-Ppid-file β use pid-file to dump the process ID ofdhcp6s. so you know where your baby is at all times. π«Ά
π FILES π
/etc/wide-dhcpv6/dhcp6s.confis the default configuration file./var/lib/dhcpv6/dhcp6s_duidis the default file to store the server's DUID./etc/wide-dhcpv6/dhcp6sctlkeyis the default key file to communicate with the control command. Seedhcp6ctl(8)for the file format./var/run/dhcp6s.pidis the default file that contains pid of the currently runningdhcp6s.
π SEE ALSO π
also, for the academic girlies: Ralph Droms, Editor, Dynamic Host Configuration Protocol for IPv6 (DHCPv6), RFC 3315, 2003. π
π HISTORY π
the dhcp6s command first appeared in WIDE/KAME IPv6 protocol stack kit. a legend from day one, honestly. π
and lowkey a little sad one: the -n dnsserv command-line option was obsoleted by introducing a configuration file. gone but not forgotten. π―οΈ
π BUGS π
okay bestie, deep breaths, because this part is real:
dhcp6s is incomplete and violates DHCPv6 protocol spec, in several aspects.
not me being dramatic β that's literally what it says. to name a few:
- it does not assign temporary IPv6 addresses (nor will).
and the "(nor will)" is doing SO much heavy lifting there. π they're not fixing it. it's a choice. a lifestyle. periodt. π
and that's the whole page, bestie!! π§ this one came from KAME, dated Sep 12, 1999, and it's the DHCP6S(8) manual page. slay, go run your server, i believe in you πβ¨π
π¦ where this page comes from
- debian bookworm: wide-dhcpv6-server 20080615-23 Β· BSD-3-Clause
- debian trixie: wide-dhcpv6-server 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-server 20080615-23build1 Β· BSD-3-Clause
- ubuntu noble: wide-dhcpv6-server 20080615-23build1 Β· BSD-3-Clause
- ubuntu questing: wide-dhcpv6-server 20080615-24
- ubuntu resolute: wide-dhcpv6-server 20080615-24build1 Β· BSD-3-Clause
- ubuntu stonking: wide-dhcpv6-server 20080615-24ubuntu1 Β· BSD-3-Clause
- Copyright (C) 1998 and 1999 WIDE Project
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms