Re: Configuring a monitoring only interface with dhcpcd
Roy Marples
Tue Dec 12 13:44:15 2017
On 10/12/17 19:01, Roy Marples wrote:
On 04/12/2017 15:57, Roy Marples wrote:
On 04/12/2017 09:57, Roger James wrote:
Thank you for the quick response. I was hoping the noipv6 option
would do the kernel parameters stuff for me. It would seem reasonable
that telling dhcpcd that I do not want ipv6 on an interface should be
interpreted that all the necessary actions to fully disable it should
be taken, including setting kernel parameters.
Then we would need another knob to say "don't do IPv6 and disable
kernel parameters" as the current knob just turns off IPv6 in dhcpcd.
I had not read the man page closely enough.
" noipv6 Don't attmept to configure an IPv6 address." sic.
I was interpreting noipv6 as "disable ipv6 on this interface
completely". I still think it is confusing that if you tell dhcpcd
that you do not want ipv6 addresses, that you still end up with ones
configured by the kernel.
Oddly enough I was just bitten by this myself, so I may reconsider my
stance on this. Need to thing it through some more.
I feel that if this change is needed, it should go in before 7.0 as it's
a change in default behaviour and not a bug as such.
I've made the change in b48d4bdd2bef865c566ef645db26087737269b13 so that
if the interface is activated by the user for dhcpcd (by default they
all are) then RA is disabled.
Roy
Archive administrator: postmaster@marples.name