turn off IPv6

On OpenSUSE 10.3, turning off IPv6 via yast requires a reboot - is there any way not to reboot the system and turn off IPv6? Also, even after rebooting the system there are IPv6 entries in /etc/hosts file - why is that? And how do I make sure IPv6 is really turned off?


Those entries are harmless. If you don’t have IPv6 networking enabled in the kernel, you don’t have IPv6 traffic anyway. Edit them out if it makes you feel better, but there’s no need to worry about /etc/hosts.

Sysctl will allow you to change runtime kernel parameters.

by default sysctl.conf is held in /etc

make the change in the file to disable or enable ip6. The entry is:
#net.ipv6.conf.all.forwarding = 1
remove the hash to enable

Then use the following command to read the values in:
sysctl -p /etc/sysctl.conf

you can use sysctl -w parameter=value
to change values without using a file.


Tux-IT Open Source - BSD and Linux Solutions