Configuring IPv6 on a router: manual addresses, ipv6 unicast-routing and EUI-64
Sign in to read this lesson
On a Cisco router an IPv6 address is configured in one of two ways. The first is typing the full address - ipv6 address 2001:DB8:BA:1::1/64. The second is EUI-64 - the router creates the interface ID from the interface's MAC address. By default a router does not forward IPv6 packets; that needs ipv6 unicast-routing. Verify with show ipv6 interface, show ipv6 interface brief and show ipv6 route. EUI-64 has three steps: split the MAC in half, insert FFFE, flip the 7th bit of the first byte. MAC 0C4E.7A10.2B01 gives the interface ID E4E:7AFF:FE10:2B01.
What you will learn
- Manually:
ipv6 address 2001:DB8:BA:1::1/64(the full form...:0000:0000:0000:0001/64gives the same result). - By default a router does not forward IPv6 packets and doesn't build an IPv6 routing table: you need
ipv6 unicast-routing. - Verification:
show ipv6 interface(link-local, global address, subnet),show ipv6 interface brief,show ipv6 route. Most "ip" commands also work with "ipv6". - EUI-64: (1) split the 48-bit MAC in half, (2) insert FFFE, (3) flip the 7th bit (U/L) of the first byte.
0C4E.7A10.2B01→E4E:7AFF:FE10:2B01. ipv6 address 2001:DB8:BA:1::/64 eui-64: you type a 64-bit prefix and the router creates the interface ID. An interface without a MAC uses the MAC of the lowest-numbered interface.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.