Please login to start chat

ICT Solutions 2018-11-11 10:54:09
Category : Computer Networking Tutorials

How to configure RIP in Cisco Routers

RIP (Routing Information Protocol) is the oldest distance vector routing protocol. The maximum number of hop count is 15 and the hop count number 16 is defined as infinite distance. The converged time is slow if compared with other routing protocols such as EIGRP, OSPF and IS-IS. There are two versions in RIP: version 1 and version 2.

 
RIP V1

RIP v1 uses FLSM (fixed length subnet masking) and does not support VLSM(variable length subnet masking). Using FLSM causes IP wastes.

 

FLSM Examples,

192.168.1.0 /24

192.168.2.0 /24



RIP V2

RIP V2 supports VLSM (variable length subnet masking). If there are different amount of hosts in an organization, we should use RIP v2.

 

For example,

HR Department : 20 hosts

Engineering Department: 50 hosts

IT department: 10 hosts

Sales department: 30 hosts

 

The following is the sample configuration of RIP in Cisco Routers.

 

 

 Router 1

Activate Connection to Router 2

en
config t
int s0/0/0
ip address 200.100.10.1 255.255.255.252
clock rate 64000
no shut

 
Activate Connection to Switch 1
int g0/0
ip address 192.168.1.1 255.255.255.0
no shut

 

Configure RIP V1/V2

router rip
version 2
network 192.168.1.0
network 200.100.10.0
end

 
Save the Configuration
copy run start

 
Switch 1
Activate Connection to Router 1

en
config t
int f0/1
no shut
 

Activate Connection to PC5
int f0/2
no shut
 

Activate Connection to PC6
int f0/3
no shut
end
 

Save the Configuration

copy run start

 


Router 2
Activate Connection to Router 1
en
config t
int s0/0/0
ip address 200.100.10.2 255.255.255.252
clock rate 64000
no shut

 
Activate Connection to Switch 2
int g0/0
ip address 192.168.2.1 255.255.255.0
no shut

Configure RIP V1/V2
router rip
version 2
network 192.168.2.0
network 200.100.10.0
end
 

Save the Configuration
copy run start


 
Switch 2
Activate Connection to Router 2
en
config t
int f0/1
no shut

 
Activate Connection to PC7
int f0/2
no shut
 

Activate Connection to PC8
int f0/3
no shut
end



Save the Configuration
copy run start

 

Pkt File
Please click here to download packet tracer file.
(Note: you need to give ip address, subnet mask and default gateway to the hosts)

Comments:

No comment to show.

Available Services
Download Android Application