LVS-DR with Gateway+Director combo

Joseph Mack NA3T jmack at
Tue Mar 7 12:30:01 GMT 2006

On Tue, 7 Mar 2006, Oliver Weichhold wrote:

> <snip>
> ifconfig eth1:0 netmask broadcast
> up
> iptables -t nat -A PREROUTING --dst -p tcp --dport 80 -j
> DNAT --to-destination
> iptables -t nat -A POSTROUTING -p tcp --dst --dport 80 -j
> SNAT --to-source
> iptables -t nat -A OUTPUT --dst -p tcp --dport 80 -j DNAT
> --to-destination

> Is this caused by the
> absense of the patch you've mentioned?

can't tell. Did you read the docs for settting up 

> Furthermore, I've realized that I'm going to be limited to one gateway for
> the forseeable future so I have to NAT anyway.

what's the connection between the number of gateways and the 
forwarding method?

> Either through ipvs or
> through iptables. Does it matter who performs the NAT or am I completely
> wrong?

the director does the NAT for you. Read the HOWTO


Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at 
Homepage It's GNU/Linux!

More information about the lvs-users mailing list