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
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@aspenview.org> 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 > > >
Hi, I also used TEQL this worked very well, but I require the (weight) option. thx jason ________________________________ From: lartc-bounces@mailman.ds9a.nl 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 <comp.techs@aspenview.org> 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
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 neta2while doing a -> while [ 1 ] do ip route flush cache done the transfer of packets almost seems equal? thx jason ________________________________ From: lartc-bounces@mailman.ds9a.nl 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: lartc-bounces@mailman.ds9a.nl 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 <comp.techs@aspenview.org> 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
Hi, I have set up multipath routing using two gre tunnels. The multipath routes are setup via (zebra/ospf). I managed to modify zebra not to include the ''equalize'' in the multpath route, and set the weights 1:2. My question is that after doing 4+ ftp transfers I still do not see much traffic on the interface with a weight of 1 even thought the first tunnel is near maximum capacity. If this is due to the route cache, is there a way to reduce the TTL on the cache ? thx jason _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc