Wednesday, December 12, 2018

Recursive lookup



·         A recursive lookup happens when a second search in the routing table has to be done.



Recursive lookup

Recursive lookup


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

C    10.0.0.0/8 is directly connected, FastEthernet0/0
C    20.0.0.0/8 is directly connected, Serial2/0


R1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#ip route 30.0.0.0 255.0.0.0 20.0.0.2
R1(config)#ip route 40.0.0.0 255.0.0.0 30.0.0.2
R1(config)#ip route 50.0.0.0 255.0.0.0 40.0.0.2



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

C    10.0.0.0/8 is directly connected, FastEthernet0/0
C    20.0.0.0/8 is directly connected, Serial2/0
S    30.0.0.0/8 [1/0] via 20.0.0.2
S    40.0.0.0/8 [1/0] via 30.0.0.2
S    50.0.0.0/8 [1/0] via 40.0.0.2


·         If I want to reach 50.0.0.0 Network. I need to go via 40.0.0.2. Router once again searches routing table to reach 40.0.0.0 network. So I need to go via 30.0.0.2 to Reach 40.0.0.0 network. Router again searches routing table to reach 30.0.0.0 network. So I need to go via 20.0.0.2 to Reach 30.0.0.0 network. Finally, 50.0.0.0 network will be reached.





3 comments:

  1. I passed Cisco 200-125 exam earlier this morning. You know what? I just use study materials from this dumpsForsure, no other books at all! It is really helpful if you do not get much time to prepare your 200-125 exam. You should have a try. It won't let you down. Why do you want to take roundabout ways if there is a shortcut? Trust me or not. You can get 100 % Valid 200-125 dumps just on one click...

    https://www.dumpsforsure.com/cisco/200-125-dumps.html

    ReplyDelete
  2. 200-125 exam PDF Get expert Question & Answer Dumps PDF Online. We Provide latest IT Certification Exams PDF for preparation Study Guide Test Practice for Success in exams. This is an online education portal

    ReplyDelete
  3. Passexam4sure brought the hope for success in 200-301 exam by providing me 200-301 dumps at the right time. I was guaranteed to pass this exam and I am happy for this to be true. I never saw any material as useful and handy as 200-301 dumps. https://www.passexam4sure.com/cisco/200-301-dumps.html

    ReplyDelete