kernel 3.2 / 2.6.42 disable ipv6

Rich Boyce rich at ebi.ac.uk
Wed Feb 8 09:28:03 UTC 2012


Hi,

On 07/02/12 21:43, Reindl Harald wrote:
> why is this ignored in the latest kernels?

I don't know, but...

> i do not like to see any ipv6-configuration/IP as long the WAN
> is ipv4 only and this may be a long time

... this is how I do it (Fedora 16):

sysctl -w net.ipv6.conf.all.disable_ipv6=1
echo "net.ipv6.conf.all.disable_ipv6=1" >> /etc/sysctl.conf

The first command disables it immediately, the second after a reboot.

HTH,
Rich


More information about the users mailing list