[Linux-HA] linux-ha with routing and/or masquerading?
Chris Stoddart
C.Stoddart at dcs.shef.ac.uk
Mon Sep 4 08:27:43 MDT 2006
Hoping someone can help with this, which is probably as much a routing
question as a linux-ha question, but I need linux-ha to set the routing
automatically, so here goes...
Im a newbie to linux-ha and just done a quick and dirty set up of
linux-ha with two servers in active-passive configuration with a single
apache web server. Everything works well except for a slight problem - I
think that network packets always appear to come from the server
currently active, not from the virtual machine.
Let me try and explain: I have two servers, 'server1' and 'server2' plus a
virtual server 'virtualserver'. With linux-ha running on the servers, the
primary server 'server1' hosts the 'virtualserver'. 'server2' takes over
if I lose 'server1' - so far, so good.
If, from outside, I ssh into 'virtualserver' and then ssh from there back
into the outside machine, then it always looks like my ssh session is
coming from 'server1' not 'virtualserver'. Most people probably wouldn't
care, but I have to route through a firewall for some things and I need
it to look like packets are coming from 'virtualserver', since that is
what the firewall hole is set up for. Not only that, but I need this to
work automatically so that if 'server2' takes over from 'server1',
packets still appear to come from 'virtualserver'.
If anyone has an idea how to make this work with linux-ha, I'd be most
grateful.
Cheers,
Chris
More information about the Linux-HA
mailing list