$ ping6 ::
PING ::(::) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.046 ms
64 bytes from ::1: icmp_seq=2 ttl=64 time=0.053 ms
64 bytes from ::1: icmp_seq=3 ttl=64 time=0.058 ms
^C
--- :: ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.046/0.052/0.058/0.007 ms
这些证据足以让我知道我的路由器支持 IPv6 吗?如果不在可能过时的表格上查找路由器品牌、型号和固件,我怎么才能知道呢?
答案1
您可以 ping “所有路由器链路本地地址”(RFC 4291)来发现本地网络上的所有路由器(将 en1 替换为您的连接接口的名称,例如“eth0”或“wlan0”):
$ ping6 -I en1 ff02::2
PING6(56=40+8+8 bytes) fe80::def0:9abc:5678:1234%en1 --> ff02::2
16 bytes from fe80::1234:5678:9abc:def0%en1, icmp_seq=0 hlim=64 time=33.759 ms
^C
--- ff02::2 ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 33.759/33.759/33.759/0.000 ms
答案2
看看http://test-ipv6.com/,我发现它非常有用并且快捷。