Skip to content

[How To] Disable IPV6 on RHEL/CentOS

September 12, 2014

[How To] Disable IPV6 on RHEL/CentOS

To Disable IPV6 on CentOS you need to edit below two files

/etc/modprobe.conf
/etc/sysconfig/network

Follow below steps :

Step-1 Edit file /etc/modprobe.conf and below lines

install ipv6 /bin/true

Save and close the file.

Step-2 Edit file /etc/sysconfig/network and update the below lines

NETWORKING_IPV6=no
IPV6INIT=no

Step-3 Reboot your machine and verify with below command

lsmod | grep ipv6

Advertisements

From → Linux

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: