Turning off ipv6

Timothy Murphy gayleard at eircom.net
Wed Feb 10 14:10:25 UTC 2010


Patrick O'Callaghan wrote:

>> 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

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

As a matter of interest,
why do you prefer this to modifying ifcfg-eth?
in /etc/sysconfig/network-scripts/ ,
which was suggested earlier?

Do both work, I wonder?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland



More information about the users mailing list