Lab 5 - Part 2 - Adding Additional Routers To The OSPF Network
Continuing on from Lab 5 - Part 1 - Configuring a Simple Multi Area OSPF Network, we'll now add a few more routers to the network in preperation for some more advanced OSPF features in Part 3.

We'll first configure our router interfaces:
R2(config-if)#int f1/0 R2(config-if)#no ip address R2(config-if)#ip address 10.2.3.1 255.255.255.252 R2(config-if)#int fa2/0 R2(config-if)#no ip address R2(config-if)#ip address 10.2.4.1 255.255.255.252 R2(config-if)#no shut R3(config)#int f0/0 R3(config-if)#ip address 10.2.3.2 255.255.255.252 R3(config-if)#no shutdown R3(config-if)#interface fa2/0 R3(config-if)#ip address 10.3.5.1 255.255.255.252 R3(config-if)#no shutdown R3(config-if)#interface fa3/0 R3(config-if)#ip address 10.3.6.1 255.255.255.252 R3(config-if)#no shutdown R3(config-if)#interface loopback 0 R3(config-if)#ip address 172.16.3.1 255.255.255.0 R3(config-if)#ip ospf network point-to-point R4(config)#interface fa0/0 R4(config-if)#ip address 10.2.4.2 255.255.255.252 R4(config-if)#no shut R4(config-if)#int fa1/0 R4(config-if)#ip address 10.4.5.1 255.255.255.252 R4(config-if)#no shut R4(config-if)#int l0 R4(config-if)#ip address 172.16.4.1 255.255.255.0 R4(config-if)#ip ospf network point-to-point R5(config)#interface fastethernet 0/0 R5(config-if)#ip address 10.3.5.2 255.255.255.252 R5(config-if)#no shut R5(config-if)#interface fastethernet 1/0 R5(config-if)#ip address 10.4.5.2 255.255.255.252 R5(config-if)#no shut R5(config-if)#interface loopback 0 R5(config-if)#ip address 172.16.5.1 255.255.255.0 R5(config-if)#ip ospf network point-to-point R6(config)#interface fastethernet 0/0 R6(config-if)#ip address 10.3.6.2 255.255.255.252 R6(config-if)#no shutdown R6(config-if)#interface loopback 0 R6(config-if)#ip address 172.16.6.1 255.255.255.0 R6(config-if)#ip ospf network point-to-point
Next we'll configure OSPF on our new routers:
R2(config)#router ospf 1 R2(config-router)#no network 10.2.2.0 0.0.0.15 area 20 R2(config-router)#network 10.2.3.0 0.0.0.3 area 20 R2(config-router)#network 10.2.4.0 0.0.0.3 area 20 R2(config-router)#router-id 2.2.2.2 R3(config-if)#router ospf 1 R3(config-router)#network 10.0.0.0 0.255.255.255 area 20 R3(config-router)#network 172.16.3.0 0.0.0.255 area 20 R3(config-router)#router-id 3.3.3.3 R4(config-if)#router ospf 1 R4(config-router)#network 10.0.0.0 0.255.255.255 area 20 R4(config-router)#network 172.16.4.0 0.0.0.255 area 20 R4(config-router)#router-id 4.4.4.4 R5(config-if)#router ospf 1 R5(config-router)#network 10.0.0.0 0.255.255.255 area 20 R5(config-router)#network 172.16.5.0 0.0.0.255 area 20 R5(config-router)#router-id 5.5.5.5 R6(config-if)#router ospf 1 R6(config-router)#network 10.0.0.0 0.255.255.255 area 20 R6(config-router)#network 172.16.6.0 0.0.0.255 area 20 R6(config-router)#router-id 6.6.6.6
Now that all our routers are configured lets verify our setup:
R0's routing table:
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 4 subnets
O IA 172.16.4.0 [110/4] via 10.0.0.2, 01:18:05, FastEthernet0/0
O IA 172.16.5.0 [110/5] via 10.0.0.2, 00:25:56, FastEthernet0/0
O IA 172.16.6.0 [110/5] via 10.0.0.2, 00:26:26, FastEthernet0/0
O IA 172.16.3.0 [110/4] via 10.0.0.2, 00:25:25, FastEthernet0/0
10.0.0.0/30 is subnetted, 7 subnets
O IA 10.1.1.0 [110/2] via 10.0.0.2, 01:18:05, FastEthernet0/0
C 10.0.0.0 is directly connected, FastEthernet0/0
O IA 10.4.5.0 [110/4] via 10.0.0.2, 01:18:05, FastEthernet0/0
O IA 10.2.3.0 [110/3] via 10.0.0.2, 01:18:05, FastEthernet0/0
O IA 10.3.5.0 [110/4] via 10.0.0.2, 01:18:05, FastEthernet0/0
O IA 10.2.4.0 [110/3] via 10.0.0.2, 01:18:05, FastEthernet0/0
O IA 10.3.6.0 [110/4] via 10.0.0.2, 01:17:22, FastEthernet0/0
C 192.168.1.0/24 is directly connected, Loopback0Ping from the left edge router R0 to the right edge router R6:
R0#ping 172.16.6.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.6.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 32/44/64 ms
We'll run a traceroute, again from R0 - R6:
R0#traceroute 172.16.6.1 Type escape sequence to abort. Tracing the route to 172.16.6.1 1 10.0.0.2 8 msec 12 msec 28 msec 2 10.1.1.2 44 msec 56 msec 12 msec 3 10.2.3.2 16 msec 32 msec 32 msec 4 10.3.6.2 24 msec * 44 msec
Routing table on R5:
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 4 subnets
O 172.16.4.0 [110/2] via 10.4.5.1, 00:27:39, FastEthernet1/0
C 172.16.5.0 is directly connected, Loopback0
O 172.16.6.0 [110/3] via 10.3.5.1, 00:27:39, FastEthernet0/0
O 172.16.3.0 [110/2] via 10.3.5.1, 00:27:39, FastEthernet0/0
10.0.0.0/30 is subnetted, 7 subnets
O IA 10.1.1.0 [110/3] via 10.4.5.1, 00:27:39, FastEthernet1/0
[110/3] via 10.3.5.1, 00:27:39, FastEthernet0/0
O IA 10.0.0.0 [110/4] via 10.4.5.1, 00:27:39, FastEthernet1/0
[110/4] via 10.3.5.1, 00:27:39, FastEthernet0/0
C 10.4.5.0 is directly connected, FastEthernet1/0
O 10.2.3.0 [110/2] via 10.3.5.1, 00:27:39, FastEthernet0/0
C 10.3.5.0 is directly connected, FastEthernet0/0
O 10.2.4.0 [110/2] via 10.4.5.1, 00:27:40, FastEthernet1/0
O 10.3.6.0 [110/2] via 10.3.5.1, 00:27:40, FastEthernet0/0
O IA 192.168.1.0/24 [110/5] via 10.4.5.1, 00:27:40, FastEthernet1/0
[110/5] via 10.3.5.1, 00:27:40, FastEthernet0/0We'll ping from R5 - R0 which has two equal cost routes to the 192.168.1.0/24 network:
R5#ping 192.168.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 16/44/88 ms
We'll then run a traceroute, again from R5 - R0:
R5#traceroute 192.168.1.1
Type escape sequence to abort.
Tracing the route to 192.168.1.1
1 10.4.5.1 24 msec
10.3.5.1 8 msec
10.4.5.1 8 msec
2 10.2.3.1 4 msec
10.2.4.1 28 msec
10.2.3.1 8 msec
3 10.1.1.1 4 msec 40 msec 44 msec
4 10.0.0.1 32 msec * 40 msec




