Home > IP Routing Questions

IP Routing Questions

March 16th, 2020 Go to comments

Question 1

Question 2


The source and destination IP addresses of the packets are unchanged on all the way. Only source and destination MAC addresses are changed.

Question 3

Question 4


Both the line “O” and “S” cover the host but with the “longest (prefix) match” rule the router will choose the first route.

Question 5


The default AD of static route is 1 so we need to configure another number for the static route.

Question 6


From the output, we see R1 will use the entry “O [110/4576] via, …” to reach host This is a network route.

Note: “B* …” is a default route.

Question 7


Our new static default route has the Administrative Distance (AD) of 120, which is bigger than the AD of OSPF External route (O*E2) so it will not be pushed into the routing table until the current OSPF External route is removed.

For your information, if you don’t type the AD of 120 (using the command “ip route”) then the new static default route would replace the OSPF default route as the default AD of static route is 1. You will see such line in the routing table:

S* [1/0] via

Question 8

Question 9

Question 10


The destination IP addresses match all four entries in the routing table but the has the longest prefix so it will be chosen. This is called the “longest prefix match” rule.

Question 11


The prefix with “longest prefix” will be matched first, in this case is “/29”.

Question 12


The Administrative distance (AD) of EIGRP is 90 while the AD of OSPF is 110 so EIGRP route will be chosen to install into the routing table.

Comments (5) Comments
  1. Anonymous
    March 28th, 2020

    Hi! Anyone can teach me. why is that everytime I click the question it appears the explanation only not the question?

  2. marie
    April 23rd, 2020

    @9tut where does those answers are coming from on question 10?
    C. 102.168 26.0/26

  3. 9tut
    April 24th, 2020

    @marie: They should be 192, not 102. Thanks for your detection, we have just fixed them!

  4. indeed
    June 8th, 2020

    @9tut – are You sure?
    Both the line “O” and “S” cover the host but with the “longest (prefix) match” rule the router will choose the first route.

    I belive that administrative distance for static routes is 1 so Static will be taken as a first…?
    I would be true with useing only ospf or static routes…?
    Am I right?

  5. 9tut
    June 9th, 2020

    @indeed: In this case the static route will not be chosen as the “O” route is more specific than the static route (longest prefix wins).

Add a Comment