Refer to the exhibit. A router received these five routes from different routing information sources. Which two routes does the router install in its routing table? (Choose two.)
Ref: Route Selection in Cisco Routers - Cisco
“…
Summary
The LONGEST PREFIX MATCH always wins among the routes actually installed in the routing table, while the routing protocol with the LOWEST ADMINISTRATIVE DISTANCE always wins when installing routes into the routing table.
…”
You have 5 routes from 4 different routing protocols. Two of these routes are from OSPF: the router must choose (between them) which one to install in the routing table, and here the longest prefix match criteria wins (router chooses OSPF route 10.0.0.0/30).
Now, you have 4 routes. 3 routes are all /30 routes (same prefix length): the router chooses on the basis of lowest administrative distance, and OSPF wins (administrative distance for these protocols is OSPF 110, which is lower than RIP 120, which is lower than BGP 200).
The last route is an EIGRP one, and this is also a host route (look at the /32 prefix). There can’t be a longest prefix than a host route. Also, this route doesn’t have to compete with any other route to be installed in the routing table. So, this route is the router’s second choice.
Answers A and D are correct.
Googling your reference found me this link:
https://www.cisco.com/c/en/us/support/docs/ip/enhanced-interior-gateway-routing-protocol-eigrp/8651-21.html
From your reference:
Let's look at another scenario to see how the router handles another common situation: varying prefix lengths. Assume, again, that a router has four routing processes running on it, and each process has received these routes:
EIGRP (internal): 192.168.32.0/26
RIP: 192.168.32.0/24
OSPF: 192.168.32.0/19
Which of these routes will be installed in the routing table? Since EIGRP internal routes have the best administrative distance, it's tempting to assume the first one will be installed. However, since each of these routes has a different prefix length (subnet mask), they're considered different destinations, and they will all be installed in the routing table.
We have 3 correct answers not 2 !
One route to 10.0.0.0/30 selected from the 3 routes IBGP/OSPF and RIP (OSPF is correct option A)
One route to a host 10.0.0.1/32 (D) EIGRP
One route to 10.0.0.0/16 OSPF (C)
A D and C are correct ?
Hey there bro, I just wanted to ask do you got a Gmail account so I can message you and ask you something regarding the CCNA exam. Just a heads up t could be a great opportunity for both of us. It'll help me achieve my goals, and you can earn some quick cash out of it. That way it will benefit both of us If you're interested just message me yes with your email and we can discuss the details future.
Hi GreadDane; are you sure that OSPF route 10.0.0.0/30 will be installed intead of OSPF 10.0.0.0/16, including the other one? This way, the router would ignore some 65k valid destinations!
Packet tracer result is CD
10.0.0.0/16 has absorbed 10.0.0.0/30.
This question has nothing to do with longest prefix match. Longest prefix match is for choosing which route to use to reach a destination address. This question is about choosing which routes to install. In a real router, it should install every route with a unique network ID and mask. The correct answer for real hardware should be ACD.
There have to be 3 Answers,
One route to 10.0.0.0/30 selected from the 3 routes IBGP/OSPF and RIP (OSPF is correct option A)
One route to a host 10.0.0.1/32 (D) EIGRP
One route to 10.0.0.0/16 OSPF (C)
There have to be 3 Answers,
C. OSPF route 10.0.0.0/16
A. OSPF route 10.0.0.0/30
D. EIGRP route 10.0.0.1/32
but if there are only 2 correct answers they would be
C. OSPF route 10.0.0.0/16
D. EIGRP route 10.0.0.1/32
those are the only case that makes sense, because 10.0.0.0/30 is a part of 10.0.0.0/16 Network!
This question is BAF and should have three correct answers A C D
riddle me this riddle me that:
If every host route would "win" from a non host (subnet) route in the routing table, how do you think you will be able to ping other hosts in the subnets those host routes are in?
there will be three correct answers. One will be selected among the three /30 mask, other one will be /16 mask and last one will be /32 mask.
among the three /30 mask routes, Ospf will be selected since Ospf has lowest AD which is 110 whereas RIP has AD value of 120 and iBGP has AD value of 200.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
[Removed]
Highly Voted 2 years, 6 months agoDixieNormus
2 years, 4 months agoismatdmour
Highly Voted 2 years, 10 months agomohammed018
10 months agog_mindset
2 years, 5 months agoLse
Most Recent 3 weeks agoMarkFromMilan
1 month, 3 weeks agoJoshua25
3 months agoadrianspa
5 months, 1 week ago[Removed]
7 months, 2 weeks agoBugmenot240411
7 months, 2 weeks agoBugmenot240411
7 months, 2 weeks ago[Removed]
10 months agopicho707
11 months, 4 weeks agodropspablo
1 year, 5 months agodaddydagoth
1 year, 11 months ago[Removed]
1 year, 7 months ago[Removed]
2 years, 2 months agoDoBronx
2 years, 2 months agosplashy
2 years, 4 months agodipanjana1990
2 years, 5 months agonander
2 years, 5 months agoZUMY
2 years, 6 months ago