08-12-2010 04:53 AM - last edited on 03-25-2019 03:30 PM by ciscomoderator
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
08-12-2010 05:01 AM
Hello,
Please try the following scenario:
R1
08-12-2010 06:11 AM
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
08-12-2010 10:03 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide