dhcpcd-discuss

Re: special options in dhcpcd

Roy Marples

Tue May 01 07:49:38 2018


On 30/04/2018 22:07, Stephane Guedon wrote:
So I have improved the request. In wireshark, I can see my dhcp6 request looks almost the same as the one I have as reference (provided by my ISP as a pcap file). I actually have exactly the same "Option Request" !

I still get "unknown type: binflags" when launching the command.

Sounds like your dhcpcd is too old.
Works fine here using dhcpcd-7.0.3

Could I get rid of the vendor info in the request ? I don't have it in the reference.

nooption dhcp6_vivco

And could I actually set dhcpcd to send the DUID-LL instead of the DUID-LLT ?

Currently not by default.
However, you can edit the duid file (default /var/db/dhcpcd/duid *) and put your down duid in there.

(Yes, I know, I am quite boring but apparently the ISP's routers only let pass exactly the dhcp requests that match those they know.)

Something else (more bothering than bug) : I need to list one by one each dhcp6 option in the conf' :

option dhcp6_sip_servers_names
option dhcp6_sip_servers_addresses
option dhcp6_name_servers
option dhcp6_domain_search

It would be a serious improvement to be able to list them (coma separated list for ex...)

Again, this works fine for me.
You didn't say what dhcpcd version you're using, so I suggest using dhcpcd-7.0.3 and trying that.

Roy

* Upgrading from dhcpcd-6 to dhcpcd-7 changes a few default file locations around. The duid might change and when dhcpcd-7 runs for the first time a new one could be generated.
References:
special options in dhcpcdstephane
Re: special options in dhcpcdRoy Marples
Re: special options in dhcpcdStephane Guedon
Re: special options in dhcpcdStephane Guedon
Archive administrator: postmaster@marples.name