Lab 11.6.

1: Basic OSPF Configuration Lab

Learning Objectives
Upon completion of this lab, you will be able to: Cable a network according to the Topology Diagram Erase the startup configuration and reload a router to the default state Perform basic configuration tasks on a router Configure and activate interfaces Configure OSPF routing on all routers Configure OSPF router IDs Verify OSPF routing using show commands Configure a static default route Propagate default route to OSPF neighbors Configure OSPF Hello and Dead Timers Configure OSPF on a Multi-access network Configure OSPF priority Understand the OSPF election process Document the OSPF configuration

Scenarios
In this lab activity, there are two separate scenarios. In the first scenario, you will learn how to configure the routing protocol OSPF using the network shown in the Topology Diagram in Scenario A. The segments of the network have been subnetted using VLSM. OSPF is a classless routing protocol that can be used to provide subnet mask information in the routing updates. This will allow VLSM subnet information to be propagated throughout the network.

In the second scenario, you will learn to configure OSPF on a multi-access network. You will also learn to use the OSPF election process to determine the designated router (DR), backup designated router (BDR), and DRother states.

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 1 of 24

CCNA Exploration Routing Protocols and Concepts: OSPF

Lab 11.6.1: Basic OSPF Configuration Lab

Scenario A: Basic OSPF Configuration Topology Diagram

Addressing Table Device Interface
Fa0/0 R1 S0/0/0 S0/0/1 Fa0/0 R2 S0/0/0 S0/0/1 Fa0/0 R3 S0/0/0 S0/0/1 PC1 PC2 PC3 NIC NIC NIC

IP Address
172.16.1.17 192.168.10.1 192.168.10.5 10.10.10.1 192.168.10.2 192.168.10.9 172.16.1.33 192.168.10.6 192.168.10.10 172.16.1.20 10.10.10.10 172.16.1.35

Subnet Mask
255.255.255.240 255.255.255.252 255.255.255.252 255.255.255.0 255.255.255.252 255.255.255.252 255.255.255.248 255.255.255.252 255.255.255.252 255.255.255.240 255.255.255.0 255.255.255.248

Default Gateway
N/A N/A N/A N/A N/A N/A N/A N/A N/A 172.16.1.17 10.10.10.1 172.16.1.33

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 2 of 24

CCNA Exploration Routing Protocols and Concepts: OSPF

Lab 11.6.1: Basic OSPF Configuration Lab

Task 1: Prepare the Network.
Step 1: Cable a network that is similar to the one in the Topology Diagram. You can use any current router in your lab as long as it has the required interfaces shown in the topology. Note: If you use 1700, 2500, or 2600 routers, the router outputs and interface descriptions will appear different. Step 2: Clear any existing configurations on the routers.

Task 2: Perform Basic Router Configurations.
Perform basic configuration of the R1, R2, and R3 routers according to the following guidelines: 1. Configure the router hostname. 2. Disable DNS lookup. 3. Configure a privileged EXEC mode password. 4. Configure a message-of-the-day banner. 5. Configure a password for console connections. 6. Configure a password for VTY connections.

Task 3: Configure and Activate Serial and Ethernet Addresses.
Step 1: Configure interfaces on R1, R2, and R3. Configure the interfaces on the R1, R2, and R3 routers with the IP addresses from the table under the Topology Diagram. Step 2: Verify IP addressing and interfaces. Use the show ip interface brief command to verify that the IP addressing is correct and that the interfaces are active. When you have finished, be sure to save the running configuration to the NVRAM of the router. Step 3: Configure Ethernet interfaces of PC1, PC2, and PC3. Configure the Ethernet interfaces of PC1, PC2, and PC3 with the IP addresses and default gateways from the table under the Topology Diagram. Step 4: Test the PC configuration by pinging the default gateway from the PC.

Task 4: Configure OSPF on the R1 Router
Step 1: Use the router ospf command in global configuration mode to enable OSPF on the R1 router. Enter a process ID of 1 for the process-ID parameter. R1(config)#router ospf 1 R1(config-router)# Step 2: Configure the network statement for the LAN network.

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 3 of 24

CCNA Exploration Routing Protocols and Concepts: OSPF

Lab 11.6.1: Basic OSPF Configuration Lab

Once you are in the Router OSPF configuration sub-mode, configure the LAN network 172.16.1.16/28 to be included in the OSPF updates that are sent out of R1. The OSPF network command uses a combination of network-address and wildcard-mask similar to that which can be used by EIGRP. Unlike EIGRP, the wildcard mask in OSPF is required. Use an area ID of 0 for the OSPF area-id parameter. 0 will be used for the OSPF area ID in all of the network statements in this topology. R1(config-router)#network 172.16.1.16 0.0.0.15 area 0 R1(config-router)# Step 3: Configure the router to advertise the 192.168.10.0/30 network attached to the Serial0/0/0 interface. R1(config-router)# network 192.168.10.0 0.0.0.3 area 0 R1(config-router)# Step 4: Configure the router to advertise the 192.168.10.4/30 network attached to the Serial0/0/1 interface. R1(config-router)# network 192.168.10.4 0.0.0.3 area 0 R1(config-router)# Step 5: When you are finished with the OSPF configuration for R1, return to privileged EXEC mode. R1(config-router)#end %SYS-5-CONFIG_I: Configured from console by console R1#

Task 5: Configure OSPF on the R2 and R3 Routers
Step 1: Enable OSPF routing on the R2 router using the router ospf command. Use a process ID of 1. R2(config)#router ospf 1 R2(config-router)# Step 2: Configure the router to advertise the LAN network 10.10.10.0/24 in the OSPF updates. R2(config-router)#network 10.10.10.0 0.0.0.255 area 0 R2(config-router)# Step 3: Configure the router to advertise the 192.168.10.0/30 network attached to the Serial0/0/0 interface. R2(config-router)#network 192.168.10.0 0.0.0.3 area 0 R2(config-router)# 00:07:27: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.5 on Serial0/0/0 from EXCHANGE to FULL, Exchange Done

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 4 of 24

0. R2(config-router)#network 192.4 0. Nbr 192.0.0. Step 4: Configure the router to advertise the 192.0.10.3 area 0 R3(config-router)# 00:18:01: %OSPF-5-ADJCHG: Process 1. R3(config)#router ospf 1 R3(config-router)#network 172. Use a process ID of 1. Highest active IP address on any of the router’s physical interfaces.10. When you are finished.9 on Serial0/0/1 from EXCHANGE to FULL. Highest IP address of any of the router’s loopback addresses.10.9 What is the router ID for R2? ____________________ 192.168.168. the router sends a notification message to the console stating that a neighbor relationship with another OSPF router has been established.168. Task 6: Configure OSPF Router IDs The OSPF router ID is used to uniquely identify the router in the OSPF routing domain.10. the router ID for each router is determined by the highest IP address of any active interface.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.6.8/30 network attached to the Serial0/0/1 interface.0. 3. Since no router IDs or loopback interfaces have been configured on the three routers.168. Cisco routers derive the Router ID in one of three ways and with the following precedence: 1.16. Exchange Done R3(config-router)#end %SYS-5-CONFIG_I: Configured from console by console R3# Notice that when the networks for the serial links from R3 to R1 and R3 to R2 are added to the OSPF configuration.0.10. Step 1: Examine the current router IDs in the topology.10.5 What is the router ID for R1? ____________________ 192.10. Inc.32 0. 192. return to privileged EXEC mode.1.10.0. This document is Cisco Public Information. Page 5 of 24 . return to privileged EXEC mode. 2. the router sends a notification message to the console stating that a neighbor relationship with another OSPF router has been established.0. Nbr 192.10.7 area 0 R3(config-router)#network 192.168.3 area 0 R3(config-router)# 00:17:46: %OSPF-5-ADJCHG: Process 1.168.10 What is the router ID for R3? ____________________ All contents are Copyright © 1992–2007 Cisco Systems. All rights reserved.3 area 0 R2(config-router)#end %SYS-5-CONFIG_I: Configured from console by console R2# Step 5: Configure OSPF on the R3 router using the router ospf and network commands.168.168.8 0. IP address configured with the OSPF router-id command.168. Configure the router to advertise the three directly connected networks. When you are finished.5 on Serial0/0/0 from LOADING to FULL. A router ID is an IP address.8 0.1: Basic OSPF Configuration Lab Notice that when the network for the serial link from R1 to R2 is added to the OSPF configuration. Loading Done R3(config-router)#network 192.

10.2. All rights reserved.1. show ip ospf. Cost: 1 Transmit Delay is 1 sec. Retransmit 5 Hello due in 00:00:00 Index 1/1.1.255. Priority 1 Designated Router (ID) 192. R1(config)#interface loopback 0 R1(config-if)#ip address 10.1.255.168. and show ip ospf interfaces commands.1.10. Page 6 of 24 .3 255.16.255. line protocol is up Internet address is 172. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1.33/29. Hello 10.168. This document is Cisco Public Information.10 Supports only single TOS(TOS0) routes Supports opaque LSA SPF schedule delay 5 secs.255.255.255.1 255. Dead 40. Adjacent neighbor count is 0 Suppress hello for 0 neighbor(s) <output omitted> R3# Step 2: Use loopback addresses to change the router IDs of the routers in the topology.33 No backup designated router on this network Timer intervals configured. Area 0 Process ID 1. Router ID 192.3. Hold time between two SPFs 10 secs <output omitted> R3#show ip ospf interface FastEthernet0/0 is up. Network Type BROADCAST. maximum is 1 Last flood scan time is 0 msec.255 All contents are Copyright © 1992–2007 Cisco Systems.168.255 R3(config)#interface loopback 0 R3(config-if)#ip address 10.10. Wait 40.2.10.10.168.10 Number of areas in this router is 1. Interface address 172.1: Basic OSPF Configuration Lab The router ID can also be seen in the output of the show ip protocols.10. R3#show ip protocols Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 192.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Inc. State DR.6.3. maximum is 0 msec Neighbor Count is 0.255 R2(config)#interface loopback 0 R2(config-if)#ip address 10.16. 1 normal 0 stub 0 nssa Maximum path: 4 <output omitted> R3#show ip ospf Routing Process "ospf 1" with ID 192.2 255.

To manually restart the OSPF process.1 Serial0/0/0 Pri 0 0 State FULL/ FULL/ Dead Time 00:00:36 00:00:37 Address 192.1.10.4.. Inc. what is the router ID for R1? ____________________ 10. the new router-ID is used at the next reload or at a manual OSPF process restart. what is the router ID for R3? ____________________ Step 4: Use the show ip ospf neighbors command to verify that the router IDs have changed.3.168.168.6.1 R3#show ip ospf neighbor Neighbor ID Interface 10.4. R1(config)#router ospf 1 R1(config-router)#router-id 10.4 Reload or use “clear ip ospf process” command. for this to take effect If this command is used on an OSPF router process which is already active (has neighbors).9 192. Make sure that the current configuration is saved to NRAM. Note: Some IOS versions do not support the router-id command.2.1.3.3.1: Basic OSPF Configuration Lab Step 3: Reload the routers to force the new Router IDs to be used. All rights reserved.168.10.1 Serial0/0/0 Pri 0 0 State FULL/ FULL/ Dead Time 00:00:34 00:00:38 Address 192. When a new Router ID is configured. This document is Cisco Public Information.2.168. what is the router ID for R2? ____________________ 10.2 R2#show ip ospf neighbor Neighbor ID Interface 10.10.5 Step 5: Use the router-id command to change the router ID on the R1 router.3.168.2. continue to Task 7. it will not be used until the OSPF process is restarted.3.3 Serial0/0/1 10. Page 7 of 24 .2 When the router is reloaded.2 Serial0/0/1 10.168.3. use the clear ip ospf process command.2.2 Serial0/0/0 Pri 0 0 State FULL/ FULL/ Dead Time 00:00:30 00:00:33 Address 192.1 When the router is reloaded.1.1.2.10.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.6 192.10. and then use the reload command to restart each of the routers.3 Serial0/0/1 10.3 When the router is reloaded. R1#show ip ospf neighbor Neighbor ID Interface 10. 10.1.10 192.10. If this command is not available.2.1. All contents are Copyright © 1992–2007 Cisco Systems.

neighbor ID. Page 8 of 24 . R1(config-router)#end R1# clear ip ospf process Reset ALL OSPF processes? [no]:yes R1# Task 7: Verify OSPF Operation Step 1: On the R1 router.168.3. Restarting the OSPF process forces the router to use the IP address configured on the Loopback 0 interface as the Router ID.10 192.4 Serial0/0/0 Pri 0 0 State FULL/ FULL/ Dead Time 00:00:36 00:00:37 Address 192.3. R1#show ip ospf neighbor Neighbor ID Pri State Interface 10. You should be able to see the neighbor ID and IP address of each adjacent router.6. process ID. is shown in the output.4.2 0 FULL/Serial0/0/0 10.1 Step 7: Remove the configured router ID with the no form of the router-id command.3 Serial0/0/1 10. This document is Cisco Public Information.10.3. Inc.168.4 Reload or use “clear ip ospf process” command. The IP addresses of the adjacent neighbors are also shown.6 Step 2: On the R1 router.3 0 FULL/Serial0/0/1 R1# Dead Time 00:00:32 00:00:32 Address 192.10. use the show ip protocols command to view information about the routing protocol operation.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.4.10.2.2. Notice that the information that was configured in the previous Tasks.3.168. such as protocol.4. All contents are Copyright © 1992–2007 Cisco Systems. and the interface that R1 uses to reach that OSPF neighbor.4. R1(config)#router ospf 1 R1(config-router)#no router-id 10.2 192. R2#show ip ospf neighbor Neighbor ID Interface 10. for this to take effect Step 8: Restart the OSPF process using the clear ip ospf process command. All rights reserved.10. Use the show ip ospf neighbor command to view the information about the OSPF neighbor routers R2 and R3.1: Basic OSPF Configuration Lab R1#(config-router)#end R1# clear ip ospf process Reset ALL OSPF processes? [no]:yes R1# Step 6: Use the show ip ospf neighbor command on router R2 to verify that the router ID of R1 has been changed.168. and networks.

Serial0/0/0 192.10.16.2. 3 subnets 192.1.candidate default.10.10.OSPF external type 1. 00:01:12.0.0/8 is variably subnetted. Serial0/0/1 192.periodic downloaded static route Gateway of last resort is not set 10.per-user static route. I .6.0 is directly connected. U . 00:01:12.OSPF external type 2.mobile.1 Number of areas in this router is 1.1.16 0. S .IS-IS level-1. E2 .16. ia .1.OSPF NSSA external type 2 E1 . Task8: Examine OSPF Routes in the Routing Tables View the routing table on the R1 router.OSPF NSSA external type 1. 2 masks 172. Serial0/0/0 172. R1#show ip route Codes: C . Remember.0.6.10. N2 . L1 .1. 00:01:02.1.OSPF inter area N1 .0.3.1: Basic OSPF Configuration Lab R1#show ip protocols Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 10.168.0. Loopback0 10.4 is directly connected.168.EIGRP.168. 2 masks 10. M .10.16/28 is directly connected.168.3 area 0 192.2.ODR P . O .1/32 is directly connected.8 [110/128] via 192.0/30 is subnetted.2.EIGRP external.0.0.16.2 110 00:11:43 10.IGRP.10.OSPF. o . FastEthernet0/0 172. L2 . Page 9 of 24 . 2 subnets.static.15 area 0 192.3 area 0 Routing Information Sources: Gateway Distance Last Update 10.1. 00:01:02.6.16. Serial0/0/0 C O C O C C O R1# All contents are Copyright © 1992–2007 Cisco Systems.0 0.1.IS-IS inter area * .168.0. 2 subnets.RIP. OSPF routes are denoted in the routing table with an “O”. All rights reserved.32/29 [110/65] via 192.168.IS-IS.168.0/16 is variably subnetted.168.0.IS-IS level-2.10. Serial0/0/1 [110/128] via 192.4 0.2. IA . the process ID must be the same on all routers for OSPF to establish neighbor adjacencies and share routing information.EGP i .connected. Inc.3 110 00:11:43 Distance: (default is 110) R1# Notice that the output specifies the process ID used by OSPF.10. EX . This document is Cisco Public Information.0/24 [110/65] via 192.168.10.168.10.3.10. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 172. Serial0/0/1 192.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. E . R . B BGP D .10.0.

R1#show ip route <output omitted> C O C O C C O R1# 10. 64 kbps. Serial0/0/0 Step 2: Use the show interfaces serial0/0/0 command on the R1 router to view the bandwidth of the Serial 0/0/0 interface.168.10. R1 router: R1(config)#interface serial0/0/0 R1(config-if)#bandwidth 64 R1(config-if)#interface serial0/0/1 R1(config-if)#bandwidth 64 All contents are Copyright © 1992–2007 Cisco Systems.10. Page 10 of 24 .16.10. loopback not set. 2 subnets. OSPF does not automatically summarize at major network boundaries. the bandwidth will need to be changed so that the OSPF cost can be calculated correctly. Inc. 2 masks 172.16/28 is directly connected. Task 9: Configure OSPF Cost Step 1: Use the show ip route command on the R1 router to view the OSPF cost to reach the 10. 00:17:06. Serial0/0/0 172.0/24 network.0/30 is subnetted.168.2. the bandwidth metric will default to 1544 Kbits. Serial0/0/1 [110/128] via 192.10. Serial0/0/1 192. This document is Cisco Public Information.1.16.168.10.168. keepalive set (10 sec) Last input never.1/32 is directly connected. load 1/255 Encapsulation HDLC.168. Loopback0 10. DLY 20000 usec. Total output drops: 0 <output omitted> On most serial links. Step 3: Use the bandwidth command to change the bandwidth of the serial interfaces of the R1 and R2 routers to the actual bandwidth.10.10.0.6.2.10.6. Serial0/0/1 192.168.10.10.0/16 is variably subnetted.1.4 is directly connected.1. All rights reserved. 2 subnets.10.168.0.1/30 MTU 1500 bytes.0.6.1: Basic OSPF Configuration Lab Notice that unlike RIPv2 and EIGRP. BW 1544 Kbit. 00:16:56. output never. 3 subnets 192.8 [110/128] via 192.1.0/24 [110/65] via 192. Serial0/0/0 192.0/8 is variably subnetted. 00:17:06.32/29 [110/65] via 192. rely 255/255. 2 masks 10. line protocol is up (connected) Hardware is HD64570 Internet address is 192.168. R1#show interfaces serial0/0/0 Serial0/0/0 is up. 00:16:56.168.16.10.10.0 is directly connected. If this is not the actual bandwidth of the serial link. output hang never Last clearing of "show interface" counters never Input queue: 0/75/0 (size/max/drops). FastEthernet0/0 172.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.

State POINT-TO-POINT.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.2. R1#show ip ospf interface <output omitted> Serial0/0/0 is up.1/30.1. Cost: 1562 Transmit Delay is 1 sec. State POINT-TO-POINT. Network Type POINT-TO-POINT. line protocol is up Internet address is 192. Area 0 Process ID 1.2. maximum is 0 msec Neighbor Count is 1 . Network Type POINT-TO-POINT. which allows you to directly configure the cost. Use the ip ospf cost command to change the bandwidth of the serial interfaces of the R3 router to 1562.1: Basic OSPF Configuration Lab R2 router: R2(config)#interface serial0/0/0 R2(config-if)#bandwidth 64 R2(config)#interface serial0/0/1 R2(config-if)#bandwidth 64 Step 4: Use the show ip ospf interface command on the R1 router to verify the cost of the serial links. All rights reserved.168. This document is Cisco Public Information. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1. R3(config)#interface serial0/0/0 R3(config-if)#ip ospf cost 1562 R3(config-if)#interface serial0/0/1 R3(config-if)#ip ospf cost 1562 Step 6: Use the show ip ospf interface command on the R3 router to verify that the cost of the link the cost of each of the Serial links is now 1562. Timer intervals configured. <output omitted> Step 5: Use the ip ospf cost command to configure the OSPF cost on the R3 router.1.1. Router ID 10.5/30. An alternative method to using the bandwidth command is to use the ip ospf cost command. Adjacent neighbor count is 1 Adjacent with neighbor 10. Router ID 10. Area 0 Process ID 1. maximum is 1 Last flood scan time is 0 msec.1. Retransmit 5 Hello due in 00:00:05 Index 2/2. Hello 10.1. Inc. Page 11 of 24 . R3#show ip ospf interface <output omitted> All contents are Copyright © 1992–2007 Cisco Systems.10. line protocol is up Internet address is 192. Dead 40.6.10.2 Suppress hello for 0 neighbor(s) Serial0/0/1 is up. Wait 40.168. Cost: 1562 Transmit Delay is 1 sec. the result of the calculation: 108/64.1.000 bps. The cost of each of the Serial links is now 1562.

Router ID 10.0 loopback1 R1(config)# Step 3: Use the default-information originate command to include the static route in the OSPF updates that are sent from the R1 router. Area 0 Process ID 1. maximum is 1 Last flood scan time is 0 msec. Network Type POINT-TO-POINT. Network Type POINT-TO-POINT. Cost: 1562 Transmit Delay is 1 sec. <output omitted> Task 10: Redistribute an OSPF Default Route Step 1: Configure a loopback address on the R1 router to simulate a link to an ISP.0.3. changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1. State POINT-TO-POINT. R1(config)#ip route 0. Retransmit 5 Hello due in 00:00:06 Index 2/2.10. line protocol is up Internet address is 192.3.168. Adjacent neighbor count is 1 Adjacent with neighbor 10.255. R1(config)#interface loopback1 %LINK-5-CHANGED: Interface Loopback1. Hello 10.252 Step 2: Configure a static default route on the R1 router.2. Timer intervals configured.0. Use the loopback address that ha been configured to simulate a link to an ISP as the exit interface.6. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1.6/30.0.0.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Wait 40.3.255. This document is Cisco Public Information. Dead 40. maximum is 0 msec Neighbor Count is 1 .0 0.1: Basic OSPF Configuration Lab Serial0/0/1 is up. changed state to up R1(config-if)#ip address 172.3. Area 0 Process ID 1.3.2. R1(config)#router ospf 1 R1(config-router)#default-information originate R1(config-router)# All contents are Copyright © 1992–2007 Cisco Systems.3.1.10.168. Inc. Cost: 1562 Transmit Delay is 1 sec. Router ID 10. State POINT-TO-POINT.1 255. Page 12 of 24 .10/30. line protocol is up Internet address is 192.2 Suppress hello for 0 neighbor(s) Serial0/0/0 is up. All rights reserved.30.

10.168.16.2.0/24 is directly connected. 3 subnets C 192. Notice that the values are much larger cost values for OSPF routes. R1#show ip route <output omitted> All contents are Copyright © 1992–2007 Cisco Systems. 00:25:56.0 10.6.1.168.1. Page 13 of 24 . FastEthernet0/0 172.168. Please ensure reference bandwidth is consistent across all routers.0.10.10.10. 2 masks O 172.0.0/8 is variably subnetted.168. R1(config-router)#auto-cost reference-bandwidth 10000 % OSPF: Reference bandwidth is changed. 00:29:28.16/28 [110/1563] via 192. 2 subnets. Inc. 2 subnets.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Step 2: Examine the routing table on the R1 router to verify the change in the OSPF cost metric.1. All rights reserved. R2#show ip route <output omitted> Gateway of last resort is 192.32/29 [110/1563] via 192.10.0.0.2/32 is directly connected. Please ensure reference bandwidth is consistent across all routers.1. Serial0/0/1 [110/3124] via 192.16.16. R2(config-router)#auto-cost reference-bandwidth 10000 % OSPF: Reference bandwidth is changed.1.10. R3(config-router)#auto-cost reference-bandwidth 10000 % OSPF: Reference bandwidth is changed.2.168. 00:01:11. Configure this command on all routers in the OSPF routing domain.0.0/30 is subnetted.10.10.10.10.8 is directly connected. Serial0/0/1 O*E2 0.10.0. Loopback0 10.168.168. Please ensure reference bandwidth is consistent across all routers. 2 masks 10.4 [110/3124] via 192. Serial0/0/0 O 172.10.0/0 [110/1] via 192. Serial0/0/0 O 192. Serial0/0/1 192.0 is directly connected. Serial0/0/0 R2# C C Task 11: Configure Additional OSPF Features Step 1: Use the auto-cost reference-bandwidth command to adjust the reference bandwidth value. 00:29:28. This document is Cisco Public Information.1 to network 0.0/16 is variably subnetted.168. 00:25:56.10.168.1: Basic OSPF Configuration Lab Step 4: View the routing table on the R2 router to verify that the static default route is being redistributed via OSPF.168. Increase the reference bandwidth to 10000 to simulate 10GigE speeds. Serial0/0/0 C 192.0.10.

0 10. All contents are Copyright © 1992–2007 Cisco Systems.2.2. Serial0/0/1 O 192.0.32/29 [110/65635] via 192.1.2. 1 subnets C 172.0/8 is variably subnetted.0. Neighbor Down: Dead timer expired 01:09:04: %OSPF-5-ADJCHG: Process 1.6 Step 4: Configure the OSPF Hello and Dead intervals.0/16 is variably subnetted.30.1: Basic OSPF Configuration Lab Gateway of last resort is 0.0.10.16.1.0. FastEthernet0/0 O 172.30. 3 subnets C 192.2 192. This document is Cisco Public Information. 2 subnets.2 on Serial0/0/0 from FULL to DOWN. The OSPF Hello and Dead intervals can be modified manually using the ip ospf hellointerval and ip ospf dead-interval interface commands.8 [110/67097] via 192.0/30 is subnetted.10.0.10.168. Nbr 10. All rights reserved.2.6. Serial0/0/0 S* 0. Nbr 10.0. 00:01:01.1. R1#show ip ospf neighbor Neighbor ID Pri State Interface 10.10. The Dead Time counter is counting down from the default interval of 40 seconds.10.168. Serial0/0/0 C 192. R1 and R2 loose adjacency because the Dead Timer and Hello Timers must be configured identically on each side of the serial link between R1 and R2.10.168.2 on Serial0/0/0 from FULL to Down: Interface down or detached After 20 seconds the Dead Timer on R1 expires.168. Page 14 of 24 .2.1/32 is directly connected.16. Use these commands to change the hello interval to 5 seconds and the dead interval to 20 seconds on the Serial 0/0/0 interface of the R1 router. 00:01:01.168. 2 masks C 172.0/30 is subnetted.2.4 is directly connected. Serial0/0/0 172.0.10.10. 2 subnets. R1(config)#interface serial0/0/0 R1(config-if)#ip ospf hello-interval 5 R1(config-if)#ip ospf dead-interval 20 R1(config-if)# 01:09:04: %OSPF-5-ADJCHG: Process 1.16/28 is directly connected.168.0 to network 0.2 0 FULL/Serial0/0/0 10.10. 00:00:51.0 is directly connected.0.1.3.0/24 [110/65635] via 192.3.168.2.0/0 is directly connected.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.6. Loopback1 192.1. Serial0/0/1 172.10. 2 masks C 10.0 is directly connected. Inc.2. Loopback1 R1# Step 3: Use the show ip ospf neighbor command on R1 to view the Dead Time counter.10.16.0. Modify the Dead Timer and Hello Timer intervals on the Serial 0/0/0 interface in the R2 router to match the intervals configured on the Serial 0/0/0 interface of the R1 router.168.168.3 0 FULL/Serial0/0/1 Dead Time 00:00:34 00:00:34 Address 192.0. Step 5: Modify the Dead Timer and Hello Timer intervals. Loopback0 O 10.

Adjacent neighbor count is 1 Adjacent with neighbor 10.2.1.168.1.1 on Serial0/0/0 from EXCHANGE to FULL. Serial 0/0/1 is still operating with default timers. State POINT-TO-POINT.2/30. This document is Cisco Public Information. Router ID 10.3. All rights reserved. R1#show ip ospf neighbor Neighbor ID Pri State Interface 10.1. capture the following command output to a text file and save for future reference: Running configuration Routing table Interface summarization Output from show ip protocols All contents are Copyright © 1992–2007 Cisco Systems. line protocol is up Internet address is 192.6 Task 12: Document the Router Configurations.10. Nbr 10. Timer intervals configured. Inc. Network Type POINT-TO-POINT. Notice that the Dead Time for Serial 0/0/0 is now much lower since it is counting down from 20 seconds instead of the default 40 seconds. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1. Hello 5. R2#show ip ospf interface serial0/0/0 Serial0/0/0 is up. maximum is 1 Last flood scan time is 0 msec. Step 5: Use the show ip ospf interface serial0/0/0 command to verify that the Hello Timer and Dead Timer intervals have been modified.168.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.1. Retransmit 5 Hello due in 00:00:00 Index 3/3.10.3.2.2. maximum is 0 msec Neighbor Count is 1 . Cost: 1562 Transmit Delay is 1 sec.168.2 0 FULL/Serial0/0/0 10. Dead 20.3 0 FULL/Serial0/0/1 R1# Dead Time 00:00:19 00:00:34 Address 192. Exchange Done Notice that the IOS displays a message when adjacency has been established with a state of Full. On each router.2. Page 15 of 24 .10. Area 0 Process ID 1.2.1 Suppress hello for 0 neighbor(s) R2# Step 6: Use the show ip ospf neighbor command on R1 to verify that the neighbor adjacency with R2 has been restored.1: Basic OSPF Configuration Lab R2(config)#interface serial0/0/0 R2(config-if)#ip ospf hello-interval 5 R2(config-if)#ip ospf dead-interval 20 R2(config-if)# 01:12:10: %OSPF-5-ADJCHG: Process 1. Wait 20.6.2 192.

This document is Cisco Public Information.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. For PC hosts that are normally connected to other networks (such as the school LAN or to the Internet). Erase the configurations and reload the routers. All contents are Copyright © 1992–2007 Cisco Systems. Page 16 of 24 . All rights reserved. reconnect the appropriate cabling and restore the TCP/IP settings.6.1: Basic OSPF Configuration Lab Task 11: Clean Up. Inc. Disconnect and store the cabling.

255.6.255. or 2600 routers. This document is Cisco Public Information.255. Page 17 of 24 . Step 1: Cable a network that is similar to the one in the Topology Diagram.255.11 192.255.168.255 Default Gateway N/A N/A N/A N/A N/A N/A R2 R3 Task 1: Prepare the Network. Inc.0 255.168. 2500.33 Subnet Mask 255.0 255.255. Step 2: Clear any existing configurations on the routers. All rights reserved.0/24.255.168.1.3 192.255.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.1: Basic OSPF Configuration Lab Scenario B: Configure OSPF on a Multi-access Network Topology Diagram Device R1 Interface Fa0/0 Loopback1 Fa0/0 Loopback1 Fa0/0 Loopback1 IP Address 192.1.255 255. Each router will be configured with an IP address on the Fast Ethernet interface and a loopback address for the router ID.1 192.2 192.255.0 255.31.255.31. All contents are Copyright © 1992–2007 Cisco Systems.255. You can use any current router in your lab as long as it has the required interfaces shown in the topology. the router outputs and interface descriptions will appear different.168.31.1. 192.255 255.168.168.255. Note: If you use 1700. In this topology we have three routers sharing a common Ethernet multiaccess network.168.1.22 192.

All rights reserved. R2. Use the show ip interface brief command to verify that the IP addressing is correct and that the interfaces are active. Enter a process ID of 1 for the process-ID parameter.6. be sure to save the running configuration to the NVRAM of the router. 3. Configure a privileged EXEC mode password. R2. Configure the Ethernet and Loopback interfaces on the R1. This document is Cisco Public Information. Page 18 of 24 . R2.1. and R3 routers according to the following guidelines: 1.255 area 0 R3(config-router)#end R3# Step 2: Use the show ip ospf interface command to verify that the OSPF has been configured correctly and that R3 is the DR. Step 1: Use the router ospf command in global configuration mode to enable OSPF on the R3 router. line protocol is up Internet address is 192. Configure a password for VTY connections Task 3: Configure and Activate Ethernet and Loopback Addresses Step 1: Configure interfaces on R1. Use an area ID of 0 for the OSPF area-id parameter in the network statement.168.0/24 network. Disable DNS lookup. If a new router enters the network after the DR and BDR have already been elected. 4.1. 5. be sure to save the running configuration to the NVRAM of the router. When you have finished. Configure the OSPF process on the router with the highest router ID first to ensure that this router becomes the DR.0. Configure a password for console connections. R3(config)#router ospf 1 R3(config-router)#network 192. When you have finished.0 0. R3#show ip ospf interface FastEthernet0/0 is up. and R3 routers with the IP addresses from the table under the Topology Diagram. Perform basic configuration of the R1. Configure the router to advertise the 192. Step 2: Verify IP addressing and interfaces. 6. it will not become the DR or BDR even if it has a higher OSPF interface priority or router ID than the current DR or BDR. Task 4: Configure OSPF on the DR Router The DR and BDR election process takes place as soon as the first router has its interface enabled on the multiaccess network. Configure a message-of-the-day banner.168.3/24.168.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Use the show ip interface brief command to verify that the IP addressing is correct. Inc. This can happen as the routers are powered-on or when the OSPF network command for that interface is configured. and R3.0. 2.1: Basic OSPF Configuration Lab Task 2: Perform Basic Router Configurations. Configure the router hostname. Area 0 All contents are Copyright © 1992–2007 Cisco Systems.1.

Priority 1 Designated Router (ID) 192. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1.168. maximum is 0 msec Neighbor Count is 0. Step 1: Use the router ospf command in global configuration mode to enable OSPF on the R2 router.1.1.1: Basic OSPF Configuration Lab Process ID 1.168.168. Dead 40.168. Retransmit 5 Hello due in 00:00:03 Index 1/1.33 on FastEthernet0/0 from LOADING to FULL.33. When this packet is received.168.33.1. Network Type BROADCAST.168.1. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1. maximum is 1 All contents are Copyright © 1992–2007 Cisco Systems. All rights reserved. This document is Cisco Public Information. It may take up to 40 seconds for the R3 router to send a hello packet. Retransmit 5 Hello due in 00:00:07 Index 1/1. the neighbor relationship is formed. Step 2: Use the show ip ospf interface command to verify that the OSPF has been configured correctly and that R2 is the BDR.3 Backup Designated Router (ID) 192.0/24 network. Adjacent neighbor count is 0 Suppress hello for 0 neighbor(s) R3# Task 5: Configure OSPF on the BDR Router Configure the OSPF process on the router with the second highest router ID next to ensure that this router becomes the BDR.168. Loading Done Notice that an adjacency is formed with the R3 router. Page 19 of 24 .31.0 0.22.31. R2#show ip ospf interface FastEthernet0/0 is up. Priority 1 Designated Router (ID) 192. Interface address 192.168. Use an area ID of 0 for the OSPF area-id parameter in the network statement.33.22.168.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Area 0 Process ID 1. Hello 10. line protocol is up Internet address is 192. Cost: 1 Transmit Delay is 1 sec.2/24.3 No backup designated router on this network Timer intervals configured. Router ID 192. Inc. State BDR.31. Cost: 1 Transmit Delay is 1 sec.0. Wait 40.2 Timer intervals configured. Hello 10. Network Type BROADCAST.255 area 0 R2(config-router)#end %SYS-5-CONFIG_I: Configured from console by console R2# 00:08:51: %OSPF-5-ADJCHG: Process 1.0.31. Router ID 192.168. Interface address 192.168. Wait 40.31. Enter a process ID of 1 for the process-ID parameter.168. Nbr 192.1. R2(config)#router ospf 1 R2(config-router)#network 192. Interface address 192.1.31. Dead 40. maximum is 1 Last flood scan time is 0 msec.6. State DR. Configure the router to advertise the 192.

3 (Designated Router) Suppress hello for 0 neighbor(s) R2# Step 3: Use the show ip ospf neighbors command in global configuration mode to view information about the other routers in the OSPF area.31.168.168. Dead 40. Loading Done 00:16:12: %OSPF-5-ADJCHG: Process 1. R1#show ip ospf interface FastEthernet0/0 is up. This router will be designated as DRother instead of DR or BDR.33 on FastEthernet0/0 from EXCHANGE to FULL.31. Step 1: Use the router ospf command in global configuration mode to enable OSPF on the R1 router. Hello 10.168.168. Interface address 192. R1(config)#router ospf 1 R1(config-router)#network 192. maximum is 0 msec Neighbor Count is 1.168.1.1.6.0. Retransmit 5 All contents are Copyright © 1992–2007 Cisco Systems. It may take up to 40 seconds for both the R2 and R3 routers to each send a hello packet.22.168. Cost: 1 Transmit Delay is 1 sec.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.1/24.31. Step 2: Use the show ip ospf interface command to verify that the OSPF has been configured correctly and that R1 is a DRother.0.31.1.33. Inc. All rights reserved.0/24 network. Area 0 Process ID 1.11.1: Basic OSPF Configuration Lab Last flood scan time is 0 msec.168.31. line protocol is up Internet address is 192.1. Router ID 192.168.3 Task 6: Configure OSPF on the DRother Router Configure the OSPF process on the router with the lowest router ID last. Exchange Done Notice that an adjacency is formed with the R2 and R3 routers. Interface address 192.2 Timer intervals configured. Wait 40. Nbr 192. Network Type BROADCAST. This document is Cisco Public Information.31.168. R2#show ip ospf neighbor Neighbor ID Pri State Interface 192. Use an area ID of 0 for the OSPF area-id parameter in the network statement.168.168.168. State DROTHER.1.3 Backup Designated Router (ID) 192. Notice that R3 is the DR. Enter a process ID of 1 for the process-ID parameter. Page 20 of 24 .255 area 0 R1(config-router)#end %SYS-5-CONFIG_I: Configured from console by console R1# 00:16:08: %OSPF-5-ADJCHG: Process 1.0 0.1.1. Nbr 192.168.22 on FastEthernet0/0 from LOADING to FULL.33 1 FULL/DR FastEthernet0/0 Dead Time 00:00:33 Address 192. Configure the router to advertise the 192. Adjacent neighbor count is 1 Adjacent with neighbor 192. Priority 1 Designated Router (ID) 192.

22 (Backup Designated Router) Suppress hello for 0 neighbor(s) R1# Step 3: Use the show ip ospf neighbors command in global configuration mode to view information about the other routers in the OSPF area. A priority of 0 causes the router to be ineligible to participate in an OSPF election and become a DR or BDR. R2(config)#interface fastEthernet0/0 R2(config-if)#ip ospf priority 0 R2(config-if)#end Step 4: Shut down and re-enable the FastEthernet0/0 interfaces to force an OSPF election.1. All contents are Copyright © 1992–2007 Cisco Systems. This document is Cisco Public Information. Page 21 of 24 . maximum is 1 Last flood scan time is 0 msec.31.2 192. This is the highest possible priority.6.1: Basic OSPF Configuration Lab Hello due in 00:00:00 Index 1/1. Notice that R3 is the DR and R2 is the BDR.168.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Adjacent neighbor count is 2 Adjacent with neighbor 192. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1. R1(config)#interface fastEthernet0/0 R1(config-if)#ip ospf priority 255 R1(config-if)#end Step 2: Use the ip ospf priority interface command to change the OSPF priority of the R3 router to 100. Shut down the FastEthernet0/0 interface on each of the three routers.33 (Designated Router) Adjacent with neighbor 192. All rights reserved.168.1.31.168.3 Task 7: Use the OSPF Priority to Determine the DR and BDR Step 1: Use the ip ospf priority interface command to change the OSPF priority of the R1 router to 255. R3(config)#interface fastEthernet0/0 R3(config-if)#ip ospf priority 100 R3(config-if)#end Step 3: Use the ip ospf priority interface command to change the OSPF priority of the R2 router to 0.33 1 FULL/DR FastEthernet0/0 Dead Time 00:00:35 00:00:30 Address 192.22 1 FULL/BDR FastEthernet0/0 192. Inc.31.168. maximum is 0 msec Neighbor Count is 2.31. The FastEthernet0/0 interfaces of each of the routers can be shut down and re-enabled to force an OSPF election. R1#show ip ospf neighbor Neighbor ID Pri State Interface 192.168. Notice that as the interfaces are shut down the OSPF adjacencies are lost.168.

Nbr 192. R2(config-if)#no shut R2(config-if)#end %SYS-5-CONFIG_I: Configured from console by console R2# Step 6: Re-enable the FastEthernet0/0 interface on the R1 router. Notice that an adjacency is formed with the R2 router. changed state to down 02:17:06: %OSPF-5-ADJCHG: Process 1. Nbr 192. changed state to administratively down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.33 on FastEthernet0/0 from FULL to Down: Interface down or detached R2: R2(config)#interface fastethernet0/0 R2(config-if)#shutdown %LINK-5-CHANGED: Interface FastEthernet0/0. R1(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0. Nbr 192.11 on FastEthernet0/0 from FULL to Down: Interface down or detached R3: R3(config)#interface fastethernet0/0 R3(config-if)#shutdown %LINK-5-CHANGED: Interface FastEthernet0/0.6. This document is Cisco Public Information. Nbr 192.31. changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.33 on FastEthernet0/0 from FULL to Down: Interface down or detached 02:17:06: %OSPF-5-ADJCHG: Process 1.1: Basic OSPF Configuration Lab R1: R1(config)#interface fastethernet0/0 R1(config-if)#shutdown %LINK-5-CHANGED: Interface FastEthernet0/0. changed state to down 02:17:22: %OSPF-5-ADJCHG: Process 1.22 on FastEthernet0/0 from FULL to Down: Interface down or detached 02:17:22: %OSPF-5-ADJCHG: Process 1.31.168.22 on FastEthernet0/0 from FULL to Down: Interface down or detached 02:17:22: %OSPF-5-ADJCHG: Process 1.31. Nbr 192. It may take up to 40 seconds for the R2 router to send a hello packet.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.168.168. changed state to administratively down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.31.31. Inc.168.168.11 on FastEthernet0/0 from FULL to Down: Interface down or detached Step 5: Re-enable the FastEthernet0/0 interface on the R2 router. changed state to down 02:17:22: %OSPF-5-ADJCHG: Process 1.31. changed state to administratively down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0. changed state to up All contents are Copyright © 1992–2007 Cisco Systems. All rights reserved. Page 22 of 24 .168. Nbr 192.

the R2 router has been set to a state of DRother because the OSPF priority has been set to 0.31. Area 0 Process ID 1.1: Basic OSPF Configuration Lab R1(config-if)#end %SYS-5-CONFIG_I: Configured from console by console R1# 02:31:43: %OSPF-5-ADJCHG: Process 1.31.22 0 FULL/DROTHER FastEthernet0/0 R1# Dead Time 00:00:33 Address 192.31.168. Router ID 192.1.31. Notice that even though the R2 router has a higher router ID than R1. Nbr 192.168. Page 23 of 24 . changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.31.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Loading Done 02:37:36: %OSPF-5-ADJCHG: Process 1.31. Exchange Done Step 7: Use the show ip ospf neighbor command on the R1 router to view the OSPF neighbor information for that router.22 on FastEthernet0/0 from EXCHANGE to FULL. changed state to up R3(config-if)#end %SYS-5-CONFIG_I: Configured from console by console 02:37:32: %OSPF-5-ADJCHG: Process 1.6. Interface address 192. line protocol is up Internet address is 192. Exchange Done Step 9: Use the show ip ospf interface command on the R3 router to verify that R3 has become the BDR. R1#show ip ospf neighbor Neighbor ID Pri State Interface 192. Network Type BROADCAST.1.3/24.168. State BDR.168. It may take up to 40 seconds for both the R1 and R2 routers to each send a hello packet. R3#show ip ospf interface FastEthernet0/0 is up. Cost: 1 Transmit Delay is 1 sec. R3(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0. Priority 100 Designated Router (ID) 192.168.2 Step 8: Re-enable the FastEthernet0/0 interface on the R3 router.33. All rights reserved.168.22 on FastEthernet0/0 from EXCHANGE to FULL. This document is Cisco Public Information.168. Inc.168. Notice that an adjacency is formed with the R1 and R2 routers.1 <output omitted> All contents are Copyright © 1992–2007 Cisco Systems. Nbr 192.11 on FastEthernet0/0 from LOADING to FULL.168. Nbr 192.1.11.

Disconnect and store the cabling. All rights reserved. Page 24 of 24 .1: Basic OSPF Configuration Lab Task 8: Document the Router Configurations. Inc. This document is Cisco Public Information. For PC hosts that are normally connected to other networks (such as the school LAN or to the Internet). Erase the configurations and reload the routers.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.6. capture the following command output to a text file and save for future reference: Running configuration Routing table Interface summarization Output from show ip protocols Task 9: Clean Up. All contents are Copyright © 1992–2007 Cisco Systems. On each router. reconnect the appropriate cabling and restore the TCP/IP settings.

224.255.0.0 255.255.20.56.255.1 PC1 PC2 PC3 NIC NIC NIC 255.255.20.255.255.20.255.255.224.10 172.20.255.252 255.56.0/21 172.6 172.20.56.32.0.252 255.2 172.255.255.20.32.56.56.252 172.20.56.0 All contents are Copyright © 1992–2007 Cisco Systems.20.8/30 Addressing Table Device Interface Fa0/0 HQ S0/0/0 S0/0/1 Lo1 Fa0/0 Branch1 S0/0/0 S0/0/1 Fa0/0 Branch2 S0/0/0 S0/0/1 IP Address 172.2: Challenge OSPF Configuration Lab Topology Diagram 172.56.32.4/30 172.1 172.20.55.255.248.0 255.254 172.5 10.20.20.0. Page 1 of 10 .0 255.0/30 172.1 172.0 255.48.20.255.254 172.1 172.0 Default Gateway N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A 172.48.20.56.255.255.252 255.10.1 255.Lab 11.20.1 Subnet Mask 255.240.20. All rights reserved.254 255. Inc.48.255.252 255.9 172.20.47.240.20.56.20.20.0/19 172.252 255.10. This document is Cisco Public Information.252 172.20.255.255.248.20.255.6.31.0/20 172.255.1 172.1 172.

Task 1: Subnet the Address Space.0. Step 2: Consider the following questions when creating your network design.255.2: Challenge OSPF Configuration Lab Learning Objectives Upon completion of this lab.0/16 network? ____________ 255.0/16 network must be subnetted to provide addresses for the LANs and serial links.0.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Step 1: Examine the network requirements. you will be given a network address that must be subnetted using VLSM to complete the addressing of the network shown in the Topology Diagram. A combination OSPF routing and static routing will be required so that hosts on networks that are not directly connected will be able to communicate with each other. This document is Cisco Public Information.240.0/30 network. The addressing for the Network has the following requirements. 5 How many subnets need to be created from the 172. The 172. o The HQ LAN will require 8000 addresses o The Branch1 LAN will require 4000 addresses o The Branch2 LAN will require 2000 addresses o The links between the routers will require two addresses for each link The loopback address representing the link between the HQ router and the ISP will use the 10. you will be able to: Create an efficient VLSM design given requirements Assign appropriate addresses to interfaces and document Cable a network according to the Topology Diagram Erase the startup configuration and reload a router to the default state Configure routers including OSPF Configure and propagate a static default route Verify OSPF operation Test and verify full connectivity Reflect upon and document the network implementation Scenario In this lab activity.0/16 network? ________ 14006 How many total IP addresses are required from the 172.10. Inc.10.20.6.0 What subnet mask will be used for the HQ LAN subnet? ________________________ 8190 What is the maximum number of host addresses that could be used on this subnet? __________ 255.0 What subnet mask will be used for the Branch1 LAN subnet? ___________________ 4094 What is the maximum number of host addresses that could be used on this subnet? __________ All contents are Copyright © 1992–2007 Cisco Systems. Page 2 of 10 . OSPF area ID of 0 and process ID of 1 will be used in all OSPF configurations. All rights reserved.224.20.20.255.0.

252 What subnet mask will be used for the links between the three routers? ____________________ What is the maximum number of host addresses that could be used on each of these subnets? 2 ________ Step 3: Assign subnetwork addresses to the Topology Diagram. Assign the first valid IP address of the HQ LAN network to the LAN interface of the HQ router.20.20. Assign subnet 1 of the 172.56. Assign appropriate addresses to the device interfaces.2: Challenge OSPF Configuration Lab 255.20. Assign the last valid IP address of the Branch1 LAN network to PC1.0 What subnet mask will be used for the Branch2 LAN subnet? _____________________ 2046 What is the maximum number of host addresses that could be used on this subnet? __________ 255.248. Assign the last valid IP address of the Branch2 LAN network to PC3. Inc. What is the network 172.0/21 network address of this subnet? ______________________ 4.0.20.0/30 network to the Loopback 1 interface on the HQ router.0/16 network to the link between the HQ and Branch1 172.0/16 network to the link between the Branch1 and 172.20.0/20 network address of this subnet? ______________________ 3.10.20.0/16 network to the link between the HQ and Branch2 172.20.20.255. What is the network address of this subnet? ____________________ Task 2: Determine Interface Addresses.0.56.0. Assign subnet 3 of the 172.20. 2. 1. Page 3 of 10 .20.0.0.56. 7. Assign subnet 2 of the 172. 6.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Assign the first valid IP address of the Branch2 LAN network to the LAN interface of the Branch2 router. Assign subnet 5 of the 172. Assign the first valid IP address of the Branch1 LAN network to the LAN interface of the Branch1 router. Assign the last valid IP address of the HQ LAN network to PC2.0/16 network to the Branch2 LAN subnet.0/16 network to the Branch1 LAN subnet. 1.10.0/19 address of this subnet? _________________ 2. 4. What is the network address of this subnet? ___________________________ 5.4/30 routers.0.20.0/30 routers.255.255. 3.6. What is the network address of this subnet? ___________________________ 6. Assign the first valid host address in the 10.8/30 Branch2 routers. What is the 172. This document is Cisco Public Information.0. All contents are Copyright © 1992–2007 Cisco Systems.20. Assign subnet 4 of the 172. 5. All rights reserved. What is the 172.0/16 network to the HQ LAN subnet. Assign subnet 0 of the 172.48.32.

13. This document is Cisco Public Information. Synchronize unsolicited messages and debug output with solicited output and prompts for the console and virtual terminal lines. Perform basic configuration of the BRANCH. Configure an EXEC timeout of 15 minutes. Page 4 of 10 . Inc.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Step 1: Cable a network that is similar to the one in the Topology Diagram. Assign the last valid IP address of the HQ to Branch2 link network to the Serial0/0/1 interface of the Branch2 router. Configure a password for VTY connections. 5. Task 3: Prepare the Network. Step 2: Clear any existing configurations on the routers. HQ. Assign the first valid IP address of the HQ to Branch1 link network to the Serial 0/0/0 interface of the HQ router. 7. 2. 9. Configure a message-of-the-day banner. Assign the last valid IP address of the Branch1 to Branch2 link network to the Serial0/0/0 interface of the Branch2 router.2: Challenge OSPF Configuration Lab 8. 4. Assign the first valid IP address of the Branch1 to Branch2 link network to the Serial 0/0/1 interface of the Branch1 router. 10. 11. 8. 3. Configure a password for console connections. Configure the router hostname. 12. Configure an EXEC mode password. Assign the first valid IP address of the HQ to Branch2 link network to the Serial 0/0/1 interface of the HQ router. All rights reserved.6. You can use any current router in your lab as long as it has the required interfaces as shown in the topology. and ISP routers according to the following guidelines: 1. All contents are Copyright © 1992–2007 Cisco Systems. 6. Document the addresses to be used in the table provided under the Topology Diagram. Task 4: Perform Basic Router Configurations. Assign the last valid IP address of the HQ to Branch1 link network to the Serial0/0/0 interface of the Branch router. Disable DNS lookup.

and PC3 with the IP addresses from the table provided under the Topology Diagram.6. Step 2: Configure the Ethernet interfaces of PC1. What commands are required to accomplish this? config t _____________________________________________________________________________ int s0/0/0 _____________________________________________________________________________ bandwidth 64 _____________________________________________________________________________ int s0/0/1 _____________________________________________________________________________ bandwidth 256 _____________________________________________________________________________ _____________________________________________________________________________ All contents are Copyright © 1992–2007 Cisco Systems. Page 5 of 10 . What commands are required to accomplish this? configure t _____________________________________________________________________________ int s0/0/0 _____________________________________________________________________________ bandwidth 128 _____________________________________________________________________________ int s 0/0/1 _____________________________________________________________________________ bandwidth 64 _____________________________________________________________________________ _____________________________________________________________________________ Step 4: Configure the correct bandwidth for the serial interfaces on the Branch 2 router. This document is Cisco Public Information.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Branch1.2: Challenge OSPF Configuration Lab Task 5: Configure and Activate Serial and Ethernet Addresses. Step 1: Configure the interfaces on the HQ. Step 3: Configure the correct bandwidth for the serial interfaces on the Branch 1 router. PC2. All rights reserved. When you have finished. and Branch2 routers with the IP addresses from the table provided under the Topology Diagram. be sure to save the running configuration to the NVRAM of the router. Inc.

What commands are required to accomplish this? config t _____________________________________________________________________________ int s0/0/0 _____________________________________________________________________________ bandwidth 128 _____________________________________________________________________________ int s0/0/1 _____________________________________________________________________________ bandwidth 256 _____________________________________________________________________________ _____________________________________________________________________________ Task 6: Verify Connectivity to Next Hop Device. and PC3 can ping their respective default gateway. This document is Cisco Public Information.0.20.0 0.0.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. you can test connectivity between two routers and between and end device and its default gateway.3 area 0 _____________________________________________________________________________ network 172.0. Task 7: Configure OSPF Routing on the Branch1 Router. You should NOT have connectivity between end devices yet.56.20.56.32. Branch1.8 0. Step 2: Verify that PC1. and Branch2 routers can ping each of the neighboring routers across the WAN links.0. However.3 area 0 _____________________________________________________________________________ _____________________________________________________________________________ All contents are Copyright © 1992–2007 Cisco Systems.0. PC2. All rights reserved.20. Inc.56. Step 1: Verify that the HQ.0/30 _____________________________________________________________________________ 172. Step 1: Consider the networks that need to be included in the OSPF updates that are sent out by the Branch1 router.0/30 _____________________________________________________________________________ What commands are required to enable OSPF and include the connected networks in the routing updates? router ospf1 _____________________________________________________________________________ network 172.0/20 _____________________________________________________________________________ 172.20.15. Page 6 of 10 . What directly connected networks are present in the Branch1 routing table? 172.2: Challenge OSPF Configuration Lab Step 5: Configure the correct bandwidth for the serial interfaces on the HQ router.6.0 0.32.56.20.20.255 area 0 _____________________________________________________________________________ network 172.

0 0.31.0.0 0.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.20. Page 7 of 10 .0.0 _____________________________________________________________________________ 172.0.4/30 _____________________________________________________________________________ _____________________________________________________________________________ Will the networks of the HQ LAN and the links between the Branch 1 and Branch2 routers need to yes have the subnet mask information included in the network statements? __________ What commands are required to enable OSPF and include the appropriate networks in the routing updates? router ospf1 _____________________________________________________________________________ network 172.0.20.0.20.10.56.0. A static default route will need to be configured to send all packets with destination addresses that are not in the routing table to the loopback address representing the link between the HQ router and the ISP.0 loopback1 _____________________________________________________________________________ What directly connected networks are present in the HQ routing table? 10.0 0.0. Inc. What command is needed to accomplish this? ip route 0.10.2: Challenge OSPF Configuration Lab yes Are there any router interfaces that do not need to have OSPF updates sent out? ____________ What command is used to disable OSPF updates on these interfaces? passive-interface fa0/0 _____________________________________________________________________________ Task 8: Configure OSPF and Static Routing on the HQ Router.56. All rights reserved. This document is Cisco Public Information. Step 1: Consider the type of static routing that is needed on HQ.3 area 0 _____________________________________________________________________________ network 172.0.0.20.4 0.20.0/19 _____________________________________________________________________________ 172.0.0.220.56.255 area 0 _____________________________________________________________________________ network 172.6.56.3 area 0 _____________________________________________________________________________ _____________________________________________________________________________ _____________________________________________________________________________ yes Are there any router interfaces that do not need to have OSPF updates sent out? ____________ What command is used to disable OSPF updates on these interfaces? passive-interface fa0/0 _____________________________________________________________________________ passive-interface loopback1 _____________________________________________________________________________ All contents are Copyright © 1992–2007 Cisco Systems.0/30 _____________________________________________________________________________ 172.

8 0. Page 8 of 10 .56.20.20. If any of the above pings failed. All rights reserved. This document is Cisco Public Information.20.56.255 area 0 _____________________________________________________________________________ network 172.0 0. What directly connected networks are present in the Branch2 routing table? 172.20.56. Refer to your basic troubleshooting techniques used in the [Chapter 1] labs. is it possible to ping the PC3? ___________ The answer to the above questions should be ‘yes’. All contents are Copyright © 1992–2007 Cisco Systems. Inc.20.3 area 0 _____________________________________________________________________________ network 172.0.20.3 area 0 _____________________________________________________________________________ _____________________________________________________________________________ yes Are there any router interfaces that do not need to have OSPF updates sent out? ____________ What command is used to disable OSPF updates on these interfaces? passive-interface fa0/0 _____________________________________________________________________________ Task 10: Verify the Configurations Answer the following questions to verify that the network is operating as expected.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. check your physical connections and configurations.2: Challenge OSPF Configuration Lab The HQ router needs to send the default route information to the Branch1 and Branch2 routers in the OSPF updates.4 0.0.7.0.48.56.48. What command is used to configure this? default-information originate _____________________________________________________________________________ Task 9: Configure OSPF Routing on the Branch2 Router.0. Step 1: Consider the networks that need to be included in the OSPF updates that are sent out by the Branch2 router.6. is it possible to ping PC2? ____________ yes From PC1. yes From PC1.0.8/30 _____________________________________________________________________________ What commands are required to enable OSPF and include the connected networks in the routing updates? router ospf1 _____________________________________________________________________________ network 172.4/30 _____________________________________________________________________________ 172.0/21 _____________________________________________________________________________ 172.

6 _____________________________________________________________________________ _____________________________________________________________________________ _____________________________________________________________________________ What is the gateway of last resort in the routing table of the HQ router? 0.0/21 [110/391] via 172.0/19 [110/391] via 172.20.0.56.0 to network 0.56.20.0. All rights reserved.20.20.56.56. Page 9 of 10 .56.20.4/30 [110/1171] via 172.56.0 _____________________________________________________________________________ What OSPF routes are present in the routing table of the Branch2 router? 172.0.5 _____________________________________________________________________________ 172.20.56.20.48.0/20 [110/782] via 172.0.20.1 to network 0.56.20.0/21 [110/1172] via 172.20.0.5 _____________________________________________________________________________ 172.32.8/30 [110/1952] via 172.20.32.6 _____________________________________________________________________________ 172.5 to network 0.0 _____________________________________________________________________________ What OSPF routes are present in the routing table of the HQ router? 172.0.20.0.2 _____________________________________________________________________________ 172.56.5 _____________________________________________________________________________ _____________________________________________________________________________ _____________________________________________________________________________ What is the gateway of last resort in the routing table of the Branch2 router? 172.56.1 _____________________________________________________________________________ 172. Inc.20.56.0/19 [110/782] via 172.1 _____________________________________________________________________________ _____________________________________________________________________________ _____________________________________________________________________________ What is the gateway of last resort in the routing table of the Branch1 router? 172.20.20.20.0. This document is Cisco Public Information.0/30 [110/1171] via 172.20.2: Challenge OSPF Configuration Lab What OSPF routes are present in the routing table of the Branch1 router? 172.0.6.56.1 _____________________________________________________________________________ 172.20.0/20 [110/1172] via 172.20.48.56.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.20.56.0 _____________________________________________________________________________ All contents are Copyright © 1992–2007 Cisco Systems.0.

why is a path with more than the minimum amount of hops used? bandwidth of the route makes it faster _____________________________________________________________________________ _____________________________________________________________________________ _____________________________________________________________________________ _____________________________________________________________________________ _____________________________________________________________________________ _____________________________________________________________________________ Task 12: Documentation On each router.20.1 branch1 fa0/0 _____________________________________________________________________________ 172.6.20. All rights reserved. All contents are Copyright © 1992–2007 Cisco Systems. use the tracert command to examine the route that is used between PC1 and PC3.5.1 hq s0/0/0 _____________________________________________________________________________ 172.1 Task 13: Clean Up Erase the configurations and reload the routers.55.56. For PC hosts that are normally connected to other networks (such as the school LAN or to the Internet). reconnect the appropriate cabling and restore the TCP/IP settings. Disconnect and store the cabling.txt) file and save for future reference.32.56. Page 10 of 10 .CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.20. What are the hops in the route to PC3? 172. show running-config show ip route show ip interface brief show ip protocols If you need to review the procedures for capturing command output. Inc.20. This document is Cisco Public Information. refer to Lab 1.254 pc3 _____________________________________________________________________________ no Is this the least number of hops that can be used to reach PC3? ____________ If the answer is no. capture the following command output to a text (.2: Challenge OSPF Configuration Lab Task 11: Reflection On PC1.6 branch2 s0/0/1 _____________________________________________________________________________ 172.

255.6.254 10.7.252 255.7.0 255.255.1 172.16.252 255.10.254.16.255.254 Subnet Mask 255.10 172.0 Default Gateway N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A 10.10.255.255.7.255.0 255.254.5 209.6.0 255.0 255.255.252 255.10.10.255.255.16.255.7.3: OSPF Troubleshooting Lab Topology Diagram Addressing Table Device Interface Fa0/0 HQ S0/0/0 S0/0/1 Lo1 Fa0/0 Branch1 S0/0/0 S0/0/1 Fa0/0 Branch2 S0/0/0 S0/0/1 PC1 PC2 PC3 NIC NIC NIC IP Address 10.16.202.10.1 10.255.252 255.5.Lab 11. Inc.255.1 172.0.2 172.1 172.255.1 172.1 All contents are Copyright © 1992–2007 Cisco Systems.255.0 255.254. Page 1 of 11 .4.10.16.252.255.252 255.0.7.10.9 10.4.3.16.255.7.129 10.255.165.255. All rights reserved.255.254.255.7.252 255. This document is Cisco Public Information.252 255.6.254 10.10.6 10.1 10.252.10.

Load the routers with supplied scripts. All rights reserved. Erase. OSPF updates must be disabled on the LAN and Loopback interfaces. all of the hosts on the network should be able to communicate with each other. These scripts contain errors that will prevent end-to-end communication across the network. OSPF routing is configured on the HQ router. Implement solutions to network errors. Inc. Scenario In this lab. All OSPF routers must use a process ID of 1. Clear the configuration on each of the routers using the erase startup-config command and then reload the routers. and then use the appropriate commands to correct the configurations. This document is Cisco Public Information. Discover where communication is not possible.6. The network should also have the following requirements met: x x x x x x x OSPF routing is configured on the Branch1 router. you will be able to: x x x x x x x x x Cable a network according to the Topology Diagram. You will need to troubleshoot each router to determine the configuration errors. and Reload the Routers. Page 2 of 11 . OSPF routing is configured on the Branch2 router. The HQ router must redistribute the default route to the Loopback interface in the routing updates. you will begin by loading configuration scripts on each of the routers. Cable a network that is similar to the one in the Topology Diagram. Step 1: Cable a network. All OSPF routers must be in area 0. Task 2: Load Routers with the Supplied Scripts Step 1: Load the following script onto the Branch1 router: hostname Branch1 ! no ip domain-lookup ! All contents are Copyright © 1992–2007 Cisco Systems. When you have corrected all of the configuration errors.3: OSPF Troubleshooting Lab Learning Objectives Upon completion of this lab. Analyze information to determine why communication is not possible. Gather information about the misconfigured portion of the network along with any other errors.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Propose solutions to network errors. Task 1: Cable. Document the corrected network. Answer no if asked to save changes. Erase the startup configuration and reload a router to the default state. Step 2: Clear the configuration on each router.

254.16.254.0.252 ! router ospf 1 log-adjacency-changes passive-interface Serial0/0/1 network 172. All rights reserved.252 no shutdown ! interface Serial0/0/1 ip address 172.255 area 0 network 172.4 0.0.8 0.6.7.16. Page 3 of 11 .0 0.3.0 0.1 255.16.10.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.0. hostname Branch2 ! interface FastEthernet0/0 ip address 10.7.0.252 no shutdown ! router ospf 1 passive-interface FastEthernet0/0 network 10. This document is Cisco Public Information.3 area 0 network 172.0.255 area 0 ! ip classless ! line con 0 All contents are Copyright © 1992–2007 Cisco Systems.6.255.1.16.3 area 0 network 10.6 255.7.0.16.255.255.10 255.4.255.255.7. Inc.7.255.16.9 255.10.0.1 255.7.0.3 area 0 network 172.16.0 duplex auto speed auto no shutdown ! interface Serial0/0/0 ip address 172.0.4.16.0 duplex auto speed auto no shutdown ! interface Serial0/0/0 ip address 172.255.252 clock rate 64000 no shutdown ! interface Serial0/0/1 ip address 172.255.10.8 0.255.7.2 255.3: OSPF Troubleshooting Lab interface FastEthernet0/0 ip address 10.0 0.6.7.255.0.3 area 0 ! ip classless ! line con 0 line vty 0 4 login ! end Step 2: Load the following script onto the Branch2 router.10.

0.0.0.0 0. hostname HQ ! no ip domain-lookup ! interface FastEthernet0/0 ip address 10.165.255.129 255. is it possible to ping the default gateway? __________ All contents are Copyright © 1992–2007 Cisco Systems.1 255.0 0.202.255.252.7.3 area 0 network 10.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.252 no shutdown ! interface Serial0/0/1 ip address 172.0. is it possible to ping PC2? __________ yes From the host PC1.3: OSPF Troubleshooting Lab line vty 0 4 login ! end Step 3: Load the following script onto the HQ router.0 loopback1 ! line con 0 line vty 0 4 login ! end Task 3: Troubleshoot the Branch1 Router Step 1: Begin troubleshooting at the Host connected to the Branch1 router.252 clock rate 64000 no shutdown ! interface Loopback1 ip address 209.16.255.3 area 0 network 172.252 ! router ospf 1 log-adjacency-changes passive-interface FastEthernet0/0 passive-interface Loopback1 network 172.0.0 0.0.255.0 duplex auto speed auto no shutdown ! interface Serial0/0/0 ip address 172. Page 4 of 11 .4 0.255.10.0.10.16.16.255.7.0. no From the host PC1. Inc.255 area 0 ! ip classless ip route 0.7.1 255.5 255.255. is it possible to ping PC3? __________ yes From the host PC1.0. This document is Cisco Public Information.7.0. All rights reserved.16.7.6.10.

or will it be necessary to troubleshoot the configurations on the other two routers to correct the errors? need to check all routes ____________________________________________________________________________________ ____________________________________________________________________________________ Step 6: Attempt to ping between the hosts again.10. This document is Cisco Public Information. Step 5: Troubleshoot the routing configuration on the Branch1 router. What routes are shown in the routing table? 10.0 is directly connected ____________________________________________________________________________________ 10.6. All rights reserved.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. troubleshoot the interface status of the interfaces again. record any commands that will be necessary to correct the configuration errors.3: OSPF Troubleshooting Lab Step 2: Examine the Branch1 router to find possible configuration errors.10 ____________________________________________________________________________________ 172.8 is directly connected ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Are there any problems with the routing table? not showing all routes ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Does the information in routing table indicate any configuration errors on the Branch1 router.0 [110/65] via 172. From the host PC1.16.4. apply them to the router configuration now.10.0 is directly connected ____________________________________________________________________________________ 172.7. config t ____________________________________________________________________________________ int s0/0/0 ____________________________________________________________________________________ clock rate 64000 ____________________________________________________________________________________ Step 3: If you have recorded any commands above. Are there any problems with the status of the interfaces? s0/0/0 down protocol ____________________________________________________________________________________ ____________________________________________________________________________________ If there are any problems with the configuration of the interfaces.7. Page 5 of 11 . view the summary of the status information for the router interfaces again.7. Begin by viewing the summary of status information for each interface on the router.6.16. is it possible to ping PC2? __________ All contents are Copyright © 1992–2007 Cisco Systems. Inc. Does the information in the interface status summary indicate any configuration errors on the Branch1 no router? __________ If the answer is yes. Step 4: View summary of the status information.16. If any changes were made to the configuration in the previous step.

From the host PC2. Begin by viewing the summary of status information for each interface on the router. is it possible to ping the Serial 0/0/1 interface of the HQ router? __________ Task 4: Troubleshoot the HQ Router Step 1: Begin troubleshooting at the host PC2.252. All rights reserved.0. is it possible to ping PC3? __________ From the host PC2. record any commands that will be necessary to correct the configuration errors.3: OSPF Troubleshooting Lab From the host PC1. Are there any problems with the status of the interfaces? s0/0/1 down ____________________________________________________________________________________ wrong ip for fa0/0 ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ If there are any problems with the configuration of the interfaces. troubleshoot the interface status of the interfaces again. Step 4: View summary of the status information.10. If any changes were made to the configuration in the previous step. Page 6 of 11 . is it possible to ping the Serial 0/0/0 interface of the HQ router? __________ From the host PC1.1 255. view the summary of the status information for the router interfaces again. is it possible to ping PC1? __________ From the host PC2. is it possible to ping PC3? __________ From the host PC1. int fa0/0 ____________________________________________________________________________________ ip address 10.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. This document is Cisco Public Information. Does the information in the interface status summary indicate any configuration errors on the HQ router? no __________ If the answer is yes. Inc.255.0 ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Are there any problems with the interface status that could be due to errors on other parts of the network? hq to branch2 is down ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Step 3: If you have recorded any commands above. apply them to the router configuration now. All contents are Copyright © 1992–2007 Cisco Systems. is it possible to ping the default gateway? __________ Step 2: Examine the HQ router to find possible configuration errors.6.

show ip protocols. Inc.0.0.3: OSPF Troubleshooting Lab Step 5: Troubleshoot the routing configuration on the HQ router.165.2 ____________________________________________________________________________________ 209. and show ip ospf neighbor commands to view information about the OSPF configuration on the HQ router.0 0.10.255 area 0 ____________________________________________________________________________________ network 10. Page 7 of 11 .7.128 is directly connected ____________________________________________________________________________________ 0.2 ____________________________________________________________________________________ 10.0.7.255 area 0 ____________________________________________________________________________________ default-informatin originate ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Are there any problems on the HQ router that could be due to errors on other parts of the network? no route from hq to branch2 ____________________________________________________________________________________ branch 2 not a neighbor ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ All contents are Copyright © 1992–2007 Cisco Systems.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. All rights reserved.16.8 [110/128] via 172.6. This document is Cisco Public Information.7.0.0/23 [110/129] via 172.16.2 ____________________________________________________________________________________ 172.10.0/0 is directly connected ____________________________________________________________________________________ ____________________________________________________________________________________ Are there any problems with the routing table? missing route between hq and branch2 ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Use the show running-configuration.10.0/23 [110/65] via 172.0/22 is directly connected ____________________________________________________________________________________ 10.6. record any commands that will be necessary to correct the configuration errors.0.16.0.10. router ospf1 ____________________________________________________________________________________ no network 10. What routes are shown in the routing table? 10.7.7. Are there any additional problems with the OSPF configuration? add default-information originat ____________________________________________________________________________________ bad mask for 10.16.10.202.7.0 0.4.16.10.3.0 ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ If there are any problems with the OSPF configuration.0 is directly connected ____________________________________________________________________________________ 172.0.0.

is it possible to ping the Serial 0/0/0 interface of the Branch2 router? __________ no From the host PC2. Step 8: Attempt to ping between the hosts again. no From the host PC3. is it possible to ping PC2? __________ yes From the host PC3. Begin by viewing the summary of status information for each interface on the router. Page 8 of 11 . troubleshoot the routing configuration again.6. view the routing information again. troubleshoot the interface status of the interfaces again. All contents are Copyright © 1992–2007 Cisco Systems. is it possible to ping the default gateway? __________ yes From the host PC3. Are there any problems with the status of the interfaces? s0/0/1 administratively down ____________________________________________________________________________________ ____________________________________________________________________________________ If there are any problems with the configuration of the interfaces. int s0/0/1 ____________________________________________________________________________________ no shutdown ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Step 3: If you have recorded any commands above. is it possible to ping the Serial0/0/1 interface of the Branch 2 router? __________ Step 2: Examine the Branch2 router to find possible configuration errors. Step 4: View summary of the status information. apply them to the router configuration now. yes From the host PC2. apply them to the router configuration now. is it possible to ping PC1? __________ yes From the host PC3. All rights reserved. If any changes were made to the configuration in the previous steps. This document is Cisco Public Information. view the summary of the status information for the router interfaces again. no Does the information in routing table indicate any configuration errors on the HQ router? __________ If the answer to either of this is yes. is it possible to ping PC3? __________ yes From the host PC2. is it possible to ping PC1? __________ yes From the host PC2.3: OSPF Troubleshooting Lab Step 6: If you have recorded any commands above. If any changes were made to the configuration in the previous step. is it possible to ping the Serial 0/0/1 interface of the Branch2 router? __________ Task 5: Troubleshoot the Branch2 Router Step 1: Begin troubleshooting at the Host PC3. Step 7: View the routing information. Does the information in the interface status summary indicate any configuration errors on the Branch no router? __________ If the answer is yes.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Inc. record any commands that will be necessary to correct the configuration errors.

What routes are shown in the routing table? 10. Page 9 of 11 . no Does the information in routing table indicate any configuration errors on the Branch2 router? _________ If the answer to this question is yes.4.0.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.4 is directly connected ____________________________________________________________________________________ 172.7.10. If any changes were made to the configuration in the previous steps. troubleshoot the routing configuration again.0.0/22 [110/129] via 172.7.0 [110/128] via 172.16.0 0. view the routing information again.7.0 0.9 ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Are there any problems with the routing table? ____________________________________________________________________________________ ____________________________________________________________________________________ Use the show running-configuration.7.3. record any commands that will be necessary to correct the configuration errors.0/23 [110/65] via 172.0 ____________________________________________________________________________________ ____________________________________________________________________________________ If there are any problems with the OSPF configuration. All rights reserved. and show ip ospf neighbor commands to view information about the OSPF configuration on the Branch2 router.8 is directly connected ____________________________________________________________________________________ 0.10. All contents are Copyright © 1992–2007 Cisco Systems. This document is Cisco Public Information.3: OSPF Troubleshooting Lab Step 5: Troubleshoot the routing configuration on the Branch2 router.6.7. router ospf 1 ____________________________________________________________________________________ no passive-interface s0/0/1 ____________________________________________________________________________________ passive-interface fa0/0 ____________________________________________________________________________________ no network 10.6.10.16.16. Inc.16.0.6.0.9 ____________________________________________________________________________________ 10.0/0 [110/1] via 172.255 area 0 ____________________________________________________________________________________ network 10.6.10.0/23 is directly connected ____________________________________________________________________________________ 172. Step 7: View the routing information.0. apply them to the router configuration now.6. Are there any problems with the OSPF configuration? hq is not in neighbor table ____________________________________________________________________________________ passive-interface should be on the fa0/0 interface ____________________________________________________________________________________ bad mask for 10.16.7.10.1.9 ____________________________________________________________________________________ 172.255 area 0 ____________________________________________________________________________________ ____________________________________________________________________________________ Step 6: If you have recorded any commands above.10. show ip protocols.9 ____________________________________________________________________________________ 10.16.7.16.

This document is Cisco Public Information.txt) file and save for future reference.16.5. x x x x show running-config show ip route show ip interface brief show ip protocols If you need to review the procedures for capturing command output. is it possible to ping the Serial 0/0/0 interface of the Branch1 router? __________ yes From the host PC3.0/0 [110/1] via 172.0/23 is directly connected ____________________________________________________________________________________ 172.16.9 ____________________________________________________________________________________ 10.0 [110/128] via 172.0.0. All rights reserved.5 ____________________________________________________________________________________ 10.16.7.9 ____________________________________________________________________________________ 172.10.7.4 is directly connected ____________________________________________________________________________________ 172.4.0/22 [110/65] via 172.10.3: OSPF Troubleshooting Lab What routes are shown in the routing table? 10.16.7.0/23 [110/65] via 172.0. Page 10 of 11 .7.16.16.7. Use the space below to write a brief description of the errors that you found. is it possible to ping the Serial 0/0/1 interface of the Branch1 router? __________ Task 6: Reflection There were a number of configuration errors in the scripts that were provided for this lab. is it possible to ping PC2? __________ yes From the host PC3. is it possible to ping PC1? __________ yes From the host PC3. refer to Lab 1. yes From the host PC3.CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11.16.6.10.7.7.1 All contents are Copyright © 1992–2007 Cisco Systems. Inc.5 ____________________________________________________________________________________ ____________________________________________________________________________________ Step 8: Attempt to ping between the hosts again.6.8 is directly connected ____________________________________________________________________________________ 0. capture the following command output to a text (. ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Task 7: Documentation On each router.

Page 11 of 11 .6. All rights reserved. For PC hosts that are normally connected to other networks (such as the school LAN or to the Internet).CCNA Exploration Routing Protocols and Concepts: OSPF Lab 11. Inc.3: OSPF Troubleshooting Lab Task 8: Clean Up Erase the configurations and reload the routers. Disconnect and store the cabling. This document is Cisco Public Information. reconnect the appropriate cabling and restore the TCP/IP settings. All contents are Copyright © 1992–2007 Cisco Systems.

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master Your Semester with a Special Offer from Scribd & The New York Times

Cancel anytime.