Monday, May 26, 2008

Fedora 9: Disable IPv6 Completely

On previous post, I have covered on how to disable IPv6 on older Fedora versions. Considering major and rapid changes with Fedora rpm packages and installation manner, here again a quick post on how to disable IPv6 completely.

Disabling IPv6 protocol is only recommended if your network is not using IPv6 IP addresses and/or you are not offering any IPb6-based host services. I have heard stories about IPv4-based networks making their network a little bit slower than normal when IPv6 IP address is being enabled from their hosts. If you wish to disable your IPv6, read on.

Fedora 9: Disabling IPv6 Protocol Completely

1. Append the below lines to /etc/modprobe.d/modprobe.conf.dist using your favorite text editor

alias ipv6 no
alias net-pf-10 off

IPV6 slows down the IPV4 environment if the router out the door does not understand IPV6 and for most people IPV6 is not needed.

2. Append the below lines to /etc/sysconfig/network

NETWORKING_IPV6=no

and from the same above file, make sure that you comment out or insert a # (sharp) sign before the word IPV6_DEFAULTGW that would make it look like

#IPV6_DEFAULTGW

3. Edit /etc/hosts and comment out the lines that shows

::1 localhost6.localdomain6 localhost6

to reflect

#::1 localhost6.localdomain6 localhost6

and restart your network service like so

# /sbin/service network restart

4. Save all changes and restart your Fedora box. Welcome to IPv6-less host club.

Enjoy.

Related Articles:
Enabling and Disabling Telnet Services
Additional SSH User Login Restrictions
Fedora First Boots
Administration and Management of Daemon Services

0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy