LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS-NAT [Local Loopback Problem]

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: LVS-NAT [Local Loopback Problem]
From: "dae gow kim" <uribox@xxxxxxxxxxxxxxx>
Date: Wed, 24 Dec 2003 10:18:15 +0900
Hello guys, merry christmas~ 

Here is my simple setup...

[LVS-NAT setup]
Director : 
- IP : 10.0.0.71
- VIP : 10.0.0.72
- LAN IP : 192.168.0.1

Real Server1:
- IP : 192.168.0.2
- GW : 192.168.0.1

Below is ipvsadm command message...
--------------------------------------------------------------------
IP Virtual Server version 1.0.10 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  10.0.0.72:www rr
  -> 192.168.0.2:www              Masq    1      0          0         
--------------------------------------------------------------------

My problem is that web connection from the director is not working...
For example...
The web connection from 10.0.0.30(external host) to 192.168.0.2 is well done...
(when lynx 10.0.0.72 at 10.0.0.30)
However, when I try web connection from director(10.0.0.71 host)...
It is always connected to 10.0.0.71 instead of 192.168.0.2...
I want to connect to 192.168.0.2 at 10.0.0.71...
How can I solve this problem...?
<Prev in Thread] Current Thread [Next in Thread>