Rpi IPv6 stays enabled despite almost everything

This forum is for discussion about general software issues.

Rpi IPv6 stays enabled despite almost everything

Postby bluenote » Thu Oct 20, 2016 9:08 pm

Hi guys

I'm on a pi, and the only kernel parameter that _did_ work was "ipv6.disable=1" in cmdline.txt .
But, I don't want the ipv6 stack disabled. I just don't want ipv6 addresses assigned to my ethernet at least or ethernet and loopback.
I've tried making the sysctl.d/40-ipv6.conf file with the nic specific lines, no go.

I have commented out the ::1 in hosts, I have added the noipv6rs and noipv6 in dhcpcd.conf
I have also added DHCP=ipv4 and IPV6AcceptRA=false to /etc/systemd/network/eth0.network

The only thing that works is either the full disable on the kernel line, which I do not want,
or if I wait until after bootup and execute 'sysctl net.ipv6.conf.eth0.disable_ipv6=1' manually, that works.
I always get 'gained ipv6LL' in the log on bootup.
Could someone more knowledgeable help me out?

thanks
bluenote
 
Posts: 2
Joined: Fri Sep 18, 2015 10:51 pm

Return to General

Who is online

Users browsing this forum: No registered users and 6 guests