Hi everybody,
We were looking at the LVS code and could not figure out the masquerading
part i.e. the reply from the real server to the clent. We also
traced through the ip_queue_xmit() function whci was not of much
help.
We could not figure which portion of the Linux networking code handles the
maquerading part.
We are running LVS - NAT on a 0.9.12-2.2.14 ipvs on a 2
machine network with the real server configured on the loopback of the virtual
server. Even ip_masquerade() does not seem to change the ip entries in the
packet.
Could someone please suggest as to where exactly is the ip address changed
back to that of the vip when the packet arrives from the real server to the
VS.
Thanx in advance,
Anmol Sheth.