LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-NAT [Local Loopback Problem]

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS-NAT [Local Loopback Problem]
From: "dae gow kim" <uribox@xxxxxxxxxxxxxxx>
Date: Wed, 24 Dec 2003 13:47:15 +0900
Thanks for your answer...
You said that my problem is can solved by modifying LVS source.
If so, can you tell me the source position of explicitly ignore Local packet?

----- Original Message ----- 
From: "Horms" <horms@xxxxxxxxxxxx>
To: "LinuxVirtualServer.org users mailing list." 
<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, December 24, 2003 11:35 AM
Subject: Re: LVS-NAT [Local Loopback Problem]


> On Wed, Dec 24, 2003 at 10:18:15AM +0900, dae gow kim wrote:
> > 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...?
> 
> LVS does not typically work for localy generated packets.
> You will probably need to modify the LVS source so that
> it does not explicitly ignore Local packets if you want this to work.
> 
> -- 
> Horms
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>