linux poison RSS
linux poison Email

How To Disable ipv6 on SuSE Linux

For some strange reason, ipv6 is switched ON by default in SuSE Linux.
To check whether you are currently running ipv6, run the following command as root:

# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:0F:1F:89:8F:D5
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::20f:1fff:fe89:8fd5/64 Scope:Link
          RX packets:33386388 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2947979 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2211978470 (2109.5 Mb)  TX bytes:380978644 (363.3 Mb)
          Base address:0xdf40 Memory:feae0000-feb00000

lo        Link encap:Local Loopback
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:895 errors:0 dropped:0 overruns:0 frame:0
          TX packets:895 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:76527 (74.7 Kb)  TX bytes:76527 (74.7 Kb)

If you have lines containing inet6 as above, then your machine IS running ipv6.

How to disbling ipv6 on SuSE Linux

To disable ipv6 completely, run the following commands as root:
# echo “alias net-pf-10 off” >> /etc/modprobe.conf.local
# echo “alias ipv6 off” >> /etc/modprobe.conf.local
Restart the machine.

Once your machine has rebooted, rerun the ifconfig command and verify that the inet6 lines have been removed. Now, Your machine is running without IPV6.


Unknown said...

Why not disable IPv4 while you are at it?

If your computer is not behaving well because IPv6 is enabled, you need to fix your network.

Anonymous said...

Its a good idea to disable protocols that you are not using. Im sure IPv4 is being used for most people.

Anonymous said...

How is your solution different to the following solution:

echo 'install ipv6 /bin/true' > /etc/modprobe.d/ipv6

The above solution is found at:

Post a Comment

Related Posts with Thumbnails