Re: multipath routing

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <comp.techs@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
>
>
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux