OSPF Dynamic Routing :
- this dynamic routing protocol is inserteed in Link State category, where the best route has calculated by the number of routers that pass or track bandwidth calculation. to configuring OSRF routing protocol enough to register the network address that is connected directly with the wildcard mask and will be in exchange routing tables to neighbors to update / introduce network address.
- The Software that i use is cisco packet tracer v.5.3
- Step by step Routers Configuration :
R1 :
R1>en
R1#conf t
R1(config)#router ospf 10
R1(config-router)#network 192.168.1.0 0.0.0.255 area 0
R1(config-router)#network 10.1.1.0 0.0.0.3 area 0
R1(config-router)#network 10.1.1.8 0.0.0.3 area 0
R2 :
R2>en
R2#conf t
R2(config)#router ospf 5
R2(config-router)#network 192.168.2.0 0.0.0.255 area 0
R2(config-router)#network 10.1.1.0 0.0.0.3 area 0
R2(config-router)#network 10.1.1.4 0.0.0.3 area 0
R3 :
R3>en
R3#conf t
R3(config)#router ospf 15
R3(config-router)#network 192.168.3.0 0.0.0.255 area 0
R3(config-router)#network 10.1.1.4 0.0.0.3 area 0
R3(config-router)#network 10.1.1.8 0.0.0.3 area 0
Routing table
R1 :
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 3 subnets
C 10.1.1.0 is directly connected, Serial2/0
O 10.1.1.4 [110/1562] via 10.1.1.2, 00:05:37, Serial2/0
[110/1562] via 10.1.1.9, 00:00:36, Serial3/0
C 10.1.1.8 is directly connected, Serial3/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
O 192.168.2.0/24 [110/782] via 10.1.1.2, 00:05:37, Serial2/0
O 192.168.3.0/24 [110/782] via 10.1.1.9, 00:00:36, Serial3/0
R2 :
R2#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 3 subnets
C 10.1.1.0 is directly connected, Serial2/0
C 10.1.1.4 is directly connected, Serial3/0
O 10.1.1.8 [110/1562] via 10.1.1.1, 00:06:12, Serial2/0
[110/1562] via 10.1.1.6, 00:01:06, Serial3/0
O 192.168.1.0/24 [110/782] via 10.1.1.1, 00:06:12, Serial2/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
O 192.168.3.0/24 [110/782] via 10.1.1.6, 00:01:16, Serial3/0
R3 :
R3#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 3 subnets
O 10.1.1.0 [110/1562] via 10.1.1.5, 00:01:43, Serial3/0
[110/1562] via 10.1.1.10, 00:01:33, Serial2/0
C 10.1.1.4 is directly connected, Serial3/0
C 10.1.1.8 is directly connected, Serial2/0
O 192.168.1.0/24 [110/782] via 10.1.1.10, 00:01:33, Serial2/0
O 192.168.2.0/24 [110/782] via 10.1.1.5, 00:01:43, Serial3/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
Connection Testing (PING) :
R1 à PC 2 :
R1#ping 192.168.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 46/68/93 ms
R1 à PC 3 :
R1#ping 192.168.3.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 78/103/125 ms
R3 à PC1 :
R3#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 62/84/110 ms
R3 à PC2 :
R3#ping 192.168.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 78/97/125 ms