Guillaume Bourque
2005-May-16 14:09 UTC
help for dual ineternet access on Mandrake 10.1, MASQUERADE: Route sent us somewhere else
Hi all, I have read and done the LARTC HOW-to and almost everything work''s execpt from the inside network. When load balancing over the two access it only work on the linux router/nat machine 1) I am running stock mandrake kernel 2.6.8.1-12mdk and using stock shorewall config 2.0.8 2) I have two internet link and two internals link. Load balance setup work for the linux router/nat server itself. 3) From inside when in load balancing mode I get "MASQUERADE: Route sent us somewhere else" on the router and the pakects never go thru the FW, I see they comme in but after that nothing. 4) If I replace the load balance default route with only one path then it work from inside (from either external path). Setup that wont work from inside ip route add default scope global nexthop via $P1 dev $IF1 weight 1 \ nexthop via $P2 dev $IF2 weight 1 Setup that is working ip route change default scope global nexthop via $P1 dev $IF1 weight 1 or ip route change default scope global nexthop via $P2 dev $IF2 weight 1 Any pointer would be very helpfull ! Should I go to 2.4 kernel that comes with mandrake 10.1 ? TIA
Edesio Costa e Silva
2005-May-16 16:54 UTC
Re: help for dual ineternet access on Mandrake 10.1, MASQUERADE: Route sent us somewhere else
Hi! I hit this bug with kernels 2.4.x and 2.6.x. Please, take a look at http://www.ssi.bg/~ja/nano.txt. There are patches there to solve this problem. Good luck, Edésio On Mon, May 16, 2005 at 10:09:03AM -0400, Guillaume Bourque wrote:> Hi all, > > I have read and done the LARTC HOW-to and almost everything work''s > execpt from the inside network. When load balancing over the two access > it only work on the linux router/nat machine > > > 1) I am running stock mandrake kernel 2.6.8.1-12mdk and using stock > shorewall config 2.0.8 > > 2) I have two internet link and two internals link. Load balance setup > work for the linux router/nat server itself. > > 3) From inside when in load balancing mode I get "MASQUERADE: Route sent > us somewhere else" on the router and the pakects never go thru the FW, I > see they comme in but after that nothing. > > 4) If I replace the load balance default route with only one path then > it work from inside (from either external path). > > > Setup that wont work from inside > > ip route add default scope global nexthop via $P1 dev $IF1 weight 1 \ > nexthop via $P2 dev $IF2 weight 1 > > Setup that is working > > ip route change default scope global nexthop via $P1 dev $IF1 weight 1 > > or > > ip route change default scope global nexthop via $P2 dev $IF2 weight 1 > > Any pointer would be very helpfull ! > > Should I go to 2.4 kernel that comes with mandrake 10.1 ? > > TIA > > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc-- Grief can take care of itself, but to get the full value of a joy you must have somebody to divide it with. -- Mark Twain