Question: Choosing the Best Route, Same Subnet ID, Different Mask

 In 200-301 V1 Ch20: OSPF Config, 200-301 V1 Part 6: OSPF, Q&A

#CCNA study scenarios often focus on the most common and most obvious combinations of events. However, sometimes it helps to think about some more unusual scenarios just for the purpose of exercising our understanding of how these devices think. This next question does exactly that, using an admittedly bad network design to let us focus on how one router would think about the routes it learns. Details of the question below the fold. Enjoy!

For this question, router R1 runs RIP-2, and OSPF, and EIGRP. Admittedly, that’s a bit unusual for both the ICND1 and ICND2 exams, but to discuss how routers choose routes when learning those routes from multiple sources, at least one router has to run multiple routing protocols. The figure shows the subnet IDs/masks on the right, the routing protocols, and metrics.

If you look at the subnets on the right, its pretty obvious that the subnetting design is busted. Routers R2, R3, and R4 all connect to a subnet with subnet ID Note however that each uses a different subnet mask. That, in a word, is bad.

Now to the question to ponder. Assuming all the links in the diagram work, and R1 indeed learns the routes usig RIP-2, OSPF, and EIGRP, what does R1 put in its routing table? In other words, what will the output of R1’s show ip route command look like? (Select a single answer.)

A. It will list route, but not routes for the other two subnets

B. It will list route, but not routes for the other two subnets

C. It will list route, but not routes for the other two subnets

D. It will list routes for,, and


CCNA Question: ARP, Inverse ARP, EIGRP
Answer: Choosing the Best Route, Same Subnet ID, Different Mask
Notify of

Newest Most Voted
Inline Feedbacks
View all comments

[…] posted a new question in the CCNASkills blog today, related to the one from last week. Basically, what happens when a router learns of three subnets […]


I have used your CCNA certification books for leading study groups and classes and feel they are the best on the market. I find it marvelously fulfilling helping others launch/accelerate their IT careers, having made the journey from CCNA to CCIE myself.

– Joe

[…] posted a new video at the Certskills Youtube channel. This one’s essentially an answer to yesterday’s question, so don’t watch the video until you’re sure you’re done thinking about the […]


Hello. Don’t know why but on packet tracer the answer will be RIPv2. But why he is using that route ? Administrative distance is a higher than OSPF or EIGRP… And Network bits on mask is just 25, not 26 or even 27!

Even if I disconnect a cable from RIP network, router R1 can’t get updates from OSPF and EIGRP routers


Yes , You are right!

With GNS 3 there was no problem, just copied configs from routers on packet tracer. All three routes is in routing table 🙂


I think that R1 learned EIGRP route becouse it has the lower AD. It is correct?


I think it would just be the EIGRP route based on the lowest AD but after reading some of your responses I’m not sure now lol. It now seems it would add all 3 but how would the router know where to send say… a packet destined to when all 3 subnets overlap with that IP?

Either way I don’t see the link to the answer for this question. Are you able to point me in the right direction?

Wendell Odom

There was an issue or two with the post naming, which I fixed. So, the answer post is now linked at the bottom of this question post, just above the comments section. It was linked there before, just with a different title.

But yeah, this one’s a setup to make you stop and think. It’s easy to instantly choose based on admin distance, but it requires more analysis. I’ll leave you with the answers post for some more reading.

Would love your thoughts, please comment.x