Re: DHCPv6 Rapid Commit
Nick Williams
Sun Jan 31 15:03:16 2016
> On Jan 31, 2016, at 7:48 AM, Roy Marples <roy@xxxxxxxxxxxx> wrote:
>
> Or you can look at the file dhcpcd-definitions.conf in the dhcpcd source tree to find the full definitions and decoding for every RFC DHCP option I know of, along with a short description and RFC number.
Excellent! That file was VERY helpful. Using that, I was able to figure the following out (if I’m screwing something up, let me know):
We currently send the following options (some of them all the time, some of them just sometimes) with DHCLIENT with DHCPv4:
request subnet-mask
request broadcast-address
requset routers
request domain-name-servers
request domain-name
request interface-mtu
And I BELIEVE those are equivalent to the following DHCPCD options:
option subnet_mask
option broadcast_address
option routers
option domain_name_servers
option domain_search
option interface_mtu
Also, we currently send the following DHCPv6 options with DHCLIENT:
request domain-name-servers
request domain-name
And I BELIEVE those are equivalent to the following DHCPCD options:
dhcp6_option name_servers
dhcp6_option domain_search
I didn’t find dhcp6_options for subnet mask, broadcast address, or routers, but I’m guessing that’s because those aren’t DHCPv6 options, and it’s all automatic, because I don’t see those in dhclient/WIDE/Google, and we aren’t sending them currently with dhclient.
The dhcpcd.conf man page says that the DHCPv6 equivalent of “option” is “dhcp6_option,” but it doesn’t say what the DHCPv6 equivalent of “nooption” is. Is that also just “dhcp6_nooption?”
Finally, we support IPv6 information-only/parameters-only configuration (where only stateless configuration parameters are requested). This is dhclient command-line option “-S” and WIDE client configuration option “information-only.” By name, I couldn’t find any equivalent option in the man pages or in dhcpcd-definitions.conf, and Googling around for about an hour didn’t turn up which DHCPv6 option dhclient/WIDE send when information-only mode is enabled. Does DHCPCD have an equivalent for this? Does specifying the stateless configuration option “ipv6ra_autoconf" do the equivalent?
Thanks!
Nick
Archive administrator: postmaster@marples.name