ソフトウェア/linux/メモ の変更点

更新


[[公開メモ]]

#contents

* 一時的に IPv6 を禁止する [#rc0f5cc5]

http://l-w-i.net/t/ubuntu/ipv6_001.txt

 LANG:console
$ ip a
 $ ip a
  ...
  3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
      link/ether 00:0a:35:00:01:22 brd ff:ff:ff:ff:ff:ff
      inet 192.168.42.79/24 brd 192.168.42.255 scope global eth0
         valid_lft forever preferred_lft forever
      inet6 fe80::20a:35ff:fe00:122/64 scope link
         valid_lft forever preferred_lft forever
  ...
 $ sudo sysctl net.ipv6.conf.all.disable_ipv6=1 net.ipv6.conf.default.disable_ipv6=1
  net.ipv6.conf.all.disable_ipv6 = 1
  net.ipv6.conf.default.disable_ipv6 = 1
 $ ip a
  ...
  3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
      link/ether 00:0a:35:00:01:22 brd ff:ff:ff:ff:ff:ff
      inet 192.168.42.79/24 brd 192.168.42.255 scope global eth0
         valid_lft forever preferred_lft forever
  ...

Counter: 946 (from 2010/06/03), today: 2, yesterday: 0