LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problems with LVS TUN and adsl running NAT

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Problems with LVS TUN and adsl running NAT
From: "Viperman .::." <viperman777@xxxxxxx>
Date: Tue, 03 Feb 2004 23:25:58 -0200
Thats it. The problem is exactly what you described.
I tried the solution below, setting my lvs VIP as the 192.168.0.1
I set the REAL SERVER tunl0:0 as 192.168.0.1 also
I set http.conf to listen to ip 192.168.0.1
and I created a virtual host with the same ip and a domain name associated

Still nothing.

I'm kind of lost here. What you said me DOES make sense and it was exactly what I tought. I double checked everything and i can find no config errors at all, but still getting nothing on the browser.

Viper


From: Joseph Mack <mack.joseph@xxxxxxx>
Reply-To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx> To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Problems with LVS TUN and adsl running NAT
Date: Tue, 03 Feb 2004 06:50:12 -0500

"Viperman .::." wrote:
>
> I just don't understand what you need, so i will try again.

OK, I'll tackle the problem below then you tell me what I haven't addressed.

Problem: you want to set up an LVS behind a NAT modem. The outside
world comes in through a dynamically allocated IP that has a DNS name
www.foo.net. The dynamically allocated IP is always demasqueraded
(I think this is the right term) to 192.168.0.1 without changing
the port numbers. In the masquerading direction, packets leaving
from 192.168.0.1 emerge having src_addr = the dynamic IP.

Answer: You should be able to do this. You have an LVS with the VIP=192.168.0.1
and the name www.foo.net. Make sure the machines all think they are serving
packets for www.foo.net

Joe


--
Joseph Mack PhD, High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx
_______________________________________________
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

_________________________________________________________________
Learn how to choose, serve, and enjoy wine at Wine @ MSN. http://wine.msn.com/

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