Title: Re: [LARTC] multipath routing
Hi, using the following:
 
ip route add equalize 10.200.1.0/24 nexthop via 10.200.0.2 dev neta nexthop
> via 10.200.0.2 dev neta2

while doing a  ->
 
while [ 1 ]
do
   ip route flush cache
done
 
the transfer of packets almost seems equal?
 
thx jason


From: [EMAIL PROTECTED] on behalf of comp.techs
Sent: Thu 10/27/2005 10:02 AM
To: Edmundo Carmona; lartc@mailman.ds9a.nl
Subject: RE: [LARTC] multipath routing

Hi, I also used TEQL this worked very well, but I require the (weight) option.
 
thx jason


From: [EMAIL PROTECTED] on behalf of Edmundo Carmona
Sent: Thu 10/27/2005 8:20 AM
To: lartc
Subject: Re: [LARTC] multipath routing

Multipath takes a little more that just setting the default route. You
have to set separate routing tables for each interface involved in the
multipath routing (though I haven't understood yet why they are
needed.. the fact is that if you don't set them, multipath won't
route).

Also, even if you set it all right, it doesn't mean that if you send
two packets to a location X, one will go through one interface and the
second will go through the other. Routes are cached, and after a
routing decision has been made for the first packet, packets going to
that same host will go through the same interface till the caching
time has gone by.

On 10/26/05, comp.techs <[EMAIL PROTECTED]> wrote:
> Hi, I am tring to us ip route to load balance  between two interfaces.
>
>
>
> ip route add equalize 10.200.1.0/24 nexthop via 10.200.0.2 dev neta nexthop
> via 10.200.0.2 dev neta2
>
> Where neta and neta2 are gre tunnels.   Testing show that packets travel  in
> a single sided manner.
>
> Do I need to use the multipath (IP_ROUTE_MULTIPATH_CACHED) module?
>
> thx jason
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
>
>
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to