禁用 IPv6

sudo networksetup -setv6off Wi-Fi
sudo networksetup -setv6off Ethernet

启用 IPv6

sudo networksetup -setv6automatic Ethernet
sudo networksetup -setv6automatic Wi-Fi

标签: none

添加新评论

icon_mrgreen.gificon_neutral.gificon_twisted.gificon_arrow.gificon_eek.gificon_smile.gificon_confused.gificon_cool.gificon_evil.gificon_biggrin.gificon_idea.gificon_redface.gificon_razz.gificon_rolleyes.gificon_wink.gificon_cry.gificon_surprised.gificon_lol.gificon_mad.gificon_sad.gificon_exclaim.gificon_question.gif