# netstat -nr -A inet6
Kernel IPv6 routing table
Destination Next Hop Flags Metric Ref Use Iface
2000:ffff:0:3::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 eth0
::1/128 :: U 0 0 1 lo
2000:ffff::1/128 :: U 0 29 1 lo
fe80::250:56ff:fe89:140c/128 :: U 0 0 1 lo
ff00::/8 :: U 256 0 0 eth0
ping疎通確認は「ping6」コマンドを使用します。
# ping6 2000:ffff::1
PING 2000:ffff::1(2000:ffff::1) 56 data bytes
64 bytes from 2000:ffff::1: icmp_seq=0 ttl=64 time=0.034 ms
64 bytes from 2000:ffff::1: icmp_seq=1 ttl=64 time=0.043 ms
64 bytes from 2000:ffff::1: icmp_seq=2 ttl=64 time=0.045 ms
--- 2000:ffff::1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.034/0.040/0.045/0.008 ms, pipe 2
IPv6スタティックルート設定
IPv6スタティックルートは以下のように設定します。
# route add -A inet6 2000:ffff::0/64 gw 2000:ffff::10
コメント