ospf routing configuration lab in packet tracer using Subnetting

Posted: 17 Jun 2020 in CCNA
Tags: ,

ospf routing configuration lab in packet tracer using Subnetting.

This is an IP subnetting lab with examples showing how to configure OSPF Routing with subnetted IP.Here for example i have taken a class C IP 192.168.10.0/27 and subnetted it. You can clearly see the subnetting in below image.

Using subnetting i have Divided 192.168.10.0 Network in to 8 Parts as you can see in below subnetting chart.

Now if you want to communicate these ip with each other then you need to configure Routing. and here I have used OSPF routing for example to show the communication using subnetting.

IP Subnetting with OSPF Routing Configuration Explained: Packet Tracer Lab

IP subnetting lab with examples

Using the above chart i have created the below network topology.And I will perform ospf routing on this topology.

 

Note: in ospf we use Wild card Mask instead of Subnet Mask.

Wildcard Mask= inverse of subnet Mask.

so in this Lab you will always see wild card mask in place of subnet mask.

OSPF Routing Configuration Lab using subnetting will be done in Three steps:

STEP 1:Do the subnetting and prepare the subnetting chart.

STEP 2:Assign IP Address according to subnetted Network on all the Routers and PC.

STEP 3: Do OSPF Routing on these subnetted IP.

 

OSPF routing Configuration on Router R0 using subnetting

 

R0>enable

R0#config t

Enter configuration commands, one per line. End with CNTL/Z.

R0(config)#router ospf 1

R0(config-router)#net 192.168.10.0 0.0.0.31 area 1

R0(config-router)#net 192.168.10.32 0.0.0.31 area 1

R0(config-router)#net 192.168.10.160 0.0.0.31 area 1

 

OSPF routing Configuration on Router R1 using subnetting

 

R1>enable

R1#config t

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#router ospf 2

R1(config-router)#net 192.168.10.160 0.0.0.31 area 1

R1(config-router)#net 192.168.10.224 0.0.0.31 area 1

R1(config-router)#net 192.168.10.128 0.0.0.31 area 1

R1(config-router)#net 192.168.10.192 0.0.0.31 area 1

R1(config-router)#

 

OSPF routing Configuration on Router R2 using subnetting

 

R2>enable

R2#config t

Enter configuration commands, one per line. End with CNTL/Z.

R2(config)#router ospf 3

R2(config-router)#net 192.168.10.192 0.0.0.31 area 1

R2(config-router)#net 192.168.10.64 0.0.0.31 area 1

R2(config-router)#net 192.168.10.96 0.0.0.31 area 1

R2(config-router)#

 

OSPF routing Configuration on Router R3 using subnetting

 

R3>enable

R3#config t

Enter configuration commands, one per line. End with CNTL/Z.

R3(config)#router ospf 4

R3(config-router)#net 192.168.10.34 0.0.0.31 area 1

R3(config-router)#net 192.168.10.64 0.0.0.31 area 1

R3(config-router)#net 192.168.10.224 0.0.0.31 area 1

R3(config-router)#

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.