Static IP routes question

Unanswered Question

I am studying for my CCNA test and I am having a hard time with this question:

Destination IP addresses:

10.1.1.10

10.1.1.14

10.2.1.3

10.1.4.6

10.1.0.123

10.6.8.4

The routing was configured this way:

R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1

R1(config)#ip route 10.1.0.0 255.255.255.0 192.168.2.2

R1(config)#ip route 10.1.0.0 255.255.0.0 192.168.3.3


Place the destination IP addresses under the correct next hop address.

*192.168.1.1

10.2.1.3

10.6.8.4


*192.168.2.2

10.1.1.14

10.1.0.123


*192.168.3.3

10.1.1.10

10.1.4.6


The above is supposed to be the correct answer. For ME according the network and submask it should be like this:

*192.168.1.1

10.2.1.3

10.6.8.4


*192.168.2.2



*192.168.3.3

10.1.1.10

10.1.4.6

10.1.1.14

10.1.0.123


Could anyone help me out to understand why that one should be the correct answer(if it is)? Or provide the answer you believe it is and explain why


Thanks


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.3 (3 ratings)
Loading.
swmorris Thu, 11/01/2007 - 11:14
User Badges:
  • Bronze, 100 points or more

You're making me think, and I haven't had enough caffeine yet. :)


Ok, so let's rewrite these in most specific order...


R1(config)#ip route 10.1.0.0 255.255.255.0 192.168.2.2


This covers from 10.1.0.0 to 10.1.0.255, so 10.1.0.123 would fall in here.


R1(config)#ip route 10.1.0.0 255.255.0.0 192.168.3.3


This covers from 10.1.0.0 to 10.1.255.255, so:


10.1.1.10

10.1.1.14

10.1.4.6

10.1.0.123


would fall in here, but we already routed 10.1.0.123 because the most-specific route always wins.


R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1


would cover anything else not listed, which include:


10.2.1.3

10.6.8.4


So the answer they provided is incorrect because 10.1.1.14 would NOT be routed to 192.168.2.2...


On the other hand, while you are numerically correct in your answer (192.168.3.3 COULD accept 10.1.0.123), the router would choose the most-specific route and therefore make 192.168.2.2 the correct next hop for it.


I know all these things a router thinks about can certainly be a pain to step through and learn!


HTH,


Scott

[email protected]


swmorris Thu, 11/01/2007 - 11:35
User Badges:
  • Bronze, 100 points or more

Why do people post message on a forum telling someone to look at their personal e-mail? Wouldn't they automatically see the new personal e-mail at the same time they see the notification e-mail that there has been a message posted on the forum telling them to go back?


Scott

srue Thu, 11/01/2007 - 12:03
User Badges:
  • Blue, 1500 points or more

only if they check the box that says to notify them when someone posts a response.

Actions

This Discussion