0% found this document useful (0 votes)
10 views

P5 (RIP Configuration)

A network topology is configured with 2 PCs, 2 switches, and 3 routers. RIP routing is configured on the routers to enable connectivity between the PCs in different networks. Before enabling RIP, pings between the PCs timed out. After configuring RIP on the routers, the PCs can communicate across networks and ping each other successfully.

Uploaded by

Huda Ghazi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

P5 (RIP Configuration)

A network topology is configured with 2 PCs, 2 switches, and 3 routers. RIP routing is configured on the routers to enable connectivity between the PCs in different networks. Before enabling RIP, pings between the PCs timed out. After configuring RIP on the routers, the PCs can communicate across networks and ping each other successfully.

Uploaded by

Huda Ghazi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Routing Information Protocol (RIP) Configuration:

Topology:

Add 2 PCs, 2 Switches (2960), and 3 Routers (PT-Router) to the


workplace.

Cabling:

Select copper straight through to connect PC s to the Switches.

PCs Interfaces Switch0 Interfaces


PC0 (FastEthernet0) Fast Ethernet 0/1

PCs Interfaces Switch1 Interfaces


PC 1 (FastEthernet0) Fast Ethernet 0/1

Select copper straight through to connect Switches to the Routers.


Select Fast Ethernet 0/2 of the Switch 0 connect to Fast Ethernet 0/0 of
Router 1
Select Fast Ethernet 0/2 of the Switch 1 connect to Fast Ethernet 0/0 of
Router 3
Select Serial -DTE to connect Routers with each other
At Router 1 select Serial 3/0 to connect to Serial 3/0 at Router3
At Router 1 select Serial 2/0 to connect to Serial 2/0 at Router 2
At Router 2 select Serial 3/0 to connect to Serial 2/0 at Router 3

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

Router 1 Configuration (Assigning IP addresses):

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).

Fast Ethernet 0/0

Router>enable

Router# conf t

Router(config)#int f 0/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

Router(config-if)#exit

Enter configuration commands, one per line. End with CNTL/Z.


Serial 3/0

outer(config)#int serial 3/0


Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial3/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.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit

Router 2 Configuration (Assigning IP addresses):


First assign IP addresses to the interfaces Serial 2/0 and Serial 3/0 of
Router 2 from CLI. (All coding is done at the Configuration mode)

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

Router 3 Configuration (Assigning IP addresses):

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface


FastEthernet0/0, changed state to up
Router(config-if)#exit

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).

RIP Protocol Enabling In All Routers:


Router 1
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.2.0
Router(config-router)#network 192.168.3.0
Router 2
Router(config)#router rip
Router(config-router)#network 192.168.3.0
Router(config-router)#network 192.168.4.0
Router 3
Router(config)#router rip
Router(config-router)#network 192.168.2.0
Router(config-router)#network 192.168.4.0
Router(config-router)#network 192.168.5.0

Displaying Routing Table:


Router>enable
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

C 192.168.1.0/24 is directly connected, FastEthernet0/0


C 192.168.2.0/24 is directly connected, Serial3/0
C 192.168.3.0/24 is directly connected, Serial2/0
R 192.168.4.0/24 [120/1] via 192.168.2.2, 00:00:02, Serial3/0
[120/1] via 192.168.3.2, 00:00:22, Serial2/0
R 192.168.5.0/24 [120/1] via 192.168.2.2, 00:00:02, Serial3/0

Test For Connectivity:

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)

You might also like