Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

VLSM

Dear all,

I have a problem in understanding with VLSM, In theory, VLSM is not supported by by RIPv1, If I want to have a practice in real

scenario what should i do?

I tried it with 2 subnets in a router 192.168.10.0/29 and 192.168.10.96/28 I think it is an example of VLSM, After using

RIPv1, i saw the output of "show ip route" but they are advertising their subnets, is it possible,?

If not how can i do VLSM practice with RIP.?

Thanx in advance

3 REPLIES
Cisco Employee

Re: VLSM

Hello,

Please try the following scenario:

R1

Re: VLSM

RIPv1 is pretty outdated and as you know the it checks the outgoing and incoming masks to compute against the routes it already knows.

This is the explanation on the why it doesnt entertain classless..

http://www.cisco.com/en/US/tech/tk364/technologies_tech_note09186a0080093f1e.shtml

Please add two more line under your "router rip"

ver 2 <---- use version 2

no auto <--- not to automatically summarize

Hall of Fame Super Silver

Re: VLSM

The response from Tharak was a good explanation of how to work around VLSM issues when using RIP. But that is not what the original poster was asking, if I read the question correctly the original poster was asking how he could experiment and see the effect in RIP v1 of trying to use VLSM and to see how it did not work.

To do that I believe that you need at least 2 routers. What was described in the original post is a good start. Let us assume that we have R1 with this configuration:

interface fasteth0/0

description interface with /29 mask

ip address 192.168.10.1 255.255.255.248

interface fasteth0/1

description interface with /28 mask

ip address 192.168.10.97 255.255.255.240

router rip

network 192.168.10.0

and let us assume that there is a second router R2 with this configuration

interface fasteth0/0

description interface with /29 mask

ip address 192.168.10.2 255.255.255.248

router rip

network 192.168.10.0

This gives a router running RIP over the /29 connection. So on R2 do show ip route. You should find that the router is not learning the /28 subnet. This is the demonstration of the problem with VLSM when using RIP v1.

HTH

Rick

475
Views
0
Helpful
3
Replies