dhcpcd-discuss

Re: Removing Vendor Class and from DHCP Solicit messages

Roy Marples

Thu Sep 19 20:06:21 2019

Hi Carlos

On 19/09/2019 15:06, Carlos Ferreira wrote:
I'm having some issues while using dhcpcd. Since my ISP is very picky,
it seems that the Vendor Class (option 16) and other options inserted
into the DHCP Solicit messages is causing some issues.
Also, it seems that dhcpcd sends some extra options
  - 82 -> SOL_MAX_RT
  - 83 -> INF_MAX_RT
  - 20 -> Reconfigure Accept

So, my question is, how can I prevent dhcpcd from sending these options?

In the current versions you need to re-define the option to stop the automatic request.

So put this in dhcpcd.conf, near the top:
define6 82      uint32          sol_max_rt
define6 83      uint32          inf_max_rt

But that's a bit cumbersome, so I've made this commit:
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=793289f66fa6f4f6d1462fad249d1cc3ae90faf2

So you can now do this:
nooption dhcp6_sol_max_rt, dhcp6_inf_max_rt

For not sending the reconf accept option, you would need to re-compile without the AUTH option or ..... take these two commits:
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=d5700a48edf7006369f766d225e70bbca3d8055c
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=ad5ede468447d15f573a5e0f99f819562f808998

Which allow this
nooption dhcp6_reconfigure_accept

Roy

References:
Removing Vendor Class and from DHCP Solicit messagesCarlos Ferreira
Archive administrator: postmaster@marples.name