Topology:
FIG: Initial Lab setup
Configuration
Router1: ConfigurationRouter>enableRouter#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Router-1
//CONFIGURE FASTETHERNET INTERFACE
Router-1(config)#interface fastEthernet 0/0
Router-1(config-if)#ip address 192.168.1.1 255.255.255.0
Router-1(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router-1(config-if)#exit
//CONFIGURE SERIAL INTERFACE
Router-1(config)#interface serial 0/0
Router-1(config-if)#ip address 10.0.0.2 255.0.0.0
Router-1(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0, changed state to down
Router-1(config-if)#clock rate 64000
Router-1(config-if)#exit
Router2: Configuration
Router>enableRouter#configure terminal
Router(config)#hostname Router-2
//CONFIGURE SERIAL INTERFACE
Router-2(config)#interface serial 0/0
Router-2(config-if)#ip address 10.0.0.3 255.0.0.0
Router-2(config-if)#no shutdown
Router-2(config-if)#exit
Router-2(config)#interface serial 0/1
Router-2(config-if)#ip address 11.0.0.2 255.0.0.0
Router-2(config-if)#no shutdown
Router-2(config-if)#clock rate 64000
Router-2(config-if)#exit
Router-2(config)#exit
Router-2#
Router3: Configuration
Router>enableRouter#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Router-3
//CONFIGURE FASTETHERNET INTERFACE
Router-3(config)#interface fastEthernet 0/0
Router-3(config-if)#ip address 192.168.2.1 255.255.255.0
Router-3(config-if)#no shutdown
Router-3(config-if)#exit
//CONFIGURE SERIAL INTERFACE
Router-3(config)#interface serial 0/1
Router-3(config-if)#ip address 11.0.0.3 255.0.0.0
Router-3(config-if)#no shutdown
Router-3(config-if)#exit
Router-3(config)#exit
Configuring Static Route on all 3 routers:
Router-1(config)#ip route 11.0.0.0 255.0.0.0 10.0.0.3Router-1(config)#ip route 192.168.2.0 255.255.255.0 10.0.0.3
Router-1(config)#exit
Router-2(config)#ip route 192.168.1.0 255.255.255.0 10.0.0.2
Router-2(config)#ip route 192.168.2.0 255.255.255.0 11.0.0.3
Router-2(config)#exit
Router-3(config)#ip route 10.0.0.0 255.0.0.0 11.0.0.2
Router-3(config)#ip route 192.168.1.0 255.255.255.0 11.0.0.2
Router-3(config)#exit
Verification:
Check the routing table on all the three routers
Router-1#show ip routeCodes: 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
C 10.0.0.0/8 is directly connected, Serial0/0
S 11.0.0.0/8 [1/0] via 10.0.0.3
C 192.168.1.0/24 is directly connected, FastEthernet0/0
S 192.168.2.0/24 [1/0] via 10.0.0.3
Router-1#
Router-2#show 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
C 10.0.0.0/8 is directly connected, Serial0/0
C 11.0.0.0/8 is directly connected, Serial0/1
S 192.168.1.0/24 [1/0] via 10.0.0.2
S 192.168.2.0/24 [1/0] via 11.0.0.3
Router-2#
Router-3#show 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
S 10.0.0.0/8 [1/0] via 11.0.0.2
C 11.0.0.0/8 is directly connected, Serial0/1
S 192.168.1.0/24 [1/0] via 11.0.0.2
C 192.168.2.0/24 is directly connected, FastEthernet0/0
Router-3#
Ping from COMPUTER 1 to COMPUTER 2
PING computer 1 to compuer 2- Verification of static route |