Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
How to disable IPV6 on centos 6.x
Logo
Print this page

How to disable IPV6 on centos 6.x

The following procedure worked for me.

1. Add the following lines in the files listed below:

% vi /etc/modprobe.d/modprobe.conf

options ipv6 disable=1
alias net-pf-10 off
alias ipv6 off
install ipv6 /bin/true

% vi /etc/sysconfig/network

NETWORKING_IPV6=no
IPV6INIT=no


% vi /etc/sysconfig/network-scripts/ifcfg-ethx (x=0, 1, 2 …)

IPV6INIT=no



2. Disable ip6tables service

chkconfig ip6tables off



3. Reboot your system

init 6 or reboot

---

There is a step 4 at the website which mentions to rmmod ivp6, but I didn't need to do that.


Referenced:
http://mikent.wordpress.com/2012/02/04/how-to-disable-ipv6-on-redhat-6-x/

Last modified onSunday, 14 October 2012 04:07

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169

Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Template Design © Joomla Templates | GavickPro. All rights reserved.