2018/6/1更新 対応バージョン: 9.10~18.04 UbuntuでIPv6を無効にするには/etc/sysctl.confに以下の行を追加し、sysctlコマンドで反映させるかOSを再起動する。 尚、この設定はNetworkManagerを使用しているかどうかに関係なく同じ方法である。 設定 (Ubuntu 11.10~18.04) net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 (Ubuntu 9.10~11.04) net.ipv6.conf.all.disable_ipv6 = 1 反映 % sudo sysctl -p 反映後、ip aコマンド(以前はifconfig)を実行して「inet6」行が表示されなければIPv6は無効になっている。 % ip a 1: lo: <L
![[Ubuntu] IPv6を無効にする方法(Ubuntu 9.10~18.04) - Life with IT](https://cdn-ak-scissors.b.st-hatena.com/image/square/63c67004f340a9cfebe1346d512a10a786385cbc/height=288;version=1;width=512/https%3A%2F%2Fl-w-i.net%2Fimg%2Flogo_256.png)