Note - Before this example you should know , what is passive interface and how it is work, so please read the Questions - 14,15,16,17, 24 in previous chapter RIP (ROUTING INFORMATION PROTOCOL) - INTERVIEW QUESTIONS
Passive Interface 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
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 6 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
Interface Send Recv Triggered RIP Key-chain
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):
FastEthernet0/0 ....... PASSIVE INTERFACE CONFIGURED ON F0/0 OF ROUTER R2
Routing Information Sources:
Gateway Distance Last Update
192.168.20.1 120 00:00:28
Distance: (default is 120)
If you notice in the above output the you will find, network have been configured correctly on both router but R2 router has a passive interface F0/0 so this prevents it from advertising anything.
Let's fix it
R2#config t
R2(config)#router rip
R2(config-router)#no passive-interface F0/0
Let's check R1
Problem has been solved, so make sure interfaces that connect to other RIP routers are not configured as passive.
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)
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 6 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
Interface Send Recv Triggered RIP Key-chain
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):
FastEthernet0/0 ....... PASSIVE INTERFACE CONFIGURED ON F0/0 OF ROUTER R2
Routing Information Sources:
Gateway Distance Last Update
192.168.20.1 120 00:00:28
Distance: (default is 120)
If you notice in the above output the you will find, network have been configured correctly on both router but R2 router has a passive interface F0/0 so this prevents it from advertising anything.
Let's fix it
R2#config t
R2(config)#router rip
R2(config-router)#no passive-interface F0/0
Let's check R1
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 make sure interfaces that connect to other RIP routers are not configured as passive.
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.