NDP and SLAAC lab: debug ipv6 nd, show ipv6 neighbors, show ipv6 routers
Sign in to read this lesson
In the lab SUMQAYIT is the router (ipv6 unicast-routing, Gi0/0 2001:DB8:50:1::1/64) and PC1 is a host that configures itself with SLAAC (ipv6 address autoconfig). In the debug ipv6 nd output PC1 first runs DAD for its link-local address, sends an NA, then sends an RS and receives an RA from SUMQAYIT. The RA carries the prefix 2001:DB8:50:1::/64 onlink autoconfig. show ipv6 neighbors shows IPv6 and MAC addresses, show ipv6 routers shows known routers and the RA parameters. PC1 adds an EUI-64 interface ID to the prefix, runs DAD and gets 2001:DB8:50:1:5054:FF:FE12:AB01.
What you will learn
- Router side:
ipv6 unicast-routing(without it the router sends no RAs) and a global address on the interface. Host side:ipv6 address autoconfig= SLAAC. debug ipv6 ndshows all NDP messages:Sending NS ... DAD ... is unique,Sending RS,Received RA,Autoconfiguring ....show ipv6 neighbors: an IPv6 address → MAC (link-layer address) table, the equivalent ofshow ip arpin IPv4. State column: REACH, STALE, DELAY, PROBE, INCMP.show ipv6 routers: the routers the host knows, the RA lifetime (default 1800 s), AddrFlag (M) and OtherFlag (O), the prefix and its valid/preferred lifetime (default 2592000/604800 s).- Result: PC1 adds an EUI-64 interface ID to the prefix from the RA: 2001:DB8:50:1:5054:FF:FE12:AB01. In MAC 52:54 the 7th bit was 1, so 52 → 50.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.