RE: Two Default Routes which path?

From: John Maliakal (john.maliakal@xxxxxxxxxxxxx)
Date: Thu May 16 2002 - 02:39:14 GMT-3


   
Hi Hansang,Kevin,

When you see two deafult routes in your routing table with equal cost, if your
router is using process switching then it will load balance on a round robin fa
shion. The best test you can do is intiate a trace from your router to some ip
for which the default route has to be used. This will force the router to use p
rocess switching since router uses process switching for all packets originatin
g from the router.

Now when you see the * near the first route .it means that at that point of tim
e the route used is through that candiddate default. If you keep issuing this c
ommand as you are doing the trace you can see that this will alternate.
To check this do an extend trace with just one probe and do show ip route . the
n do teh trace again for just one trace . You can see that the * will alternat
e.

I hope this will solve your doubt.

Regards
John

-----Original Message-----
From: kevin mitnick [mailto:kevin_ross46@yahoo.co.uk]
Sent: Thursday, May 16, 2002 10:06 AM
To: Hansang Bae; ccielab@groupstudy.com
Subject: RE: Two Default Routes which path?

Hansang,

I thought so too but I noticed a * next to the first route to serial0.2

* = candidate default.
If the two paths are load balancing, there shouldn't be a * right?

Kevin
--- Hansang Bae <hbae@nyc.rr.com> wrote: > At 04:49 AM 5/16/2002 +0100,
kevin mitnick wrote:
> >Hansang,
> >
> >Even with the maximim-path set , I still get two
> >routes to default with only one prefered. Here is a
> >"show ip route" I captured from rouer A
> >Gateway of last resort is 165.21.200.9 to network
> >0.0.0.0
> >
> >[snip]
> >00:01:36, Serial0.2
> >O*E2 0.0.0.0/0 [110/1] via 165.21.200.9, 00:01:36,Serial0.2
> > [110/1] via 165.21.200.14, 00:01:37,Serial0.3
>
>
>
> It will do two by default (as I recall) and you will only require
> "max-path" if you want more than 2 (up to 6). But I see two routes
> to 0/0....
>
> Remember it's not like BGP output.... there isn't a ">".
>
> The output above is saying you can get to 0/0 via s0.2 *AND* S0.3.
>
> With fast-switching turned on, it will round robin between the two
> based on the destination IP address' cache. If you're using CEF,
> source/destination tuple will determine which interface is used.
>
> hsb



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:58 GMT-3