ROUTER  1
Router>enable
Router#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 172.16.3.1
255.255.255.0
Router(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(config-if)#exit
Router(config)#interface serial 2/0
Router(config-if)#ip address 172.16.2.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state
to down
Router(config-if)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#
%LINK-5-CHANGED: Interface Serial2/0, changed state
to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial2/0, changed state to up
Router(config)#ip route 172.16.0.0 255.255.252.0
s2/0
Router(config)#ip route 192.168.0.0 255.255.252.0
s2/0
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#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
    
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
S      
172.16.0.0/22 is directly connected, Serial2/0
C      
172.16.2.0/24 is directly connected, Serial2/0
C      
172.16.3.0/24 is directly connected, FastEthernet0/0
S   
192.168.0.0/22 is directly connected, Serial2/0
Router#
ROUTER  2
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 172.16.1.1
255.255.255.0
Router(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(config-if)#exit
Router(config)#interface serial 2/0
Router(config-if)#ip address 172.16.2.2
255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state
to up
Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial2/0, changed state to up
Router(config)#interface serial 3/0
Router(config-if)#ip address 192.168.1.2
255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
%LINK-5-CHANGED: Interface Serial3/0, changed state
to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial3/0, changed state to up
Router(config)#ip route 172.16.0.0 255.255.252.0
s2/0
Router(config)#ip route 192.168.0.0 255.255.252.0
s3/0
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#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
    
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
S      
172.16.0.0/22 is directly connected, Serial2/0
C      
172.16.1.0/24 is directly connected, FastEthernet0/0
C      
172.16.2.0/24 is directly connected, Serial2/0
S   
192.168.0.0/22 is directly connected, Serial3/0
C   
192.168.1.0/24 is directly connected, Serial3/0
Router#
ROUTER  3
Router>enable
Router#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.2.1
255.255.255.0
Router(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(config-if)#exit
Router(config)#interface serial 3/0
Router(config-if)#ip address 192.168.1.1
255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial3/0, changed state
to up
Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial3/0, changed state to up
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip route 192.168.1.0 255.255.255.0
s3/0
Router(config)#ip route 172.16.0.0 255.255.252.0
s3/0
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#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
    
172.16.0.0/22 is subnetted, 1 subnets
S      
172.16.0.0 is directly connected, Serial3/0
S   
192.18.1.0/24 is directly connected, Serial3/0
C   
192.168.1.0/24 is directly connected, Serial3/0
C   
192.168.2.0/24 is directly connected, FastEthernet0/0
Router#
 
