Skip to content

Instantly share code, notes, and snippets.

@cjac
Created April 21, 2020 06:44
Show Gist options
  • Save cjac/d9bd5c8782b7b6aa6c493b0c8d3369bb to your computer and use it in GitHub Desktop.
Save cjac/d9bd5c8782b7b6aa6c493b0c8d3369bb to your computer and use it in GitHub Desktop.
root@mini:~# tcpdump -v -s0 -n -i loc ip6
tcpdump: listening on loc, link-type EN10MB (Ethernet), capture size 262144 bytes
23:44:27.559299 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::216:3eff:fe02:ec4e > fe80::5054:ff:fee6:2458: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has fe80::5054:ff:fee6:2458
source link-address option (1), length 8 (1): 00:16:3e:02:ec:4e
23:44:27.559467 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) fe80::5054:ff:fee6:2458 > fe80::216:3eff:fe02:ec4e: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is fe80::5054:ff:fee6:2458, Flags [router, solicited]
23:44:27.668605 IP6 (flowlabel 0x0b590, hlim 255, next-header ICMPv6 (58) payload length: 8) fe80::216:3eff:fe02:ec4e > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 8
23:44:27.669392 IP6 (flowlabel 0xe5129, hlim 255, next-header ICMPv6 (58) payload length: 56) fe80::5054:ff:fee6:2458 > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 56
hop limit 64, Flags [none], pref low, router lifetime 30s, reachable time 0ms, retrans timer 0ms
prefix info option (3), length 32 (4): 2601:602:9403:2a40::/60, Flags [onlink, auto, router], valid time 86400s, pref. time 14400s
source link-address option (1), length 8 (1): 52:54:00:e6:24:58
^C
4 packets captured
4 packets received by filter
0 packets dropped by kernel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment