[lvs-users] One realserver must connect to services to other realservers (routing problem).
L.S. Keijser
leon at linux.nl
Fri Aug 26 08:56:57 BST 2011
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?
regards,
Léon
More information about the lvs-users
mailing list