Basic Configuration Router 1
— System Configuration Dialog —
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#int s0/0/0
R1(config-if)#ip add 192.168.0.1 255.255.255.252
R1(config-if)#clock rate 64000
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#int loopback 1
R1(config-if)#ip add 10.0.1.1 255.255.255.0
R1(config-if)#int loopback 2
R1(config-if)#ip add 10.0.2.1 255.255.255.0
R1(config-if)#int loopback 3
R1(config-if)#ip add 10.0.3.1 255.255.255.0
R1(config-if)#exit
R1(config)#exit
Basic Configuration on Router 2
— System Configuration Dialog —
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>
Router>enable
Router#configure terminal
Router(config)#hostname R2
R2(config)#int s0/1/0
R2(config-if)#ip add 192.168.0.2 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#int s0/0/0
R2(config-if)#ip add 192.168.0.5 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#int loopback 1
R2(config-if)#ip add 20.0.1.1 255.255.255.0
R2(config-if)#int loopback 2
R2(config-if)#ip add 20.0.2.1 255.255.255.0
R2(config-if)#int loopback 3
R2(config-if)#ip add 20.0.3.1 255.255.255.0
R2(config-if)#exit
R2(config)#exit
Basic Configuration on Router 3
— System Configuration Dialog —
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#configure terminal
Router(config)#hostname R3
R3(config)#int s0/1/0
R3(config-if)#ip add 192.168.0.6 255.255.255.252
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#int loopback 1
R3(config-if)#ip add 30.0.1.1 255.255.255.0
R3(config-if)#int loopback 2
R3(config-if)#ip add 30.0.2.1 255.255.255.0
R3(config-if)#int loopback 3
R3(config-if)#ip add 30.0.3.1 255.255.255.0
R3(config-if)#exit
R3(config)#exit
OSPF Configuration on Router 1
R1#show ip route connected
C 10.0.1.0/24 is directly connected, Loopback1
C 10.0.2.0/24 is directly connected, Loopback2
C 10.0.3.0/24 is directly connected, Loopback3
C 192.168.0.0/30 is directly connected, Serial0/0/0
R1#configure terminal
R1(config)#router ospf 20
R1(config-router)#network 10.0.1.0 0.0.0.255 area 1
R1(config-router)#network 10.0.2.0 0.0.0.255 area 1
R1(config-router)#network 10.0.3.0 0.0.0.255 area 1
R1(config-router)#network 192.168.0.0 0.0.0.3 area 1
R1(config-router)#exit
R1(config)#exit
R1#write
OSPF Configuration on Router 2
R2#show ip route connected
C 20.0.1.0/24 is directly connected, Loopback1
C 20.0.2.0/24 is directly connected, Loopback2
C 20.0.3.0/24 is directly connected, Loopback3
C 192.168.0.0/30 is directly connected, Serial0/1/0
C 192.168.0.4/30 is directly connected, Serial0/0/0
R2#configure terminal
R2(config)#router ospf 20
R2(config-router)#network 20.0.1.0 0.0.0.255 area 1
R2(config-router)#network 20.0.2.0 0.0.0.255 area 1
R2(config-router)#network 20.0.3.0 0.0.0.255 area 1
R2(config-router)#network 192.168.0.0 0.0.0.3 area 1
R2(config-router)#network 192.168.0.4 0.0.0.3 area 1
R2(config-router)#exit
R2(config)#exit
R2#write
OSPF Configuration on Router 3
R3#show ip route connected
C 30.0.1.0/24 is directly connected, Loopback1
C 30.0.2.0/24 is directly connected, Loopback2
C 30.0.3.0/24 is directly connected, Loopback3
C 192.168.0.4/30 is directly connected, Serial0/1/0
R3#configure terminal
R3(config)#router ospf 20
R3(config-router)#network 30.0.1.0 0.0.0.255 area 1
R3(config-router)#network 30.0.2.0 0.0.0.255 area 1
R3(config-router)#network 30.0.3.0 0.0.0.255 area 1
R3(config-router)#network 192.168.0.4 0.0.0.3 area 1
R3(config-router)#exit
R3(config)#exit
R3#write
Verification on Router 1
R1#show ip route
10.0.0.0/24 is subnetted, 3 subnets
C 10.0.1.0 is directly connected, Loopback1
C 10.0.2.0 is directly connected, Loopback2
C 10.0.3.0 is directly connected, Loopback3
20.0.0.0/32 is subnetted, 3 subnets
O 20.0.1.1 [110/65] via 192.168.0.2, 00:13:45, Serial0/0/0
O 20.0.2.1 [110/65] via 192.168.0.2, 00:13:45, Serial0/0/0
O 20.0.3.1 [110/65] via 192.168.0.2, 00:13:45, Serial0/0/0
30.0.0.0/32 is subnetted, 3 subnets
O 30.0.1.1 [110/129] via 192.168.0.2, 00:11:54, Serial0/0/0
O 30.0.2.1 [110/129] via 192.168.0.2, 00:11:54, Serial0/0/0
O 30.0.3.1 [110/129] via 192.168.0.2, 00:11:54, Serial0/0/0
192.168.0.0/30 is subnetted, 2 subnets
C 192.168.0.0 is directly connected, Serial0/0/0
O 192.168.0.4 [110/128] via 192.168.0.2, 00:13:45, Serial0/0/0
Verification on Router 2
R2#show ip route
10.0.0.0/32 is subnetted, 3 subnets
O 10.0.1.1 [110/65] via 192.168.0.1, 00:14:18, Serial0/1/0
O 10.0.2.1 [110/65] via 192.168.0.1, 00:14:18, Serial0/1/0
O 10.0.3.1 [110/65] via 192.168.0.1, 00:14:18, Serial0/1/0
20.0.0.0/24 is subnetted, 3 subnets
C 20.0.1.0 is directly connected, Loopback1
C 20.0.2.0 is directly connected, Loopback2
C 20.0.3.0 is directly connected, Loopback3
30.0.0.0/32 is subnetted, 3 subnets
O 30.0.1.1 [110/65] via 192.168.0.6, 00:12:38, Serial0/0/0
O 30.0.2.1 [110/65] via 192.168.0.6, 00:12:38, Serial0/0/0
O 30.0.3.1 [110/65] via 192.168.0.6, 00:12:38, Serial0/0/0
192.168.0.0/30 is subnetted, 2 subnets
C 192.168.0.0 is directly connected, Serial0/1/0
C 192.168.0.4 is directly connected, Serial0/0/0
Verification on Router 3
R3#show ip route
10.0.0.0/32 is subnetted, 3 subnets
O 10.0.1.1 [110/129] via 192.168.0.5, 00:13:04, Serial0/1/0
O 10.0.2.1 [110/129] via 192.168.0.5, 00:13:04, Serial0/1/0
O 10.0.3.1 [110/129] via 192.168.0.5, 00:13:04, Serial0/1/0
20.0.0.0/32 is subnetted, 3 subnets
O 20.0.1.1 [110/65] via 192.168.0.5, 00:13:04, Serial0/1/0
O 20.0.2.1 [110/65] via 192.168.0.5, 00:13:04, Serial0/1/0
O 20.0.3.1 [110/65] via 192.168.0.5, 00:13:04, Serial0/1/0
30.0.0.0/24 is subnetted, 3 subnets
C 30.0.1.0 is directly connected, Loopback1
C 30.0.2.0 is directly connected, Loopback2
C 30.0.3.0 is directly connected, Loopback3
192.168.0.0/30 is subnetted, 2 subnets
O 192.168.0.0 [110/128] via 192.168.0.5, 00:13:04, Serial0/1/0
C 192.168.0.4 is directly connected, Serial0/1/0