dhcpcd-discuss

Re: Mapping DHCPv4 Options to DHCPv6 Options

Roy Marples

Wed Jul 22 10:26:47 2015

Hi Paul

On 21/07/2015 23:39, Walrath, Paul wrote:
> The dhcpcd.conf man page says the following:
> 
> *option* /option/
> 
> Requests the /option/ from the server. It can be a variable to be used
> in dhcpcd-run-hooks(8)
> <http://roy.marples.name/man/html8/dhcpcd-run-hooks.html> or the
> numerical value. You can specify more /option/s separated by commas,
> spaces or more *option* lines. Prepend dhcp6_ to /option/ to request a
> DHCPv6 option. DHCPv4 options are mapped to DHCPv6 where applicable.
> 
> Has the mapping of DHCPv4 options to DHCPv6 options changed in the last
> few releases?  I seem to remember that “option domain_search” would
> cause both DHCPv4 Option 119 and DHCPv6 Option 24 to be included in
> DHCPv4 Option 55 and DHCPv6 Option 6 respectively.  Also “option fqdn”
> would cause both DHCPv4 Option 81 and DHCPv6 Option 39 to be included. 
> It seems that now I have to specify “option dhcp6_domain_search” and
> “option dhcp6_fqdn” to get these to appear in DHCPv6 Option 6.

It's not changed, but the man page isn't entirely correct either.
I've updated it here:
http://roy.marples.name/projects/dhcpcd/ci/b93ef5cfc8271ac1?sbs=0

Basically the automatic mapping only happens if there is no DHCPv6
option configuration already.

Roy

References:
Mapping DHCPv4 Options to DHCPv6 OptionsWalrath, Paul
Archive administrator: postmaster@marples.name