For this latest lab, you configure IPv6 routing, addressing, and OSPFv3, all in one small lab. This next lab is rather long by comparison to most others in this series – it might take you 10-15 minutes rather than the usual 5-10. Of particular note: the WAN links between routers do not use global unicast addresses. Details below the fold!
Requirements
Configure IPv6 addressing and OSPFv3 in a small IPv6 network. In this case, the IPv6 addressing configuration uses a small twist: the links between the routers use only link local addresses. You will need to enable IPv6 routing, configure unicast IPv6 addresses on some interfaces, enable IPv6 on the WAN interfaces, and then add OSPFv3 to the configuration.
The specific rules for this lab are:
- Configure the IPv6 addresses needed on all the routers per the figure.
- On all three router’s G0/3 interfaces, configure the IPv6 address/mask shown in the figure.
- On all three router’s G0/1 and G0/2 interfaces (the links between routers), use only Link-Local addresses
- Explicitly configure (that is, do not rely on interface IP addresses) the OSPFv3 router-ID (RID) using the template x.x.x.x, where x is the router number
- Use OSPF area 0
- Use OSPF process-ID 50 on all routers
- Configure nothing else that is not needed based on the requirements listed here
Figure 1: Three Router Triangle without Unicast IPv6 Addresses
Initial Configuration
Example 1, 2 and 3 show the relevant beginning configuration state of R1, R2 and R3.
Example 1: R1 Config
hostname R1 ! interface GigabitEthernet0/1 no shutdown ! interface GigabitEthernet0/2 no shutdown ! interface GigabitEthernet0/3 no shutdown
Example 2: R2 Config
hostname R2 ! interface GigabitEthernet0/1 no shutdown ! interface GigabitEthernet0/2 no shutdown ! interface GigabitEthernet0/3 no shutdown
Example 3: R3 Config
hostname R3 ! interface GigabitEthernet0/1 no shutdown ! interface GigabitEthernet0/2 no shutdown ! interface GigabitEthernet0/3 no shutdown
Answer on Paper, or Maybe Test in Lab
Create your own answer, either by typing it in somewhere, or writing it on paper. Try to avoid using your notes – one of points of these labs is to move you from being able to read someone else’s config to being able to create your own from scratch.
You can easily test this lab with a few show commands. First, each router should have two OSPFv3 neighbors (show ipv6 ospf neighbor). Each router show list two OSPF-learned IPv6 routes (show ipv6 route), basically one for each of the two remote IPv6 prefixes shown in the figure. You can check the interface IPv6 addresses with show ipv6 interface, and the OSPF router ID with show ipv6 ospf database.