Linux

Disabale ipv6

장성한군사 2017. 2. 13. 20:40

CentOS 6.8


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

#echo "net.ipv6.conf.default.disable_ipv6=1" >> /etc/sysctl.conf

#echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf

#service network restart