Hello,
On Mon, 24 Jan 2000, Robert Kavaler wrote:
> I have an application where the real servers need to ask for services
> from the virtual server in DIRECT ROUTING mode. Since the real server
> has the virtual server's IP on its loop-back interface all outgoing
> packets are immediately directed back to the originating real server and
> never make it to the virual server. Is there some way to tell Linux to
> force all packets for a lLOCAL IP address out a specific interface?
>
> II think that NAT will work for this case, but that direct connect will
> not. I'm not sure about tunneling. If you know how to make direct
> connect work, please email me at kavaler@xxxxxxxxxxxxx Thank you,
>
Use netmask 255.255.255.255 when adding VIP as "lo" alias. But you
can't talk with the Director using VIP as source address. You can bind()
to uniq IP addresses before connect().
Regards
--
Julian Anastasov <uli@xxxxxxxxxxxxxxxxxxxxxx>
----------------------------------------------------------------------
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx
|