Configure The Infrastructure Using The OSPF protocol – LAB Guide

Configure The Infrastructure Using The OSPF protocol – LAB Guide

Download
Download is available until [expire_date]
  • Version
  • Download 5
  • File Size 1.44 MB
  • File Count 1
  • Create Date July 21, 2024
  • Last Updated July 21, 2024

Here's a step-by-step lab guide to help you learn the OSPF (Open Shortest Path First) protocol in IP networking:

Lab Guide: Learning OSPF Protocol

Objective: By the end of this lab, you will be able to configure and verify OSPF on Cisco routers, understand OSPF areas, and troubleshoot common OSPF issues.

Lab Topology:
Devices: 3 Routers (R1, R2, R3), 3 PCs (PC1, PC2, PC3)

Connections:
• R1 to R2
• R2 to R3
• R1 to PC1
• R2 to PC2
• R3 to PC3

Step 1: Prepare the Network

1. Cable the Network: Connect the routers and PCs as per the topology diagram.
2. Erase Existing Configurations: Ensure all routers are reset to their default state.
Router> enable
Router# write erase
Router# reload

Step 2: Basic Router Configuration

1. Configure Hostnames and Passwords:
Router(config)# hostname R1
R1(config)# enable secret cisco
R1(config)# line console 0
R1(config-line)# password cisco
R1(config-line)# login
R1(config-line)# exit
R1(config)# line vty 0 4
R1(config-line)# password cisco
R1(config-line)# login
R1(config-line)# exit

2. Disable DNS Lookup:
R1(config)# no ip domain-lookup

Step 3: Configure and Activate Interfaces

1. Assign IP Addresses:
R1(config)# interface FastEthernet0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# exit

2. Repeat for All Interfaces on R1, R2, and R3.

Step 4: Configure OSPF

1. Enable OSPF on Routers:
R1(config)# router ospf 1
R1(config-router)# network 192.168.1.0 0.0.0.255 area 0

2. Assign OSPF Router IDs:
R1(config-router)# router-id 1.1.1.1

3. Repeat for R2 and R3 with appropriate network addresses and router IDs.

Step 5: Verify OSPF Configuration

1. Check OSPF Neighbors:
R1# show ip ospf neighbor

2. Verify OSPF Routes:
R1# show ip route ospf

2. Check OSPF Database:
R1# show ip ospf database

Step 6: Troubleshooting OSPF

1. Check Interface Status:
R1# show ip interface brief

2. Verify OSPF Process:
R1# show ip ospf

3. Debug OSPF Events:
R1# debug ip ospf events

Additional Tasks:

1. Configure OSPF Hello and Dead Timers:
R1(config-if)# ip ospf hello-interval 10
R1(config-if)# ip ospf dead-interval 40

2. Configure OSPF on a Multi-access Network:
R1(config-if)# ip ospf priority 100

3. Understand OSPF Election Process: Observe the election of the Designated Router (DR) and Backup Designated Router (BDR).

By following this guide, you should gain a solid understanding of how to configure and troubleshoot OSPF in a network. If you have any specific questions or run into issues, feel free to ask!

Spread the word:

Leave a Reply