Skip to content

Instantly share code, notes, and snippets.

@neilhwatson
Created July 8, 2014 19:52
Show Gist options
  • Save neilhwatson/7a868feafd8f47c6801b to your computer and use it in GitHub Desktop.
Save neilhwatson/7a868feafd8f47c6801b to your computer and use it in GitHub Desktop.
router advertisement packages
tcpdump -s0 -n -i eth0 -v 'icmp6 and ((ip6[40+0] == 133) or (ip6[40+0] == 134))'
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
15:45:02.213000 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 56) fe80::1 > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 56
hop limit 64, Flags [none], pref medium, router lifetime 1800s, reachable time 0s, retrans time 0s
source link-address option (1), length 8 (1): 64:87:88:ad:f6:81
prefix info option (3), length 32 (4): 2a02:2770:11::/64, Flags [onlink, auto], valid time 2592000s, pref. time 604800s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment