Re: two gateways with one NIC

2007-04-11 Thread W Agtail
come handy for someone one day?) I just did a bit of a fudge while testing. My only option, seems only to create a single sided 'active/passive' KeepAliveD/LVS cluster. Thanks all for your help :) On Tue, 2007-04-10 at 08:32 -0700, Ben Greear wrote: > W Agtail wrote: > > On Mo

Re: two gateways with one NIC

2007-04-10 Thread W Agtail
On Mon, 2007-04-09 at 11:11 -0700, Ben Greear wrote: > W Agtail wrote: > > Nice one, but unfortunately still doesn't work. > > I'm now not seeing any marked messages in /var/log/messages and traffic > > still going via gw2 for port 8088. > > Maybe you could u

Re: two gateways with one NIC

2007-04-09 Thread W Agtail
On Mon, 2007-04-09 at 14:11 -0400, Lennart Sorensen wrote: > On Mon, Apr 09, 2007 at 07:05:31PM +0100, W Agtail wrote: > > Nice one, but unfortunately still doesn't work. > > I'm now not seeing any marked messages in /var/log/messages and traffic > > still going v

Re: two gateways with one NIC

2007-04-09 Thread W Agtail
Nice one, but unfortunately still doesn't work. I'm now not seeing any marked messages in /var/log/messages and traffic still going via gw2 for port 8088. Thanks again. On Mon, 2007-04-09 at 13:23 -0400, Lennart Sorensen wrote: > On Mon, Apr 09, 2007 at 06:02:23PM +0100, W

Re: two gateways with one NIC

2007-04-09 Thread W Agtail
On Mon, 2007-04-09 at 12:19 -0400, Lennart Sorensen wrote: > On Mon, Apr 09, 2007 at 06:13:50PM +0200, Patrick McHardy wrote: > > As the name suggests, POSTROUTING comes after routing, so marking > > packets there doesn't affect routing. Use PREROUTING for forwarded > > traffic and OUTPUT for local

Re: two gateways with one NIC

2007-04-09 Thread W Agtail
On Mon, 2007-04-09 at 10:54 -0400, Lennart Sorensen wrote: > On Sun, Apr 08, 2007 at 08:29:07PM +0100, W Agtail wrote: > > This is what I'm trying to achieve with the following iptables/iproute2 > > configuration on both web servers: > > > > iptables -t mangle -A P

Re: two gateways with one NIC

2007-04-08 Thread W Agtail
Hi, please refer to comments below. On Sun, 2007-04-08 at 14:22 -0400, Lennart Sorensen wrote: > On Sun, Apr 08, 2007 at 05:10:15PM +0100, W Agtail wrote: > > Hi, and thanks very much for your response. Your guess sounds spot on. > > > > As you've mentioned, using

Re: two gateways with one NIC

2007-04-08 Thread W Agtail
hanks again. On Sun, 2007-04-08 at 11:01 -0400, Lennart Sorensen wrote: > On Sun, Apr 08, 2007 at 04:35:53AM +0100, W Agtail wrote: > > Hope you can help. > > > > I have the following setup using LVS (Linux Virtual Servers): > > &g

two gateways with one NIC

2007-04-07 Thread W Agtail
LVS OK, but unable to connect to web2:8088 should LVS take me to web2. Its as though the iptables/ip route settings are not working as they should. Any ideas what I'm doing wrong? Many thanks, W Agtail. - To unsubscribe from this list: send the line "unsubscribe netdev" in th