cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
305
Views
0
Helpful
3
Replies

RIP

skhirbash
Level 1
Level 1

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

3 Replies 3

royalblues
Level 10
Level 10

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

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

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

Review Cisco Networking products for a $25 gift card