In a VS-NAT LVS, the incoming packets are NAT'ed (or
whatever it's called) to the real-servers.
The returning packets are NAT'ed (in the opposite sense)
on the director by rules like
ipchains -A forward -p tcp -j MASQ -s realserver1 telnet -d 0.0.0.0/0
If there are several IP's on the outside of the director eg
192.168.2.1 eth0
192.168.2.110 eth0:1 (the VIP)
how does the director know to make the src_addr = VIP
for the outgoing packet?
In general for a NAT box, how is the src_addr chosen for masqueraded
packets, when there are several IPs on the outside of the NAT box.
Joe
--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
|