Keepalived and NAT loopback,.

Pat Suwalski <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
Hello.

(Apologies if this isn't the right place, I notice there is no -users list).

I have a configuration using keepalived for Apache, set up pretty much 
exactly as described here:

   http://keepalived.org/LVS-NAT-Keepalived-HOWTO.html

Now, I have a third internal server that is using the virtual internal 
IP as its gateway. I need this server to be able to access loadbalanced 
content. So, if the outside virtual address of keepalived is 1.2.3.4, 
that is what server three needs to get at.

I can't seem to find a way to make this work. Using a "standard" 
loopback recipe with iptables, such as this one:

   http://for-invent.com/nat-loopback-using-iptables/

is not doable, because the --to-destination is one of the two 
loadbalanced web servers.

Has anyone managed to solve this?

Many thanks,
--Pat

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.