First, enter IP-6 ADDR show and lsmod | grep IPv6 on the terminal to check whether the IPv6 module is installed orNetstat-nuptlCheck whether there is an IPv6 address. If yes, it indicates that the IPv6 protocol is not disabled. follow these steps:
VI/etc/modprobe. d/disable-ipv6.conf (name casually)(The/etc/modprobe. conf file is missing after rhel6.0)
Input: Install IPv6/bin/true
[Root @ manager ~] # Cd/etc/modprobe. d/
[Root @ manager modprobe. d] # Cat versions 6.conf
Install IPv6/bin/true
Ii. VI/etc/sysconfig/Network
Add the following sentence at the end: ipv6init = No
[Root @ manager ~] # Cat/etc/sysconfig/Network
Networking = Yes
Ipv6init = No
3. Disable Ipv6 iptables
Chkconfig ip6tables off
4. Restart.
Finally, enter the first two commands on the terminal to verify whether the IPv6 protocol is successfully disabled. At this time, there should be no content.