Lab - Multi-Area OSPFATech
Lab - Multi-Area OSPFATech
Topology Diagram
ATech Base Topology 2
Area 0 Area 1
atech_R1 atech_R2 atech_R3
.1 12.12.12.0 /24 .2 .2 23.23.23.0 /24 .3
R1 Fa0/0 Fa0/1 R2 Fa0/0 Fa0/1 R3
.1 .1 .1
Fa1/1 Fa1/1 Fa1/1
10.0.0.0/24 172.16.0.0/24 192.168.0.0/24
Task
Task: Configure OSPF in Area0 and Area1 (on R1, R2 and R3) so that PC1 from Area1 could Ping PC2 and PC3 in
Area1 successfully
Related Info:
‐ OSPF Process ID: 1
‐ OSPF Areas: Area0, Area1
‐ All Loopback IP’s, Interface IP’s are mentioned in this topology Diagram
‐ PC IP/Gateway, Router Interface IP’s and Loopback IP’s are already configured (so that you can focus
on the OSPF configuration)
‐ PC2 should be configured in Area0
Solution
Step1: Enable OSPF Protocol on all Routers. Assign Process ID 1 to this new OSPF instance.
R1(config)#router ospf 1
R2(config)#router ospf 1
R3(config)#router ospf 1
Step2: Enable OSPF on Router Interfaces connected to each other in relevant Areas:
R1(config-router)#network 12.12.12.0 0.0.0.255 area 0
R2(config-router)#network 12.12.12.0 0.0.0.255 area 0
facebook.com/ATechIT1 Youtube.com/c/ATechIT Linkedin.com/company/ATechIT/ Aurumme.com/ATech Your Feedback, Comments are Welcomed: [email protected]
R2(config-router)#network 23.23.23.0 0.0.0.255 area 1
R3(config-router)#network 23.23.23.0 0.0.0.255 area 1
facebook.com/ATechIT1 Youtube.com/c/ATechIT Linkedin.com/company/ATechIT/ Aurumme.com/ATech Your Feedback, Comments are Welcomed: [email protected]
Verification
✓ Verification1: Verify the connectivity and routes using Show commands on R1, R2 and R3 as in below:
R1#show ip route
R2#show ip route
R3#show ip route
It shows that our configuration is successful because both routers are exchanging their routes with each other now. R1
has routes to reach R2’s/R3’s subnets(PC2/PC3) and similar for R2 and R3 as in below:
✓ Verification2: Verify the connectivity and routes using Ping from PC1 to PC2 and from PC2 to PC1:
PC1#ping 172.16.0.2
PC1#ping 192.168.0.2
PC2#ping 10.0.0.2
PC2#ping 192.168.0.2
PC3#ping 10.0.0.2
PC3#ping 172.16.0.2
Ping works successfully. Some ping results are shown as in below. It means that our Configuration has been successful:
facebook.com/ATechIT1 Youtube.com/c/ATechIT Linkedin.com/company/ATechIT/ Aurumme.com/ATech Your Feedback, Comments are Welcomed: [email protected]
Other relevant OSPF Verification/Show Commands:
R1#show ip protocols (check the current OSPF Router ID’s & other detail)
R1#show ip ospf (check the current OSPF Detail and Router ID)
R1#show ip ospf interface (check the current OSPF interfaces on a Router)
R1#show ip ospf neighbor (check the OSPF neighbor’s detail)
facebook.com/ATechIT1 Youtube.com/c/ATechIT Linkedin.com/company/ATechIT/ Aurumme.com/ATech Your Feedback, Comments are Welcomed: [email protected]
Complete Solution
Below is complete solution containing all commands from scratch if you want to simulate yourself:
Complete Solution
Atech_R1 Atech_R2
atech_R1(config)#hostname atech_R1 atech_R2(config)#hostname atech_R2
atech_R2(config)#interface FastEthernet0/1
atech_R2(config-if)#ip address 12.12.12.2 255.255.255.0
atech_R2(config-if)#no shutdown
Atech_R3
atech_R1(config)#hostname atech_R1
atech_R1(config)#interface Loopback0
atech_R1(config-if)#ip address 3.3.3.3 255.255.255.255
atech_R1(config)#interface FastEthernet0/1
atech_R1(config-if)#ip address 23.23.23.3 255.255.255.0
atech_R1(config-if)#no shutdown
atech_R1(config)#interface FastEthernet1/1
atech_R1(config-if)#ip address 192.168.0.1 255.255.255.0
atech_R1(config-if)#no shutdown
atech_R1(config)#router ospf 1
atech_R1(config-router)# network 23.23.23.0 0.0.0.255 area 1
atech_R1(config-router)#network 192.168.0.0 0.0.0.255 area 1
Relevant Files
facebook.com/ATechIT1 Youtube.com/c/ATechIT Linkedin.com/company/ATechIT/ Aurumme.com/ATech Your Feedback, Comments are Welcomed: [email protected]
GNS3 File:
https://www.facebook.com/groups/ATechIT/252189065339285/
https://www.facebook.com/groups/ATechIT/252189378672587/
facebook.com/ATechIT1 Youtube.com/c/ATechIT Linkedin.com/company/ATechIT/ Aurumme.com/ATech Your Feedback, Comments are Welcomed: [email protected]