Disable IPv6 Features

31 May 2007 NOTE: If there is a real problem which is solved by disabling IPv6, then that is not normal — that means there is a bug either in Fedora or (more likely these days) a problem with the local network (or nameservers) which should be reported and fixed. If there’s a real problem you should report the problem in Redhat bugzilla or to your ISP/network admin.
FC6 has the most IPv6 support than in previous releases. Most likely you do not use IPv6. If you wish to eliminate the slight extra resources consumed by enabling IPv6, then you may do the following steps.
This may speed up your DNS lookup times when using the internet.
Disable IPv6 Networking Support
Edit /etc/sysconfig/network. (A reboot will be required)

[mirandam@charon ~]$ sudo gedit /etc/sysconfig/network

Change:
NETWORKING_IPV6=yes

To:
NETWORKING_IPV6=no
Disable IPv6 Protocol Stack for Kernel
Edit /etc/modprobe.conf.
[mirandam@charon ~]$ sudo gedit /etc/modprobe.conf
Add the following 2 lines: (A reboot will be required)
alias net-pf-10 off
alias ipv6 off
Disable IPv6 Firewall
Stop ipv6 firewall:
[mirandam@charon ~]$ sudo /etc/init.d/ip6tables stop
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: filter                    [  OK  ]
Unloading ip6tables modules:                               [  OK  ]
Turn ipv6 firewall off during future usage:
[mirandam@charon ~]$ sudo /sbin/chkconfig --level 35 ip6tables off
Issue with localhost
In /etc/hosts, the following entry for localhost using IPv6 can be removed:
::1    localhost.localdomain   localhost
If you choose to remove the above IPv6 entry, then you must keep the following IPv4 entry for localhost:
127.0.0.1       localhost.localdomain   localhost
Some applications may have problems with this (Gnome).
Top Resources
<!–

0 Response to "Disable IPv6 Features"

Posting Komentar