Re: [LARTC] Load-banancing. two ip's from one isp - solution

2006-03-29 Thread sAwAr
hi for those who was fallowing this topic I can say that IP_ROUTE_MULTIPATH_CACHED must be disabled! After few tests I'm quite sure that this was cousing my problems. Now I'm using 2.5.15 kernel without patch of Julian Anastasov and load-balancing is working. lartc split-access how to and

Re: [LARTC] Load-banancing. two ip's from one isp - solution

2006-03-29 Thread William L. Thomson Jr.
On Wed, 2006-03-29 at 19:12 +0200, sAwAr wrote: hi for those who was fallowing this topic I can say that IP_ROUTE_MULTIPATH_CACHED must be disabled! After few tests I'm quite sure that this was cousing my problems. Now I'm using 2.5.15 kernel without patch of Julian Anastasov and

Re: [LARTC] Load-banancing. two ip's from one isp - solution

2006-03-29 Thread Szymon Mroofka
Dnia środa, 29 marca 2006 20:18, William L. Thomson Jr. napisał: On Wed, 2006-03-29 at 19:12 +0200, sAwAr wrote: hi for those who was fallowing this topic I can say that IP_ROUTE_MULTIPATH_CACHED must be disabled! After few tests I'm quite sure that this was cousing my problems. Now I'm

Re: [LARTC] Load-banancing. two ip's from one isp

2006-03-28 Thread sAwAr
That's your problem. The Linux box with multiple gateways needs nat. At least that was a requirement back in the day. Pretty sure nothing has change there. Part of what Julian's patches address as well. When I had a setup like yours. I did two rounds of NAT/PAT. Once in each of the routers,

Re: [LARTC] Load-banancing. two ip's from one isp

2006-03-28 Thread William L. Thomson Jr.
On Tue, 2006-03-28 at 11:27 +0200, sAwAr wrote: That's your problem. The Linux box with multiple gateways needs nat. At least that was a requirement back in the day. Pretty sure nothing has change there. Part of what Julian's patches address as well. When I had a setup like yours. I did

Re: [LARTC] Load-banancing. two ip's from one isp

2006-03-28 Thread Kirk Reiser
William L. Thomson Jr. [EMAIL PROTECTED] writes: On Tue, 2006-03-28 at 11:27 +0200, sAwAr wrote: But why this is happen? In my opinion there is still some bug because the gw should change in each hop like the src adress is changing. Well the request goes back out the interface it came in.

Re: [LARTC] Load-banancing. two ip's from one isp

2006-03-28 Thread William L. Thomson Jr.
Kirk, On Tue, 2006-03-28 at 10:46 -0500, Kirk Reiser wrote: William L. Thomson Jr. [EMAIL PROTECTED] writes: Somethings is not setup correctly then. Outgoing packets should use the same interface as incoming packets either SNAT or DNAT. If it is not, then that's because rules and tables

Re: [LARTC] Load-banancing. two ip's from one isp

2006-03-28 Thread sAwAr
On Tue, 2006-03-28 at 11:27 +0200, sAwAr wrote: That's your problem. The Linux box with multiple gateways needs nat. At least that was a requirement back in the day. Pretty sure nothing has change there. Part of what Julian's patches address as well. When I had a setup like

Re: [LARTC] Load-banancing. two ip's from one isp

2006-03-28 Thread William L. Thomson Jr.
On Tue, 2006-03-28 at 18:58 +0200, sAwAr wrote: According to: http://lartc.org/howto/lartc.rpdb.multiple-links.html This setup is responsible for sending answer with proper interface (witch it comes). Ignore it, it's not what you need or want. my setup is copy of this (with some things

Re: [LARTC] Load-banancing. two ip's from one isp

2006-03-28 Thread sAwAr
Dnia wtorek, 28 marca 2006 19:06, William L. Thomson Jr. napisał: On Tue, 2006-03-28 at 18:58 +0200, sAwAr wrote: According to: http://lartc.org/howto/lartc.rpdb.multiple-links.html This setup is responsible for sending answer with proper interface (witch it comes). Ignore it, it's not

Re: [LARTC] Load-banancing. two ip's from one isp

2006-03-28 Thread William L. Thomson Jr.
On Tue, 2006-03-28 at 19:55 +0200, sAwAr wrote: Ignore it, it's not what you need or want. Why not ?? Does it work? No, that's why ;) It is about two diferent isp and I have only on but I have two nic's with diferent nets it is just like two ISP in the example. I need (want to) split

Re: [LARTC] Load-banancing. two ip's from one isp

2006-03-28 Thread sAwAr
Hi, while I was waiting for your reply i decided to read everything once more: http://www.ssi.bg/~ja/#route routes-2.6.14-12.diff - March 3, 2005. Patch containing all following parts (applied in the same order), apply after disabling the IP_ROUTE_MULTIPATH_CACHED config option AND after

Re: [LARTC] Load-banancing. two ip's from one isp

2006-03-28 Thread William L. Thomson Jr.
On Wed, 2006-03-29 at 03:11 +0200, sAwAr wrote: Hi, while I was waiting for your reply i decided to read everything once more: http://www.ssi.bg/~ja/#route Excellent. routes-2.6.14-12.diff - March 3, 2005. Patch containing all following parts (applied in the same order), apply after

[LARTC] Load-banancing. two ip's from one isp

2006-03-27 Thread sAwAr
--eth0---80.48.56.70---80.48.56.65 ISP |my | router1 | | |linux

Re: [LARTC] Load-banancing. two ip's from one isp

2006-03-27 Thread William L. Thomson Jr.
On Tue, 2006-03-28 at 03:39 +0200, sAwAr wrote: I've two ip from my isp one public and one internal. ISP have two routers router1 is gw for public ip and router2 is gw for internal ip's and do nat of connections. I'm trying to set up load-balanicng. I have only on box and I don't do any nat on