10.2.1 Packet Tracer - Configure Multiarea OSPFv3 (Answers)
Topology

10.2.1 Packet Tracer - Configure Multiarea OSPFv3
Addressing Table
| Device | Interface | IPv6 Address | OSPF Area |
|---|---|---|---|
| RA | G0/0 | 2001:db8:1:a1::1/64 | 1 |
| G0/1 | 2001:db8:1:a2::1/64 | 1 | |
| S0/0/0 | 2001:db8:1:ab::2/64 | 0 | |
| Link-Local | fe80::a | N/A | |
| RB | G0/0 | 2001:db8:1:b1::1/64 | 0 |
| S0/0/0 | 2001:db8:1:ab::1/64 | 0 | |
| S0/0/1 | 2001:db8:1:bc::1/64 | 0 | |
| Link-Local | fe80::b | N/A | |
| RC | G0/0 | 2001:db8:1:c1::1/64 | 2 |
| G0/1 | 2001:db8:1:c2::1/64 | 2 | |
| S0/0/1 | 2001:db8:1:bc::2/64 | 0 | |
| Link-Local | fe80::c | N/A |
Objectives
- Part 1: Configure OSPFv3
- Part 2: Verify Multiarea OSPFv3 Operations
Background / Scenario
In this activity, you will configure multiarea OSPFv3. The network is already connected and interfaces are configured with IPv6 addressing. Your job is to enable multiarea OSPFv3, verify connectivity and examine the operation of multiarea OSPFv3.
Instructions
Part 1: Configure OSPFv3
Step 1: Enable IPv6 routing and configure OSPFv3 on RA.
a. Enable IPv6 routing.
RA(config)# ipv6 unicast-routing
b. Configure OSPFv3 on RA with a process ID of 1 and a router ID of 1.1.1.1.
RA(config)# ipv6 router ospf 1 RA(config-rtr)# router-id 1.1.1.1
Step 2: Advertise each directly connected network in OSPFv3 on RA.
Configure each active IPv6 interface with OSPFv3 assigning each to the area listed in the Addressing Table.
RA(config)# interface GigabitEthernet0/0 RA(config-if)# ipv6 ospf 1 area 1 RA(config-if)# interface GigabitEthernet0/1 RA(config-if)# ipv6 ospf 1 area 1 RA(config-if)# interface Serial 0/0/0 RA(config-if)# ipv6 ospf 1 area 0
Step 3: Configure OSPFv3 on RB and RC.
Repeat Steps 1 and 2 for RB and RC. The router ID for RB should be 2.2.2.2 and the router ID for RC should be 3.3.3.3.
RB(config)# ipv6 unicast-routing RB(config)# ipv6 router ospf 1 RB(config-rtr)# router-id 2.2.2.2 RB(config-rtr)# interface GigabitEthernet0/0 RB(config-if)# ipv6 ospf 1 area 0 RB(config-if)# interface Serial0/0/0 RB(config-if)# ipv6 ospf 1 area 0 RB(config-if)# interface Serial0/0/1 RB(config-if)# ipv6 ospf 1 area 0 RC(config)# ipv6 unicast-routing RC(config)# ipv6 router ospf 1 RC(config-rtr)# router-id 3.3.3.3 RC(config-rtr)# interface GigabitEthernet0/0 RC(config-if)# ipv6 ospf 1 area 2 RC(config-if)# interface GigabitEthernet0/1 RC(config-if)# ipv6 ospf 1 area 2 RC(config-if)# interface Serial 0/0/1 RC(config-if)# ipv6 ospf 1 area 0
Part 2: Verify Multiarea OSPFv3 Operations
Step 1: Verify connectivity to each of the OSPFv3 areas.
From RA, ping each of the remote devices in area 0 and area 2:
- 2001:db8:1:b1::2
- 2001:db8:1:a1::2
- 2001:db8:1:a2::2
- 2001:db8:1:c1::2
- 2001:db8:1:c2::2
Step 2: Use show commands to examine OSPFv3 operation.
Use the following commands to gather information about your OSPFv3 multiarea implementation.
show ipv6 ospf show ipv6 route show ipv6 ospf database show ipv6 ospf interface show ipv6 ospf neighbor
Note: Packet Tracer output for show ipv6 protocols is currently not aligned with IOS 15 output. Refer to the physical equipment labs for correct show command output.
Device Configs - Final
Router RA
! ============================================================== !--- 10.2.1 Packet Tracer - Configure Multiarea OSPFv3 !--- ANSWER SCRIPT FOR ROUTER RA (Area Border Router: Area 1 <-> Area 0) !--- Usage: copy this whole file and paste it into the RA terminal (start at the RA> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Scope: IPv6 interface addressing is already configured on all !--- three routers per the activity's own Background note - this script !--- only enables IPv6 routing and multiarea OSPFv3. ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Part 1, Step 1: Enable IPv6 routing and start OSPFv3 process 1. ! -------------------------------------------------------------- !--- Required before any IPv6 routing protocol will forward traffic - !--- IPv6 forwarding is off by default even with interfaces addressed. ipv6 unicast-routing ipv6 router ospf 1 !--- Explicit router ID, as required. router-id 1.1.1.1 exit ! -------------------------------------------------------------- !--- Part 1, Step 2: Enable OSPFv3 on each active interface and assign !--- its area. Unlike OSPFv2, there is no "network" command - OSPFv3 is !--- enabled per interface directly. ! -------------------------------------------------------------- !--- LAN interfaces G0/0 and G0/1 both belong to Area 1. interface gigabitethernet 0/0 ipv6 ospf 1 area 1 exit interface gigabitethernet 0/1 ipv6 ospf 1 area 1 exit !--- Serial link to RB belongs to the Area 0 backbone - this is what !--- makes RA an Area Border Router (ABR). interface serial 0/0/0 ipv6 ospf 1 area 0 exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ipv6 ospf neighbor -> FULL adjacency with RB (link-local fe80::b) !--- show ipv6 route ospf -> OI routes to 2001:db8:1:b1::/64, c1::/64, c2::/64 !--- show ipv6 ospf interface brief -> Gi0/0 and Gi0/1 in Area 1, Se0/0/0 in Area 0 !--- ping 2001:db8:1:b1::2 / ping 2001:db8:1:c1::2 / ping 2001:db8:1:c2::2 -> RB's LAN and RC's LAN !--- Note: the lab's own Topology diagram flags its Addressing Table as !--- having a typo - RC's G0/1 is listed as 2001:db8:1:d2::1/64 but the !--- diagram's Area 2 cloud calls the network 2001:db8:1:c2::/64. This !--- doesn't affect this script (OSPFv3 is enabled per-interface, not by !--- network address), but worth fixing in the published Addressing !--- Table so readers don't try to ping the wrong prefix. ! ==============================================================
Router RB
! ============================================================== !--- 10.2.1 Packet Tracer - Configure Multiarea OSPFv3 !--- ANSWER SCRIPT FOR ROUTER RB (internal backbone router, Area 0 only) !--- Usage: copy this whole file and paste it into the RB terminal (start at the RB> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Scope: IPv6 interface addressing is already configured on all !--- three routers per the activity's own Background note - this script !--- only enables IPv6 routing and multiarea OSPFv3. ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Part 1, Step 3: Enable IPv6 routing and start OSPFv3 process 1. ! -------------------------------------------------------------- ipv6 unicast-routing ipv6 router ospf 1 !--- Explicit router ID, as required. router-id 2.2.2.2 exit ! -------------------------------------------------------------- !--- Part 1, Step 3: Enable OSPFv3 on each active interface. RB has no !--- interface outside Area 0 - it's a purely internal backbone router, !--- not an ABR. ! -------------------------------------------------------------- !--- LAN interface, and both serial links to RA and RC - all Area 0. interface gigabitethernet 0/0 ipv6 ospf 1 area 0 exit interface serial 0/0/0 ipv6 ospf 1 area 0 exit interface serial 0/0/1 ipv6 ospf 1 area 0 exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ipv6 ospf neighbor -> FULL adjacency with RA (fe80::a) and RC (fe80::c) !--- show ipv6 route ospf -> OI routes to 2001:db8:1:a1::/64, a2::/64, c1::/64, c2::/64 !--- show ipv6 ospf interface brief -> Gi0/0, Se0/0/0, Se0/0/1 all in Area 0 ! ==============================================================
Router RC
! ============================================================== !--- 10.2.1 Packet Tracer - Configure Multiarea OSPFv3 !--- ANSWER SCRIPT FOR ROUTER RC (Area Border Router: Area 2 <-> Area 0) !--- Usage: copy this whole file and paste it into the RC terminal (start at the RC> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Scope: IPv6 interface addressing is already configured on all !--- three routers per the activity's own Background note - this script !--- only enables IPv6 routing and multiarea OSPFv3. ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Part 1, Step 3: Enable IPv6 routing and start OSPFv3 process 1. ! -------------------------------------------------------------- ipv6 unicast-routing ipv6 router ospf 1 !--- Explicit router ID, as required. router-id 3.3.3.3 exit ! -------------------------------------------------------------- !--- Part 1, Step 3: Enable OSPFv3 on each active interface and assign !--- its area. ! -------------------------------------------------------------- !--- LAN interfaces G0/0 and G0/1 both belong to Area 2. interface gigabitethernet 0/0 ipv6 ospf 1 area 2 exit interface gigabitethernet 0/1 ipv6 ospf 1 area 2 exit !--- Serial link to RB belongs to the Area 0 backbone - this is what !--- makes RC an Area Border Router (ABR). interface serial 0/0/1 ipv6 ospf 1 area 0 exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ipv6 ospf neighbor -> FULL adjacency with RB (link-local fe80::b) !--- show ipv6 route ospf -> OI routes to 2001:db8:1:a1::/64, a2::/64, 2001:db8:1:b1::/64 !--- show ipv6 ospf interface brief -> Gi0/0 and Gi0/1 in Area 2, Se0/0/1 in Area 0 !--- Note: this lab's own Topology diagram flags a typo in the !--- Addressing Table - G0/1 is listed there as 2001:db8:1:d2::1/64, !--- but the diagram's Area 2 cloud names the network !--- 2001:db8:1:c2::/64, and Part 2's own ping checklist pings !--- 2001:db8:1:c2::2. The interface's OSPFv3 area assignment (2) is !--- unaffected either way, but if you're addressing G0/1 from scratch !--- rather than using a pre-built PT file, use 2001:db8:1:c2::1/64. ! ==============================================================
