5/07/2010

disabled ipv6 ubuntu 10.04

關掉ubuntu ipv6加速網路速度

先確認是否已經disabled ipv6

cat /proc/sys/net/ipv6/conf/all/disable_ipv6
# 1 -> disabled 0 -> enabled

編輯 sudo vim /etc/sysctl.conf

#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

No comments:

Post a Comment