RIP

Unanswered Question
Oct 24th, 2007

Does RIP advertise subnets or the network IPs since it is a classful routing protocol? I am a little confused since when I type a ip route command, the routing table lists all classful ips but the text book I am reading shows the subnets.

Thanks,

sK

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
royalblues Wed, 10/24/2007 - 14:08

There are 2 versions of RIP, version 1 and 2

Version is classful and version 2 is classless. By default the router runs version 1

The output you are seeing is mostly due to protocol version 1 running on your network. Try chnaging it to version 2 and see if you can see the subnet masks

router rip

version 2

HTH

Narayan

skhirbash Wed, 10/24/2007 - 14:25

Yes, I am running RIP v1 for learning purposes. So, if R1 has the following interfaces:

Fa0/0: 172.30.22.1 and Fa0/1: 172.30.21.1, and S0/0: 10.30.1.2

And R2 has the following interfaces:

Fa0/0: 172.30.11.1 and S0/0: 172.30.1.1

When I run ip route on R2, should I see 172.30.0.0 or 172.30.21.0 and 172.30.22.0?

Thanks,

SK

royalblues Wed, 10/24/2007 - 15:00

SK,

It would depend on how the 2 routers are connected

RIP will summarize on the router which is a major network boundary

Say for example

If the routers are connected on the segment 172.30.21.0/30 segment, then the route 172.30.22.0 will be available on router 2

On the other hand if the routers are connected via say 10.10.10.0/30 network(major network boundary), R2 will have 172.30.0.0/16 in its routing table.

Assuming in your case the connecton between the routers does not fall on the 172.30.x.x subnet, the route 172.30.0.0/16 will be visible on R2

HTH

Narayan

please rate all useful posts

Actions

This Discussion