Fedora – Disable IPv6

I got a Fedora VM and it hangs whenever i start the firefox or use the yum command. In addition, it cannot ping my host machine and i want to disable the IPv6 as i was in bad mood. (Again, the IPv6 is not related to the Fedora problem.)

OS: Fedora 8

1. Edit the /etc/modprobe.conf
2. Add the following 2 lines

  • alias net-pf-10 off
  • alias ipv6 off

3. Edit the /etc/sysconfig/network and add

  • NETWORKING_IPV6=no

4. Stop the ip6tables firewall and disable it on startup

  • /sbin/service ip6tables stop
  • /sbin/chkconfig ip6tables off

5. Restart the Fedora
6. You will no longer see the IPv6 info in ifconfig

Done. =)

Reference:

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.