disable ipv6 on redhat

From thelinuxwiki
Jump to: navigation, search

add the following line to /etc/modprobe.conf

install ipv6 /bin/true

add the following linds to /etc/sysconfig/network

NETWORKING_IPV6=no
IPV6INIT=no

reboot or run

# service network stop
# rmmod ipv6
# service network start