Disable IPv6 on CentOS 6 / RHEL 6

ADVERTISEMENT

CentOS 6 Logo

This is the Mini How to on disabling IPV6 networking on CentOS 6 / RHEL 6, in this you need to edit the two following files.

ADVERTISEMENT
Article will continue after the ad

/etc/modprobe.d/modprobe.conf – Module file

/etc/sysconfig/network-scripts/ifcfg-eth0 –  Network Configuration file.

Run the following in the command to insert the IPv6 modules.

echo install ipv6 /bin/true >> /etc/modprobe.d/modprobe.conf

Edit the network configuration file to disable the IPv6.

 vi /etc/sysconfig/network-scripts/ifcfg-eth0

Add the following entry.

NETWORKING_IPV6=no
IPV6INIT=no

Simply reboot the system

reboot

That’s All.

ADVERTISEMENT

POSTS YOU MAY LIKE -:)

Share This Post

Shares