LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Connecting to services not hosted locally.

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Connecting to services not hosted locally.
From: "Dan" <kasper37@xxxxxxxxxxxxx>
Date: Sat, 1 Oct 2005 11:29:19 -0700
Here's the setup:

lvs01:~# ipvsadm
IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  x.x.x.70:www rr
  -> y.y.y.16:www          Route   1      0          0
  -> y.y.y.17:www          Route   1      0          0
TCP  x.x.x.70:smtp rr
  -> y.y.y.18:smtp         Route   1      0          0
  -> y.y.y.19:smtp         Route   1      0          0

Is there a way to connect from one of the real servers hosting web to the
x.x.x.70:smtp service?  The problem is that telnet y.y.y.70 25 from one of the
web real servers is going to try to connect to smtp locally, so it would
probably involve sending any locally generated packets out over the wire even if
the ip is configured locally.  I don't remember this specific situation being
mentioned in the docs so any insight would be appreciated.  This is a DR setup
and all servers in question are running the 2.6.8 kernel.

Dan

P.S.  I understand that there is other trickery that can be done (such as
connecting to the RIPs) but I'm wondering if the above way is possible.


<Prev in Thread] Current Thread [Next in Thread>