06-02-2013 06:59 PM - edited 03-07-2019 01:41 PM
hello dears,
i am looking for a help as i am a little junior , as i can't figure out how he got the answer " the question at the attachment "
Next hop 192.168.1.1:
+ 10.2.1.3
+ 10.6.8.4
Next hop 192.168.2.2:
+ 10.1.0.14
+ 10.1.0.123
Next hop 192.168.3.3:
+ 10.1.1.10
+ 10.1.4.6
Cheers
Solved! Go to Solution.
06-02-2013 07:19 PM
Hi Amr,
If the destination network is 10.1.0.x then that would use the exit interface 192.168.2.2 as per your second route on the attachment.
If the destination network is 10.1.x.x then that would use the exit interface 192.168.3.3 as per your third route on the attachment,
If the destination network is anything other than above two then that would match the default route and exit out of 192.168.1.1
Here the piont you need to be aware is that router try to match more specific route in order to choose the exit interface. For example more specific route mean if router want to route to destination address 10.1.0.14 then router would go and look which would be the most specific route available in the routing table. In the above scenario route find 10.1.0.x is the most specific route and use the exit interface of 192.168.2.2.
Hope that helps
Regards
Najaf
Please rate when applicable or helpful !!!
06-02-2013 07:19 PM
Hi Amr,
If the destination network is 10.1.0.x then that would use the exit interface 192.168.2.2 as per your second route on the attachment.
If the destination network is 10.1.x.x then that would use the exit interface 192.168.3.3 as per your third route on the attachment,
If the destination network is anything other than above two then that would match the default route and exit out of 192.168.1.1
Here the piont you need to be aware is that router try to match more specific route in order to choose the exit interface. For example more specific route mean if router want to route to destination address 10.1.0.14 then router would go and look which would be the most specific route available in the routing table. In the above scenario route find 10.1.0.x is the most specific route and use the exit interface of 192.168.2.2.
Hope that helps
Regards
Najaf
Please rate when applicable or helpful !!!
06-02-2013 07:52 PM
Amr,
BTW what exam r u preparing for CCNP- Routing?
Simple saying for your queries :
Here is the way to understand this completely not just for exam on how the routes are beeing processed or get installed in RT.
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094823.shtml
Answering to your question. Najaf clearly explained and I agree with him.
1- All default routes go via 192.168.1.1
2- Network 10.1.0X go via 192.168.2.2
3- Networks with 10.1.x.x go via 192.168.3.3
HTH
Regards
Inayath
06-02-2013 09:20 PM
thanks Inayath , yeah i am prepared for CCNP routing
06-02-2013 07:57 PM
Hi Amr
AS per the question there are 3 static route statements
ip route 0.0.0.0 0.0.0.0 192.168.1.1
ip route 10.1.0.0 255.255.255.0 192.168.2.2
ip route 10.1.0.0 255.255.0.0 192.168.3.3
So the answer would be:
Next hop 192.168.1.1
10.2.1.3
10.6.8.4
Next hop 192.168.2.2
10.1.0.14
10.1.0.123
next hop 192.168.3.3
10.1.1.10
10.1.4.6
Reason : The sequence of selection of best path that would be installed in routing table and used for routing is
- most Exact match
- AD
- Metric
Here in your case you need to focus on the first point (most exact match).
As 192.168.2.2 will be the prefered next hop for 10.1.0.X routes (being exact match of /24)
& 192.168.3.3 will be the prefered next hop for 10.1.X.X route
& 192.168.1.1 will be prefered after the above two for all the routes being a default route.
Hope it answers your query and will help you in understading how best path are choosen and installed in routing table.
Thanks & Regards
Sandeep
06-02-2013 09:18 PM
thanks experts for your amazing effort , really i appreciate that
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide