On Thu, 2011-08-25 at 13:03 +0000, Markus Hofer wrote:
> REALSERVER (A) REALSERVER (B)
> (192.168.0.10) (192.168.0.10)
You probably made a typo here since they both have the same RIP. Anyway,
in LVS-NAT you indeed set the default gateway to the VIP of the
director. On a /24 network you would set it to 192.168.0.x
> The problem is, that realserver B see that the question for the service
> comes from the network 192.168.0.10 and then goes
> directly to A, but couldn't work out the answer, because realserver A
> ask 192.168.200.15 and not 192.168.0.10.
That's odd. Why would rs A 'ask' 200.15? Why not simply connect to rs B?
In that case the SRC IP would be the RIP from rs A.
Or maybe i'm misunderstanding your question and you actually want to
connect from rs A to VIP:service, which then redirects it to a rs?
Please read the documentation before posting - it's available at:
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users