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

Routing Lab 6

The document outlines the configuration of basic OSPF routing between two routers connected via two subnets. It describes configuring interface IPs, OSPF routing process and areas on each router. It also describes connecting two desktops to each router via switches and configuring the desktop IPs and default gateways to test connectivity across the OSPF network.

Uploaded by

Kristy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Routing Lab 6

The document outlines the configuration of basic OSPF routing between two routers connected via two subnets. It describes configuring interface IPs, OSPF routing process and areas on each router. It also describes connecting two desktops to each router via switches and configuring the desktop IPs and default gateways to test connectivity across the OSPF network.

Uploaded by

Kristy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Basic OSPF Configuration

Router configuration on Router 1

1. Enable password Cisco


2. Assign ip address 192.168.1.254 with subnet mask 255.255.255.0 to int fa0/0
3. Assign ip address 192.168.2.1 with subnet mask 255.255.255.252 to int fa1/0
4. Issue no shut command on both interfaces
5. Configure OSPF with id 1 on router
Router(config)# router ospf 1
6. Create area 0 and assign networks to ospf area 0
Router(config-router)# network 192.168.1.254 0.0.0.255 area 0
Router(config-router)#network 192.168.2.1 0.0.0.255 area 0

Router configuration on Router 2

1. Enable password Cisco


2. Assign ip address 192.168.3.254 with subnet mask 255.255.255.0 to int fa0/0
3. Assign ip address 192.168.2.2 with subnet mask 255.255.255.252 to int fa1/0
4. Issue no shut command on both interfaces
5. Configure OSPF with id 1 on router
Router(config)# router ospf 1
6. Create area 0 and assign networks to ospf area 0
Router(config-router)# network 192.168.3.254 0.0.0.255 area 0
Router(config-router)#network 192.168.2.2 0.0.0.255 area 0

Configuration on Switch1

1. Create vlan 2
2. Assign interface 1 and 2 on your switch as access port
3. Assign both interfaces to vlan 2
4. Assign ip address 192.168.1.253 with subnet mask 255.255.255.0 to your vlan 2
5. Issue no shut commands on vlan 2 and interfaces 1 ,2

Configuration on Switch2

1. Create vlan 2
2. Assign interface 1 and 2 on your switch as access port
3. Assign both interfaces to vlan 2
4. Assign ip address 192.168.3.253 with subnet mask 255.255.255.0 to your vlan 2
5. Issue no shut commands on vlan 2 and interfaces 1 ,2

Configuration on Desktop 1
1. Connect your laptop to switch 1 interface 2
2. Go to network properties and assign the following ip and gateway to your laptop
IP: 192.168.1.1
Subnetmask : 255.255.255.0
Default-gateway: 192.168.1.254
Configuration on Desktop 2
1. Connect your laptop to switch 2 interface 2
2. Go to network properties and assign the following ip and gateway to your laptop
IP: 192.168.3.1
Subnetmask : 255.255.255.0
Default-gateway: 192.168.3.254
Capture the following results:

Ping from your laptop to the following ip


192.168.1.254
192.168.2.1
192.168.2.2
192.168.3.254
192.168.3.1
192.168.1.1
On your router capture the following
Sh ip ospf database
Sh ip route

You might also like