Turning off ipv6

Tom H tomh0665 at gmail.com
Wed Feb 10 16:49:21 UTC 2010


>> To disable ipv6 on F12 on the next reboot just add the line
>> net.ipv6.conf.all.disable_ipv6 = 1
>> to your /etc/sysctl.conf file.

>> To disable it right away issue the command
>> sysctl -w net.ipv6.conf.all.disable_ipv6=1

>> To disable ipv6 on just one interface (for example eth0) issue the
>> command
>> sysctl -w net.ipv6.conf.eth0.disable_ipv6=1
>> or enter the line
>> net.ipv6.conf.eth0.disable_ipv6 = 1
>> in your /etc/sysctl.conf file for the next reboot

> Thank you. That looks like the Right Way (tm) to do it.

I prefer the sysctl.conf method too but the modprobe.d one works just as well.


More information about the users mailing list