0% found this document useful (0 votes)
4 views

DC LAB- Single Area OSPF Configuration (1)

The document outlines the steps for configuring a single area OSPF network topology with three routers, three switches, and host devices. It details the assignment of IP addresses to routers and hosts, configuration of OSPF on each router, and verification through a ping test. Each router is assigned specific router IDs and networks to advertise in OSPF area 0.

Uploaded by

Shreya
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

DC LAB- Single Area OSPF Configuration (1)

The document outlines the steps for configuring a single area OSPF network topology with three routers, three switches, and host devices. It details the assignment of IP addresses to routers and hosts, configuration of OSPF on each router, and verification through a ping test. Each router is assigned specific router IDs and networks to advertise in OSPF area 0.

Uploaded by

Shreya
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

DC LAB- Single Area OSPF Configuration

Step 1: Create the Network Topology

● Objective: Design a topology with 3 routers, 3 switches, and host devices


● Components:
○ Routers: 3 routers (Router 0, Router 1, Router 2, Router 3).(2911 routers)
○ Switches: 3 access switches (for connecting host devices to
routers).(2960-24TT)
○ Hosts: Multiple PCs connected to the network through switches.

Step 2: Assign IP Addresses to Routers and Hosts

● Assign IP addresses to each router interface connected to its respective areas.

For Router 0:

● Interface gig0/0 → IP Address: 30.30.30.1 subnet mask 255.255.255.252(to router 2)


● Interface gig0/1 → IP Address: 10.10.10.1 subnet mask 255.255.255.252(to router 1)
● Interface gig0/2 → IP Address: 192.168.30.1 subnet mask 255.255.255.0(connected to
LAN)
For Router 1 :

● Interface gig0/0 → IP Address: 30.30.30.2 subnet mask 255.255.255.252(to router 0)


● Interface gig0/1 → IP Address: 20.20.20.1 subnet mask 255.255.255.252(to router 2)
● Interface gig0/2 → IP Address: 192.168.20.1 subnet mask 255.255.255.0(connected to
LAN)

For Router 2 :

● Interface gig0/0 → IP Address: 10.10.10.2 subnet mask 255.255.255.252(to router 0)


● Interface gig0/1 → IP Address: 20.20.20.2 subnet mask 255.255.255.252(to router 1)
● Interface gig0/2 → IP Address: 192.168.10.1 subnet mask 255.255.255.0(connected to
LAN)

Step 3: Configure IP Addresses for Host Devices

● Each host device connected to the routers (via switches) must be in the respective
subnet of the connected routers.

For PC0

● IP Address: 192.168.30.10
● Default Gateway: 192.168.30.1

For PC1

● IP Address: 192.168.20.10
● Default Gateway: 192.168.20.1

For PC2

● IP Address: 192.168.10.10
● Default Gateway: 192.168.10.1

Step 4: Configure OSPF on Each Router

Router 0:
1. Access Router CLI:
○ Enter configuration mode:
Router> enable Router# configure terminal
2. Start OSPF Process:
○ Initiate OSPF:
Router(config)# router ospf 15
3. Set Router ID:
○ Router ID for Router 1:
Router(config-router)# router-id 1.1.1.1
4. Advertise Networks in Area 1:
○ Router(config-router)# network 192.168.30.0 0.0.0.255 area 0
○ Router(config-router)# network 10.10.10.0 0.0.0.3 area 0
○ Router(config-router)# network 30.30.30.0 0.0.0.3 area 0
○ Router(config-router)#exit
○ Router(config)#do wr

Router 2 :

5. Access Router CLI:


○ Enter configuration mode:
Router> enable Router# configure terminal
6. Start OSPF Process:
○ Initiate OSPF:
Router(config)# router ospf 15
7. Set Router ID:
○ Router ID for Router 2:
Router(config-router)# router-id 2.2.2.2
8. Advertise Networks in Area 1:
○ Router(config-router)# network 192.168.10.0 0.0.0.255 area 0
○ Router(config-router)# network 10.10.10.0 0.0.0.3 area 0
○ Router(config-router)# network 20.20.20.0 0.0.0.3 area 0
○ Router(config-router)#exit
○ Router(config)#do wr

Router 1 :

1. Access Router CLI:


○ Enter configuration mode:
Router> enable Router# configure terminal
2. Start OSPF Process:
○ Initiate OSPF:
Router(config)# router ospf 15
3. Set Router ID:
○ Router ID for Router 1:
Router(config-router)# router-id 3.3.3.3
4. Advertise Networks in Area 1:
○ Router(config-router)# network 192.168.20.0 0.0.0.255 area 0
○ Router(config-router)# network 30.30.30.0 0.0.0.3 area 0
○ Router(config-router)# network 20.20.20.0 0.0.0.3 area 0
○ Router(config-router)#exit
○ Router(config)#do wr

Step 5: Verify OSPF Configuration

1. Ping Test:
○ Ping PC2 from PC1
■ For example:
ping 192.168.10.10

You might also like