10-24-2007 01:59 PM - edited 03-05-2019 07:18 PM
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
10-24-2007 02:08 PM
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
10-24-2007 02:25 PM
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
10-24-2007 03:00 PM
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
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: