IPv6 NDP und Ping

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Auf dem ersten Client

Nachbar Cache leer

  • ip -6 neighbor show

Ping

  • ping -c 1 2001:db8:3333:4444::2
PING 2001:db8:3333:4444::2(2001:db8:3333:4444::2) 56 data bytes
64 bytes from 2001:db8:3333:4444::2: icmp_seq=1 ttl=64 time=4.76 ms

--- 2001:db8:3333:4444::2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 4.756/4.756/4.756/0.000 ms

Nachbar Cache gefüllt

  • ip -6 neighbor show
2001:db8:3333:4444::2 dev ens3 lladdr 0c:77:79:62:00:00 REACABLE 
fe80::e77:79ff:fe62:0 dev ens3 lladdr 0c:77:79:62:00:00 REACHABLE

Was ist passiert

Anzeigefilter
icmpv6.type == 128 or icmpv6.type == 129 or icmpv6.type == 135 or icmpv6.type == 136
Capturefilter
'icmp6 and (ip6[40] == 128 or ip6[40] == 129 or ip6[40] == 135 or ip6[40] == 136)'

Ndp-ping.png