4.2 Configure RIP on 2 routers
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
%LINK-5-CHANGED: Interface
Serial2/0, changed state to down
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
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:08, 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)#
%LINEPROTO-5-UPDOWN: Line protocol
on Interface Serial2/0, changed state to up
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)#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)#exit
Router(config)#exit
Router#showip route rip
R 192.168.1.0/24 [120/1] via
192.168.4.1, 00:00:05, Serial2/0
