cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
352
Views
0
Helpful
1
Replies

IP Classless and RIP v1

mary_odriscoll
Level 1
Level 1

If I have a network with a Class C subnet on Side A communicating with a Class C subnet on Side B over a point-to-point WAN numbered with a Class B subnet address and I am running RIP V1 with IP classless configured, what happens with Side A wants to talk to Side B?

I am assuming that because RIP v1 is configured, the discontiguous subnet issue is the reason why the 2 sides can't communicate.

However, what happens with the ip classless command, is this taken into account when deciding on the routing of a packet?

1 Accepted Solution

Accepted Solutions

ruwhite
Level 7
Level 7

Do you mean two real class c networks, or just two networks with /24 masks within some larger network? RIP is very class dependant.

If you have this:

192.168.1.0/24----128.1.1.0/24--192.168.2.0/24

this really should work. If you have this:

10.1.1.0/24--128.1.0.0/16--10.1.2.0/24

it won't, with RIPv1. In the first case, you have two different major nets seperated by a portion of a third major net. In the second, you have two pieces of a single major net seperated by a portion of a second major net. In the second case, the routers on either end of 10.1.x.0/24 are going to build a summary, and advertise just the 10.0.0.0/8 to each other.

Well, it actually will work in some situations, with ip classless on, and a default route, but it's playing with fire, and I wouldn't run a network that way.

ip classless has nothing to do with the way the routing protocols propogate updates and such, it only deals with the way packets are handled when being forwarded--specifically, whether or not a supernet outside classful bounds is considered a match on the destination address for forwarding purposes.

Russ.W

View solution in original post

1 Reply 1

ruwhite
Level 7
Level 7

Do you mean two real class c networks, or just two networks with /24 masks within some larger network? RIP is very class dependant.

If you have this:

192.168.1.0/24----128.1.1.0/24--192.168.2.0/24

this really should work. If you have this:

10.1.1.0/24--128.1.0.0/16--10.1.2.0/24

it won't, with RIPv1. In the first case, you have two different major nets seperated by a portion of a third major net. In the second, you have two pieces of a single major net seperated by a portion of a second major net. In the second case, the routers on either end of 10.1.x.0/24 are going to build a summary, and advertise just the 10.0.0.0/8 to each other.

Well, it actually will work in some situations, with ip classless on, and a default route, but it's playing with fire, and I wouldn't run a network that way.

ip classless has nothing to do with the way the routing protocols propogate updates and such, it only deals with the way packets are handled when being forwarded--specifically, whether or not a supernet outside classful bounds is considered a match on the destination address for forwarding purposes.

Russ.W