How to turn off IPV6

Antonio Augusto (Mancha) mkhaos7 at
Mon May 11 14:41:26 UTC 2009

On Mon, May 11, 2009 at 10:42, Derek Broughton <derek at> wrote:
> Antonio Augusto (Mancha) wrote:
>> On Sun, May 10, 2009 at 03:48, Jonas Norlander <jonorland at>
>> wrote:
>>> It should be possible to add "net.ipv6.conf.all.disable_ipv6=1" to
>>> your /etc/sysctl.conf so it will be enabled at boot.
>>> I have _not_ tested it and I'm running Intrepid.
>> This won't work on Jaunty (at least not on the version I tested), I've
>> filled a bug about it, which is still open:
> Unless that's not the correct key, it should work - I certainly have
> sysctl.conf settings working at every boot.


Just tested it on a stock kernel (2.6.28-11#42) and I cannot disable
Ipv6 at all. Nor running sysctl, nor putting it on /etc/sysctl.conf,
not echoing 1 to /proc/sys/net/ipv6/conf/all/disable_ipv6.

Can you confirm this is working for you? If you run "ifconfig | grep
inet6" you get nothing?
Which kernel are you running? Can you try removing the sysctl line
from your machine and see if this brings ipv6 back to you? (to make
sure its not being disabled by other things).


More information about the kubuntu-users mailing list