OSPF-Multi-Area-IPv4
Everyone must use this link for Practical of OSPF-Multi-Area-IPv4:)
R-1 Configuration:-
-------------------
Router(config)#hostname R-1
R-1(config)#interface Serial1/0
R-1(config-if)#ip address 192.168.20.1 255.255.255.0
R-1(config-if)#clock rate 72000
R-1(config-if)#no shutdown
R-1(config)#interface FastEthernet0/0
R-1(config-if)#ip address 192.168.10.1 255.255.255.0
R-1(config-if)#no shutdown
R-2 Configuration:-
-------------------
Router(config)#hostname R-2
R-2(config)#interface Serial1/0
R-2(config-if)#ip address 192.168.20.2 255.255.255.0
R-2(config-if)#no shutdown
R-2(config)#interface Serial1/1
R-2(config-if)#ip address 192.168.40.1 255.255.255.0
R-2(config-if)#clock rate 72000
R-2(config-if)#no shutdown
R-2(config)#interface FastEthernet0/0
R-2(config-if)#ip address 192.168.30.1 255.255.255.0
R-2(config-if)#no shutdown
R-3 Configuration:-
-------------------
Router(config)#hostname R-3
R-3(config)#interface Serial1/0
R-3(config-if)#ip address 192.168.40.2 255.255.255.0
R-3(config-if)#no shutdown
R-3(config)#interface FastEthernet0/0
R-3(config-if)#ip address 192.168.50.1 255.255.255.0
R-3(config-if)#no shutdown
OSPF Configuration On R-1:-
----------------------------
R-1(config)#router ospf 1
R-1(config-router)#network 192.168.10.0 0.0.0.255 area 0
R-1(config-router)#network 192.168.20.0 0.0.0.255 area 0
OSPF Configuration On R-2:-
----------------------------
R-2(config)#router ospf 1
R-2(config-router)#network 192.168.30.0 0.0.0.255 area 0
R-2(config-router)#network 192.168.20.0 0.0.0.255 area 0
R-2(config-router)#network 192.168.40.0 0.0.0.255 area 10
OSPF Configuration On R-3:-
----------------------------
R-3(config)#router ospf 1
R-3(config-router)#network 192.168.40.0 0.0.0.255 area 10
R-3(config-router)#network 192.168.50.0 0.0.0.255 area 10
Ping PC_(192.168.10.2) to PC_(192.168.50.2):-
---------------------------------------------------
C:\>ping 192.168.50.2
Pinging 192.168.50.2 with 32 bytes of data:
Request timed out.
Reply from 192.168.50.2: bytes=32 time=20ms TTL=125
Reply from 192.168.50.2: bytes=32 time=16ms TTL=125
Reply from 192.168.50.2: bytes=32 time=15ms TTL=125
Ping statistics for 192.168.50.2:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 15ms, Maximum = 20ms, Average = 17ms
Check Protocol Status:-
--------------------------
R-3#show ip protocols
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 192.168.50.1
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
192.168.40.0 0.0.0.255 area 10
192.168.50.0 0.0.0.255 area 10
Routing Information Sources:
Gateway Distance Last Update
192.168.30.1 110 00:00:07
192.168.50.1 110 00:00:07
Distance: (default is 110)
Thanks & Regards
Abhishek Pathak
+91-9621134014
abhishek9621134014@outlook.com
No comments:
Post a Comment