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

certskills
By certskills April 15, 2014 09:05

#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 10.1.2.0. 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 10.1.2.0/25, but not routes for the other two subnets

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

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

D. It will list routes for 10.1.2.0/25, 10.1.2.0/26, and 10.1.2.0/27

 

Answers to Latest Question: ARP, InARP, EIGRP
Answer: Choosing the Best Route, Same Subnet ID, Different Mask
certskills
By certskills April 15, 2014 09:05
Subscribe
Notify of

Your e-mail address will not be published.
Required fields are marked*

guest

11 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
trackback
April 26, 2011 11:35 am

[…] 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 […]

jjrinehart
jjrinehart
April 26, 2011 2:34 pm

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

trackback
April 27, 2011 3:26 pm

[…] 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 […]

Efx
Efx
July 11, 2011 5:05 am

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

Efx
Efx
July 12, 2011 3:10 am

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 🙂

Carlos
Carlos
March 16, 2013 7:25 pm

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

GJM
GJM
February 1, 2023 11:31 pm

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 10.1.2.1 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
Admin
Reply to  GJM
February 3, 2023 4:33 pm

GJM,
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.

Search

Categories