cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13309
Views
5
Helpful
3
Replies

RIP V2, network command with classless address yield to classful

zillah2004
Level 1
Level 1

As we know that RIP V2 is Classless while V1 is Classful.

Obviously there are other differences. Cisco has mentioned them in CCNA3 V3.1 Article 1.2.3

RIP V2 supports prefix routing with VLSM so different subnets within the same network can have different subnet masks.

A(config)#router rip

A(config-router)#ver 2

A(config-router)#network

A(config-router)#network 172.16.2.0

A(config-router)#^Z

A#sh run

*Apr 7 05:36:29.422: %SYS-5-CONFIG_I: Configured from console by console

A#sh run | b router rip

router rip

version 2

redistribute eigrp 12 metric 2

network 11.0.0.0

network 172.16.0.0

network 192.1.14.0

Why has the value been changed from 172.16.2.0 to 172.16.0.0 ?

What is the point of using RIP V2 if it yields to same result as RIP V1 ?

3 Replies 3

Harold Ritter
Cisco Employee
Cisco Employee

Although ripv2 is classless, the configuration of which interfaces are attached to the rip process is classfull.

In this case of yours, all interfaces configured in the range of 11.0.0.0/8, 172.16.0.0/16 or 192.1.14.0/24 will be attached to the rip process. If an interface exists with subnet 172.16.2.0/24 it will be advertised as such.

Hope this helps,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

(( If an interface exists with subnet 172.16.2.0/24 it will be advertised as such.))

What did you mean by "as such" ?

if you have interface with ip address subnetted, then rip version 2 will pass that clasless address.

With your configuration, try the show ip route in connected router where you can found rip entries for each subnet separately.

Make sure auto summarization is off on both routers.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: