Sunday, August 4, 2013

Centos: disable Ipv6

To begin, log in as root and disable IPv6 by typing:
echo "install ipv6 /bin/true" > /etc/modprobe.d/disable-ipv6.conf
Now run the following command to disable ip6tables:
chkconfig ip6tables off
We must now disable any calls to IPv6 in its various locations. To do this we will start by opening the following configuration file:
vi  /etc/sysconfig/network
Scroll down and add or amend the following line to read:
NETWORKING_IPV6=no
To complete this process, you must now modify the configuration for each Ethernet device to show the following values:
IPV6INIT=no
IPV6_AUTOCONF=no

after rebooting, you can tell no IPv6 address listed on the nic card

also lsmod|grep ipv6 returns nothing

No comments:

 
Locations of visitors to this page