[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: net.ipv6.conf.all.accept_ra=0 net.ipv6.conf.default.accept_ra=0 not working?!



On 2026-01-11 10:57, Reinder wrote:

At the moment I am thinking maybe ifup is still doing something? Though there is no inet6 configuration in /etc/network/interfaces:

It seems to be indeed an ifupdown issue, forcing a static ipv6 in /etc/network/interfaces works, see below.
Problem is I did not want to do this. Will debug some more.

Setting the below in my /etc/network/interfaces

iface ens18 inet6 dhcp
        autoconf 0
        accept_ra 0

and then disabling ipv6 in /etc/dhcpcd.conf
## only ipv4
ipv4only
ipv6ra_noautoconf
nodhcp6
noipv6
noipv6rs
noipv4ll

Gets me where I want to be. Still unnecessary/unwanted steps in my opinion but workable for me.

Thanks for thinking with me on this.


Reply to: