disable ipv6 on redhat

From thelinuxwiki
Revision as of 22:49, 29 April 2017 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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