This is a short HOWTO on disabling IP version 6 support on your ethernet devices like eth0 on Ubuntu 11.10.
I guess you can do this on earlier version of Ubuntu as well.
net.ipv6.conf.all.disable_ipv6 = 1
Run the following command to make this change effective immediately
# sudo sysctl -p
A result from this command could be like this
net.ipv6.conf.all.disable_ipv6 = 1
To check that IPv6 has been disabled or not, run the following command from your console window
# ip a | grep inet
IPv6 has been disabled if this command does not return any IPv6 addresses.
Tags: 11.10, howto, ipv6, sysct, sysctl.conf, Ubuntu, ubuntu oneiric
Posted by Hans-Henry Jakobsen