linux ping link-local ipv6
sourceIP
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.100.150 netmask 255.255.252.0 broadcast 192.168.3.255
inet6 fe80::d294:66ff:fe36:d3dd prefixlen 64 scopeid 0x20<link>
destinationIP
eth1 Link encap:Ethernet HWaddr
inet addr:192.168.100.222 Bcast:192.168.255.255 Mask:255.255.0.0
inet6 addr: fe80::220:8fff:fe1e:1b86/64 Scope:Link
[test]$ ping 192.168.100.222
PING 192.168.100.222 (192.168.100.222) 56(84) bytes of data.
64 bytes from 192.168.100.222: icmp_seq=1 ttl=255 time=0.585 ms
64 bytes from 192.168.100.222: icmp_seq=2 ttl=255 time=0.287 ms
[test]$ ping6 -I eth0 fe80::220:8fff:fe1e:1b86
PING fe80::220:8fff:fe1e:1b86(fe80::220:8fff:fe1e:1b86) from fe80::d294:66ff:fe36:d3dd%eth0 eth0: 56 data bytes
64 bytes from fe80::220:8fff:fe1e:1b86%eth0: icmp_seq=1 ttl=64 time=0.594 ms
64 bytes from fe80::220:8fff:fe1e:1b86%eth0: icmp_seq=2 ttl=64 time=0.275 ms
[test]$ ping6 fe80::220:8fff:fe1e:1b86%eth0
PING fe80::220:8fff:fe1e:1b86%eth0(fe80::220:8fff:fe1e:1b86%eth0) 56 data bytes
64 bytes from fe80::220:8fff:fe1e:1b86%eth0: icmp_seq=1 ttl=64 time=0.305 ms
64 bytes from fe80::220:8fff:fe1e:1b86%eth0: icmp_seq=2 ttl=64 time=0.292 ms
[test]$ tcpdump -i eth0 | grep 1b86
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
08:25:01.214353 IP6 fe80::d294:66ff:fe36:d3dd > fe80::220:8fff:fe1e:1b86: ICMP6, echo request, seq 10, length 64
08:25:01.214409 IP6 fe80::220:8fff:fe1e:1b86 > fe80::d294:66ff:fe36:d3dd: ICMP6, echo reply, seq 10, length 64
windows ping link-local ipv6
sourceIP
Link-local IPv6 Address . . . . . : fe80::293a:18d9:84ca:1c94%4
IPv4 Address. . . . . . . . . . . : 192.168.100.54
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . : 192.168.101.254
destinationIP
Link-local IPv6 Address . . . . . : fe80::b401:26b6:c3c0:52c5%12
IPv4 Address. . . . . . . . . . . : 192.168.100.90
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . : 192.168.101.254
C:\Users>ping 192.168.100.90
Pinging 192.168.100.90 with 32 bytes of data:
Reply from 192.168.100.90: bytes=32 time<1ms TTL=128
Reply from 192.168.100.90: bytes=32 time=1ms TTL=128
C:\Users>ping fe80::b401:26b6:c3c0:52c5%4
Pinging fe80::b401:26b6:c3c0:52c5%4 with 32 bytes of data:
Reply from fe80::b401:26b6:c3c0:52c5%4: time<1ms
Reply from fe80::b401:26b6:c3c0:52c5%4: time=1ms
文章来源地址https://www.toymoban.com/news/detail-528346.html
文章来源:https://www.toymoban.com/news/detail-528346.html
到了这里,关于ping link-local ipv6 (linux/windows)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!