dhcpcd-discuss

Re: DHCPv6 Rapid Commit

Nick Williams

Mon Feb 01 00:32:58 2016

> On Jan 31, 2016, at 4:04 PM, Roy Marples <roy@xxxxxxxxxxxx> wrote:
> 
> On 2016-01-31 20:47, Nick Williams wrote:
>>> from dhcpcd(8)
>>>    --inform6
>>>            Performs a DHCPv6 Information Request.  No address is requested
>>>            or specified, but all other DHCPv6 options are allowed.  This is
>>>            normally performed automatically when the IPv6 Router Advertises
>>>            that the client should perform this operation.  This option is
>>>            only needed when dhcpcd is not processing IPv6RA messages and the
>>>            need for DHCPv6 Information Request exists.
>> Interesting. So it’s a command-line-only option; no config file
>> option. I wonder if we (VyOS) even need to still support this. I’ll
>> ask on the VyOS list what was intended by params-only. I just realized
>> there’s no VyOS config option for auto-configuration, so maybe this
>> was a poorly-named config option meant to enable that.
> 
> No, you can use it in dhcpcd.conf as well.
> Pretty much all dhcpcd commandline options can be used in dhcpcd.conf, and vice versa.
> 
> I've often considered trimming dhcpcd man page aside from command line only options and showing how an option in dhcpcd.conf can be used on the command line.

Gotchya. It just wasn’t in the dhcpcd.conf documentation. Understood.

Interestingly, it’s not in either documentation page on the website: http://roy.marples.name/man/html8/dhcpcd.html <http://roy.marples.name/man/html8/dhcpcd.html>, http://roy.marples.name/man/html5/dhcpcd.conf.html <http://roy.marples.name/man/html5/dhcpcd.conf.html>.

The closest thing I could find about “inform6” using Google is this page [1] about run hooks, but it appears to be something different:

> INFORM | INFORM6
>                    dhcpcd informed a DHCP server about it's address and
>                    obtained other configuration details.

Additionally, could you clarify this from your earlier email:

> However, if you specify ANY dhcp6_ option then you need to specify ALL dhcp6_ options you want, otherwise dhcpcd will request matching dhcp6_ option from the dhcp4 counterparts.


I don’t quite follow this. Are you saying that if I specify "dhcp6_option name_servers” but don’t specify "option domain_name_servers” then DHPCD will automatically add "option domain_name_servers” to my IPv4 config? It almost reads like one of the “dhcp6_options” in your sentence shouldn’t have been “dhcp6_,” but probably I am just reading it incorrectly.

Thanks,

Nick

[1] http://roy.marples.name/man/html8/dhcpcd-run-hooks.html <http://roy.marples.name/man/html8/dhcpcd-run-hooks.html>


Follow-Ups:
Re: DHCPv6 Rapid CommitRoy Marples
References:
Re: DHCPv6 Rapid CommitNick Williams
Re: Re: DHCPv6 Rapid CommitRoy Marples
Re: DHCPv6 Rapid CommitNick Williams
Re: DHCPv6 Rapid CommitRoy Marples
Re: DHCPv6 Rapid CommitNick Williams
Re: DHCPv6 Rapid CommitRoy Marples
Archive administrator: postmaster@marples.name