Version Mismatch Issue
Figure - 1
Just like previous example. In Figure - 1 I am going to use these two router R1 and R2. I have configured on both RIPv2, According to Figure-1 R1 is supposed to learn about 172.16.0.0/24 but same issue like previous examples look at the output there is no 172.16.0.0/24 .
R2#Show ip protocol
If you will notice closely then you can see that both router have configured with different version of RIP. R1 is using RIP version 1 and R2 is using RIP version 2
Let's fix this.
R1#config t
Now check
R1#Show ip route
Problem has been solved, so always use the same RIP version on both side..
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/1
C 192.168.20.0/24 is directly connected, FastEthernet0/0
If you will notice in above output then you will find two directly connected route, 192.168.20.0 for R2 router and 10.1.1.0 for PC1, but there is no any RIP route with network 172.16.10.0 for PC2.
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/1
C 192.168.20.0/24 is directly connected, FastEthernet0/0
If you will notice in above output then you will find two directly connected route, 192.168.20.0 for R2 router and 10.1.1.0 for PC1, but there is no any RIP route with network 172.16.10.0 for PC2.
So now let's check what is problem
R1#Show ip protocol
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 27 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive 1
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1
FastEthernet0/1 1 1
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
192.168.20.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance Last Update
192.168.20.2 120 00:03:14
Distance: (default is 120)
R2#Show ip protocol
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 10 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 2, receive 2 ............ HERE IS VERSION 2
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 2 2
FastEthernet0/1 2 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
172.16.0.0
192.168.20.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance Last Update
192.168.20.1 120 00:04:29
Distance: (default is 120)
If you will notice closely then you can see that both router have configured with different version of RIP. R1 is using RIP version 1 and R2 is using RIP version 2
Let's fix this.
R1#config t
R1(config)#router rip
R1(config-router)#version 2
Now check
R1#Show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/1
R 172.16.0.0/16 [120/1] via 192.168.20.2, 00:00:02, FastEthernet0/0
C 192.168.20.0/24 is directly connected, FastEthernet0/0
Problem has been solved, so always use the same RIP version on both side..
0 comments:
Post a Comment
If you like my posts then please comment and if you don’t like then please suggest me to improve, and if you have any query related to post then please text me through the comment box or mail me on upadhyayambition@gmail.com , I will try my best to solve your queries as soon as possible.