4.3 CN - Connect 3 routers and configure RIP
%LINK-5-CHANGED: Interface Serial2/0, changed
state to down
Router 0
Router>enable
Router#configure terminal
Enter configuration commands, one
per line. End with CNTL/Z.
Router(config)#interface Serial2/0
Router(config-if)#ip address
192.168.4.1 255.255.255.0
Router(config-if)#clock rate 56000
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#exit
Router(config)#interface
FastEthernet0/0
Router(config-if)#ip address
192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0,
changed state to up
%LINEPROTO-5-UPDOWN: Line protocol
on Interface FastEthernet0/0, changed state to up
%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-if)#router rip
% Invalid input detected at '^'
marker.
Router(config-router)#network
192.168.1.1
Router(config-router)#network
192.168.4.1
Router(config-router)#network
192.168.4.2
Router(config-router)#exit
Router(config)#exit
Router#showip route rip
R 192.168.2.0/24 [120/1] via
192.168.4.2, 00:00:13, Serial2/0
R 192.168.3.0/24 [120/2] via
192.168.4.2, 00:00:13, Serial2/0
R 192.168.5.0/24 [120/1] via
192.168.4.2, 00:00:13, Serial2/0
Router 1
Router>enable
Router#configure terminal
Enter configuration commands, one
per line. End with CNTL/Z.
Router(config)#interface Serial2/0
Router(config-if)#ip address
192.168.4.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface
Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#interface
FastEthernet0/0
Router(config-if)#ip address
192.168.2.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%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 Serial3/0
Router(config-if)#ip address
192.168.5.1 255.255.255.0
Router(config-if)#clock rate 56000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface
Serial3/0, changed state to down
Router(config-if)#
%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-if)#router rip
Router(config-router)#network 192.168.2.1
Router(config-router)#network
192.168.4.1
Router(config-router)#network
192.168.4.2
Router(config-router)#network
192.168.5.1
Router(config-router)#network
192.168.5.2
Router(config-router)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from
console by console
Router#showip route rip
R 192.168.1.0/24 [120/1] via
192.168.4.1, 00:00:21, Serial2/0
R 192.168.3.0/24 [120/1] via
192.168.5.2, 00:00:26, Serial3/0
Router 2
Router>enable
Router#configure terminal
Enter configuration commands, one
per line. End with CNTL/Z.
Router(config)#interface Serial2/0
Router(config-if)#ip address
192.168.5.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface
Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#interface
FastEthernet0/0
Router(config-if)#ip address
192.168.3.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface
FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol
on Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol
on Interface Serial2/0, changed state to up
Router(config-if)#router rip
Router(config-router)#network
192.168.3.1
Router(config-router)#network
192.168.5.1
Router(config-router)#network
192.168.5.2
Router(config-router)#exit
Router(config)#exit
Router#showip route rip
R 192.168.1.0/24 [120/2] via
192.168.5.1, 00:00:21, Serial2/0
R 192.168.2.0/24 [120/1] via
192.168.5.1, 00:00:21, Serial2/0
R 192.168.4.0/24 [120/1] via 192.168.5.1,
00:00:21, Serial2/0
