02-19-2014 08:20 PM - edited 03-07-2019 06:18 PM
Hello im having a very basic topolgy where 2 routers directly connected and running RIP V1
Lo1----R1-155.10.2.1/24--------------155.10.2.2/24--R2
Lo1 is 155.10.3.1/32
Now what i know about RIP V1 is that it's Classful routing protocol so in this case R1 will advertise Lo1 to R2 without any subnet mask and when R2 recieve this it should either assign it as /24 since its in the same major network of the directly connected or /16 but in my case i can see 155.10.3.1/32 on R2 routing table how is this possible ???
R1#show run interface lo1
Building configuration...
Current configuration : 66 bytes
!
interface Loopback1
ip address 155.10.3.1 255.255.255.255
end
R1#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 19 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
Loopback1 1 1 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
155.10.0.0
Routing Information Sources:
Gateway Distance Last Update
155.10.2.2 120 00:00:20
Distance: (default is 120)
R2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
155.10.0.0/16 is variably subnetted, 2 subnets, 2 masks
R 155.10.3.1/32 [120/1] via 155.10.2.1, 00:00:05, FastEthernet0/0
C 155.10.2.0/24 is directly connected, FastEthernet0/0
C 192.168.23.0/24 is directly connected, FastEthernet1/0
R2#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 26 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
FastEthernet1/0 1 1 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
192.168.12.0
0.0.0.0
Routing Information Sources:
Gateway Distance Last Update
192.168.12.1 120 01:03:37
155.10.2.1 120 00:00:19
Distance: (default is 120)
Solved! Go to Solution.
02-19-2014 11:22 PM
Hi,
RIPv1 will not advertise a subnet out the same major network if the mask is different but there is one exception and this is host routes(if routers support it and Cisco router do).
when receiving the route R2 looks for the host bit set in the host portion of the update and so applies the host mask of /32.
Regards
Alain
Don't forget to rate helpful posts.
02-19-2014 11:22 PM
Hi,
RIPv1 will not advertise a subnet out the same major network if the mask is different but there is one exception and this is host routes(if routers support it and Cisco router do).
when receiving the route R2 looks for the host bit set in the host portion of the update and so applies the host mask of /32.
Regards
Alain
Don't forget to rate helpful posts.
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