dhcpcd-discuss

Re: Configuring a monitoring only interface with dhcpcd

Roy Marples

Mon Dec 04 15:55:26 2017

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.

Because this interface is a monitor I still want the link level to be active, I have had problems in the past with pcap not working when ipv6 was disabled at the kernel level. I think I will try it first with just accept_ra turned off.

Have you considered that dhcpcd might not be the best tool for this?
If you only want a link level monitor, try the netplug package:
http://www.serpentine.com/blog/software/netplug/

Of course, if you're using dhcpcd on other interfaces, keep using dhcpcd :)

Roy

Follow-Ups:
Re: Configuring a monitoring only interface with dhcpcdRoy Marples
References:
Configuring a monitoring only interface with dhcpcdroger
Re: Configuring a monitoring only interface with dhcpcdRoy Marples
Re: Configuring a monitoring only interface with dhcpcdRoger James
Archive administrator: postmaster@marples.name