What is RIPv2 and How to Configure Router RIPv2

What is RIPv2 and How to Configure Router RIPv2

What is RIPv2

The routers about each subnet advertise a small amount of simple information to their neighbors using the RIPv2 (Routing Information Protocol version 2). Their neighbors advertise the receiving information to their neighbors in turn, and so on until the information is learned by all routers. Periodically each router running RIPv2 (Routing Information Protocol version 2) sends its complete routing table to all connected neighbors. RIPv2 is the same as like RIPv1 because both are distance-vector routing protocols. Split horizon rules and hold-down timers are the same in both RIP versions.

Both versions of RIP are configured as classful but version 2 of RIP is classless because in RIPv2 the information of the subnet is sent with each routing update. The administrative distance of both RIP versions is 120, but there is a difference that makes the RIPv2 more scalable rather than the RIPv1.

How to Configure Router RIPv2

RIPv2
How to Configure Router RIPv2

Configuring the Router R1 Interfaces

Router> enable

Router# configure terminal

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

Router (config) # hostname R1

R1 (config) # interface serial 0/1/0

OR

R1 (config) # int s 0/1/0

R1 (config-if) # ip address 192.168.1.1   255.255.255.0

R1 (config-if) #encapsulation hdlc

R1 (config-if) #clock rate 64000

R1 (config-if) #keepalive 12

R1 (config-if) #no shutdown

OR

R1 (config-if) #no shut

%LINK-5-CHANGED: Interface Serial0/1/0, changed state to down

R1 (config-if) #exit

R1 (config) # interface fastethernet0/0

OR

R1 (config) # int fa0/0

R1 (config-if) # ip address 192.168.2.40 255.255.255.0

R1 (config-if) #no shutdown

Interface Status
Interface Status up

R1 (config-if) #end

R1#

Configuring the Router R2 Interfaces

Router> enable

Router# configure terminal

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

Router (config) # hostname R2

R2 (config) # interface serial 0/1/0

OR

R2 (config) # int s 0/1/0

R2 (config-if) # ip address 192.168.1.2   255.255.255.0

R2 (config-if) #encapsulation hdlc

R2 (config-if) #keepalive 12

R2 (config-if) #no shutdown   

OR

R2 (config-if) #no shut

Interface Status
Interface Status up

R2 (config-if) #exit

R2 (config) # interface fastethernet0/0

OR

R2 (config) # int fa0/0

R2 (config-if) # ip address 192.168.3.40 255.255.255.0

R2 (config-if) #no shutdown

Interface Status
Interface Status up

R2 (config-if) #end

R2#

Router R1 and R2 Routing Table

Router R1

R1# show ip route

IP Route
IP Route Status

Note: By default, in the router R1 routing table the two associated interfaces and directly connected networks are listed.

Router R2

R2# show ip route

IP Route
IP Route Status

Note: By default, in the router R2 routing table the two associated interfaces and directly connected networks are listed.


Ping Verification on Router R1 and R2

Router R1

R1#ping 192.168.1.2

Ping Verification
Successful Ping Verification

R1#ping 192.168.3.40

Ping Verification
Unsuccessful Ping Verification

Note: The ping was not successful because the network 192.168.3.0 is not listed in the router R1 routing table. Using the RIPv1 (Routing Information Protocol version 1) the network 192.168.3.0 needs to be put in the R1 routing table.

Router R2

R2#ping 192.168.1.1

Ping Verification
Successful Ping Verification

R2#ping 192.168.2.40

Ping Verification
Unsuccessful Ping Verification

Note: The ping was not successful because the network 192.168.2.0 is not listed in the router R2 routing table. Using the RIPv1 (Routing Information Protocol version 1) the network 192.168.2.0 needs to be put in the R2 routing table.

Configuring RIPv2 on Router R1 and R2

Router R1

R1#configure terminal

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

R1 (config) #router rip

R1 (config-router) #version 2

R1 (config-router) #network 192.168.1.0

R1 (config-router) #network 192.168.2.0

R1 (config-router) #end

R1#

Router R2

R2#configure terminal

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

R2 (config) #router rip

R2 (config-router) #version 2

R2 (config-router) #network 192.168.1.0

R2 (config-router) #network 192.168.3.0

R2 (config-router) #end

R2#


Router R1 and R2 Routing Table

Router R1

R1#show ip route

IP Route
IP Route Status

R1#

Router R2

R2#show ip route

IP Route
IP Route Status

R2#

IP Protocol Verification on Router R1

R1#show ip protocols

IP Protocol
IP Protocol Verification Status


The difference between RIPv1and RIPv2 is.

RIPv1 vs RIPv2
RIPv1 vs RIPv2 Comparison

Search Tags

  1. What is a RIPv2 in networking
  2. How do I enable RIPv2 on my router
  3. How to Configure Router RIP V2
  4. Configuring RIPv2

If you want to configure RIPv1 then visit: 👇

How to Configure RIP V1

 

Get Packet Tracer Lab


If you want to configure and Practical Lab of Static and Dynamic Routing then visit below link: ðŸ‘‡

How to Configure Static Routing

Dynamic Routing

Redistribution of Routes in Dynamic Routing

How to Configure OSPF Multi-area

How to Configure OSPF Single-area

How to Configure EIGRP

How to Configure IGRP

How to Configure RIPv1

Post a Comment

0 Comments