[LARTC] default route
N N Ashok
nalkunda@cse.msu.edu
Thu, 30 Oct 2003 19:43:25 -0500
On Thursday 30 October 2003 02:52 am, Vadiraj C S scrawled:
> On Thu, 30 Oct 2003, Damion de Soto wrote:
> > getting lost. anyone comment on this ?
> >
> > If you use the ip route tool to created multiple weighted or equalized
> > default routes, you then use source-based routing to make sure that the
> > traffic goes back out the same route it came in on.
> > (unless you're trying to be tricky with asymetrical routing)
>
> I tried this, the routes get cached so most of the time the packets
> leave from the route they came in, but you can have two routes and
> there is no packet loss.
>
> Vadiraj C S
>
hi,
Having multiple equal cost routes just ensures that the traffic is balanced
per-route, i.e. every time a route is looked up in the FIB table, the
load-balancing comes into picture. but once a route has been established for
a destination, it is cached and all packets to that destination go via that
route. However, if you install the nano patch
(http://www.ssi.bg/~ja/nano.txt), the the load-balancing is done on a
per-packet basis. so for every packet, leaving the system (either forwarded
or output), the FIB table is consulted and the packets are balanced on the
multiple equal-cost paths provided you have 'equalize' keyword for that
multiple equal-cost route.
current i am actually implementing load-balancing (outgoing) on a per-session
and current-bandwidth-usage basis.
hope that helps.
ashok
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
--
-----------------------------------------------------------------------------
N N Ashok
Ph: 408-644-3646 (c)
517-353-4633 (ELANS Lab)
517-355-1789 (ERL Lab)
-----------------------------------------------------------------------------