LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: What am I doing wrong?

To: "Ron Harwood" <harwoodr@xxxxxxxxxxxxxxxx>, <linux-virtualserver@xxxxxxxxxxxx>
Subject: Re: What am I doing wrong?
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Sat, 02 Jan 1999 22:34:40 +0800
At 15:55 99-1-1 -0600, Ron Harwood wrote:
>...but it still doesn't work. :(

I guess the problem is that you haven't set the default route of server
farm (from node1 to node6) to your load balancer. Because in the virtual
server via NAT, the reply packets from the real servers needs to be
rewritten back to the virtual IP address, otherwise the connection will be
broken.

>-----Original Message-----
>From: Ron Harwood <harwoodr@xxxxxxxxxxxx>
>To: linux-virtualserver@xxxxxxxxxxxx <linux-virtualserver@xxxxxxxxxxxx>
>Date: Friday, January 01, 1999 2:30 PM
>Subject: Re: What am I doing wrong?
>
>
>>Correction it's:
>>
>> ipfwadm -F -am -S 192.168.3.0/24 -D 0.0.0.0/0
>>
>>:)
>>-----Original Message-----
>>From: Ron Harwood <harwoodr@xxxxxxxxxxxxxxxx>
>>To: linux-virtualserver@xxxxxxxxxxxx <linux-virtualserver@xxxxxxxxxxxx>
>>Date: Friday, January 01, 1999 1:18 PM
>>Subject: VS: What am I doing wrong?
>>
>>
>>>Hey all:
>>>
>>>I'm trying to do the following - I have a Linux box as my gateway between
>>my
>>>cablemodem and my LAN.  I'd like to send port 80 from my gateway (external
>>>side: eth1 24.226.X.Y where X and Y are the remainder of my address) to 6
>>>internal hosts (named node1 - node6 at addresses 192.168.3.201 - 206 )
>>>
>>>I've issued the following commands:
>>>
>>>ipfwadm -F -a m -S 24.226.X.Y/32 -D 0.0.0.0/0
>>>ippfvsadm -A -t 24.226.X.Y:80 -R 192.168.3.201:80
>>>ippfvsadm -A -t 24.226.X.Y:80 -R 192.168.3.202:80
>>>ippfvsadm -A -t 24.226.X.Y:80 -R 192.168.3.203:80
>>>ippfvsadm -A -t 24.226.X.Y:80 -R 192.168.3.204:80
>>>ippfvsadm -A -t 24.226.X.Y:80 -R 192.168.3.205:80
>>>ippfvsadm -A -t 24.226.X.Y:80 -R 192.168.3.206:80
>>>
>>>However, all off my attempts to access the web-page will not work (httpd
>is
>>>not running on the gateway)...
>>>
>>>ippfvsadm -L will show that there are connections...

That's good. It proves that you have configured the load balancer right.

>>>
>>>The IPmasq all seems to work as systems can get out onto the 'net no
>>>problem, and the GW can access the internal systems as well...
>>>
>>>So what am I doing wrong?
>>>
>>>Also, does anyone have an example script for something similar to this
>with
>>>both their IPmasq and VS stuff in it?
>>>
>>>Regards,
>>>
>>>Ron Harwood
>>>


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