Answers: Basic OSPFv3

This lab asks you to configure OSPFv3 for an IPv6 network, from a starting point of having all the IPv6 addresses configured on the routers in the network. For this lab, you add a few optional parameters in addition to the required interface configured to enable OSPFv3. First look at the original lab post, try to create your own answer, and then check your answer here.
Answers
Example 5: R1 Config
1 2 3 4 5 6 7 8 9 10 11 12 |
ipv6 router ospf 1 router-id 1.1.1.1 maximum-paths 2 ! interface gigabitethernet0/1 ipv6 ospf 1 area 0 ! interface gigabitethernet0/2 ipv6 ospf 1 area 0 ! interface gigabitethernet0/3 ipv6 ospf 1 area 0 |
Example 6: R2 Config
1 2 3 4 5 6 7 8 |
ipv6 router ospf 1 router-id 2.2.2.2 ! interface gigabitethernet0/1 ipv6 ospf 1 area 0 ! interface gigabitethernet0/2 ipv6 ospf 1 area 0 |
Example 7: R3 Config
1 2 3 4 5 6 7 8 |
ipv6 router ospf 1 router-id 3.3.3.3 ! interface gigabitethernet0/1 ipv6 ospf 1 area 0 ! interface gigabitethernet0/2 ipv6 ospf 1 area 0 |
Example 8: R4 Config
1 2 3 4 5 6 7 8 9 10 11 12 |
ipv6 router ospf 1 router-id 4.4.4.4 maximum-paths 2 ! interface gigabitethernet0/1 ipv6 ospf 1 area 0 ! interface gigabitethernet0/2 ipv6 ospf 1 area 0 ! interface gigabitethernet0/3 ipv6 ospf 1 area 0 |
Commentary
The interface configuration for OSPFv3 happens to be pretty simple. Notice that all the interface use the same subcommand – ipv6 ospf 1 area 0 – which enables OSPF process 1 on the interface, and places it in area 0. If the design had used multiple areas, the commands would of course list a different area number. Also, if you happened to choose a different OSPF process ID, your interface subcommand would refer to that same process ID.
As for the commands under the ipv6 router ospf command, in this case, you need to configure a router-ID (RID). OSPF chooses its 32-bit RID based on the usual rules, using a pre-existing IPv4 address, or the pre-configured value. Because this lab begins with no IPv4 addresses configured, you need to directly configure the OSPF RID. Additionally, on two routers, you need to set the maximum number of OSPF routes in the routing table to 2.
Let me tell You a sad story ! There are no comments yet, but You can be first one to comment this article.
Write a comment