P5 (RIP Configuration)
P5 (RIP Configuration)
Topology:
Cabling:
PCs IP address:
PC0: PC1:
IP Address: 192.168.1.10 IP Address: 192.168.5.10
Subnet mask: 255.255.255.0 Subnet mask: 255.255.255.0
Default Gateway: 192.168.1.1 Default Gateway: 192.168.5.1
First assign IP addresses to the interfaces Fast Ethernet 0/0, Serial 3/0
and Serial 2/0 of Router 1 from CLI. (All coding are done at the
Configuration mode).
Router>enable
Router# conf t
Router(config)#int f 0/0
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#exit
Serial 2/0
Router(config)#int serial 2/0
Router(config-if)#ip address 192.168.3.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Serial 2/0
Router(config)#int serial 2/0
Router(config-if)#ip address 192.168.3.2 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Serial 3/0
Router(config)#int serial 3/0
Router(config-if)#ip address 192.168.4.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial 3 /0, changed state to down
Router(config-if)#exit
First assign IP addresses to the interfaces Fast Ethernet 0/0, Serial 3/0
and Serial 2/0 of Router 1 from CLI. (All coding are done at the
Configuration mode).
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip address 192.168.5.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state
to up
Serial 3/0
Router(config)#
Router(config)#int serial 3/0
Router(config-if)#ip address 192.168.2.2 255.255.255.0
Router(config-if)#no shutdown
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)#exit
Serial 2/0
Router(config)#int se2/0
Router(config-if)#ip address 192.168.4.2 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to
down
Router(config-if)#exit
Note: Please try to ping from PC 0 to PC 1 and from PC 1 to PC 0 before
enabling Dynamic routing (RIP) and wait for a result (The result is time
out).
After enabling dynamic routing(RIP) protocol at all routers, we can now test
for connectivity of different networks, because before enabling static routing
at the routers PC s at the different networks cannot communicate or pinging
is time out. But after configure so the PCs at the different networks can
communicate and sending data successfully.
Pinging from PC 0 (192.168.1.10) which means that is Network
1(192.168.1.0) PC to the PC1(192.168.5.10) at the Network 5(192.168.5.0)