- 论坛徽章:
- 0
|
服务器的IPv6地址不知道怎么突然连不上了。
郁闷ing。。。。。。
状况:
对tunnel device(gif0) ping可以看到对方的tunnel device
- * [root@monster ~]# /sbin/ping6 -c 4 -I gif0 ff02::1
- PING6(56=40+8+8 bytes) fe80::213:d3ff:fe3e:ee10%gif0 --> ff02::1
- 16 bytes from fe80::213:d3ff:fe3e:ee10%gif0, icmp_seq=0 hlim=64 time=0.204 ms
- 16 bytes from fe80::20c:76ff:fe08:5061%gif0, icmp_seq=0 hlim=64 time=14.751 ms(DUP!)
- 16 bytes from fe80::213:d3ff:fe3e:ee10%gif0, icmp_seq=1 hlim=64 time=0.096 ms
- 16 bytes from fe80::20c:76ff:fe08:5061%gif0, icmp_seq=1 hlim=64 time=14.653 ms(DUP!)
- 16 bytes from fe80::213:d3ff:fe3e:ee10%gif0, icmp_seq=2 hlim=64 time=0.097 ms
- 16 bytes from fe80::20c:76ff:fe08:5061%gif0, icmp_seq=2 hlim=64 time=14.990 ms(DUP!)
- 16 bytes from fe80::213:d3ff:fe3e:ee10%gif0, icmp_seq=3 hlim=64 time=0.098 ms
- --- ff02::1 ping6 statistics ---
- 4 packets transmitted, 4 packets received, +3 duplicates, 0.0% packet loss
- round-trip min/avg/max/std-dev = 0.096/6.413/14.990/7.263 ms
- * 其中fe80::20c:76ff:fe08:5061%gif0是对方的linklocal地址
- * fe80::213:d3ff:fe3e:ee10%gif0为本地gif0的tunnel地址
复制代码
从外部向服务器ping,并在服务器上截取gif0的tcpdump,
外部当然是ping不通,服务器上抓不到icmp6的数据。
- * [admin@maov3 ~]$ ping6 -c 4 2001:218:4b8:1000::1
- PING 2001:218:4b8:1000::1(2001:218:4b8:1000::1) 56 data bytes
- From 2001:218:4b8:0:250:8bff:feb9:58b1 icmp_seq=1 Destination unreachable: Address unreachable
- From 2001:218:4b8:0:250:8bff:feb9:58b1 icmp_seq=2 Destination unreachable: Address unreachable
- From 2001:218:4b8:0:250:8bff:feb9:58b1 icmp_seq=3 Destination unreachable: Address unreachable
- From 2001:218:4b8:0:250:8bff:feb9:58b1 icmp_seq=4 Destination unreachable: Address unreachable
- --- 2001:218:4b8:1000::1 ping statistics ---
- 4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3009ms
- * [root@monster ~]# tcpdump -i gif0
- tcpdump: WARNING: gif0: no IPv4 address assigned
- tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
- listening on gif0, link-type NULL (BSD loopback), capture size 96 bytes
- 17:13:40.402025 IP6 fe80::20c:76ff:fe08:5061.ripng > ff02::9.ripng: ripng-resp 2: 2001:218:4b8:1::/64 (2) 2001:218:4b8::/64 (1)
- ^C
复制代码 |
|