Answers: Choosing the Shortest IPv6 Address and Configuring the Addresses
To find the shortest abbreviation for any IPv6 address, just follow these two rules:- The longest string of consecutive quartets of all hex 0s – replace with a double colon (::)
- In each quartet, remove all leading hex zeroes
The configuration also shows one command on each router that is not actually required by the lab: the mac-address interface subcommand. I added one to each LAN interface for a small additional question. This command sets the router’s LAN interface MAC address. Given the values, what will the IPv6 address be on the Fa0/0 interface on each of the three routers?
Here’s a quick repeat of the figure, for reference:
Figure: Router Triangle, No Config Yet, with IPv6 Prefixes in Bold
Example 1: R1 Config
ipv6 unicast-routing ! interface FastEthernet0/0 no shutdown mac-address 0200.1111.1111 ipv6 address 2000:0:0:1::/64 eui-64 ! interface serial0/0/0 no shutdown ipv6 address 2012::1/64 clock rate 1536000 ! interface serial0/0/1 no shutdown ipv6 address 2013::1/64 clock rate 1536000
Example 2: R2 Config
ipv6 unicast-routing ! interface FastEthernet0/0 no shutdown mac-address 0200.0002.2000 ipv6 address 2000:2:2:2::/64 eui-64 ! interface serial0/0/0 no shutdown ipv6 address 2023::2/64 clock rate 1536000 ! interface serial0/0/1 no shutdown ipv6 address 2012::2/64
Example 3: R3 Config
ipv6 unicast-routing ! interface FastEthernet0/0 no shutdown mac-address 0200.3333.3333 ipv6 address 2000:3:30:300::/64 eui-64 ! interface serial0/0/0 no shutdown ip address 10.1.88.130 255.255.255.128 ipv6 address 2013::3/64 ! interface serial0/0/1 no shutdown ipv6 address 2023::3/64
Miscellaneous Notes
- The problem statement did suggest that the gear existed in a lab room, which could imply that all the serial links use serial crossover cables (back-to-back cables). As such, one end of each serial link would have the DCE end of the cable connected to it, and therefore require the clock rate command. The lab did not specify which end had the DCE cable, so as long as you picked one end of each serial link for your clock rate command, your config would have met all the intended requirements.