On Thu, Nov 02, 2000 at 11:41:03AM +0800, dick wrote:
> i have two computer to test the linuxvirtual server.use the LV_NAT mode.
> the two server has install rh62,and the one i install rh62 cluster.so i don't
> need to install the kernel patch.the other has install apache server as the
> real server.the two computer link each other with a hub.and the two computer
> has only one ethnet.
> the director has the ip 10.0.0.1,and i alias the ethnet 0 another ip eth0:0
> 200.200.200.54
> the realserver has the ip 10.0.0.10 and i set the default gw is 10.0.0.1.
> i type follow commands on the director
> echo "1" > /proc/sys/net/ipv4/ip_forward
> ipchains -A forward -j MASQ -s 10.0.0.0/24 -d 0.0.0.0/0
>
> ipvsadm -A -t 200.200.200.54:80 -s wlc
> ipvsadm -a -t 200.200.200.54:80 -R 10.0.0.10
This should be
ipvsadm -a -t 200.200.200.54:80 -R 10.0.0.10 -m
>
> and i in the 200.200.200.5 use lynx http://200.200.200.54/
> first i successed ,but the another request to the http://200.200.200.54.
> it refuse to disconnect.and i used the sniffit in the director to detect the
> ip packets from the source 10.0.0.10,i see when i send the package has
> success to translate to the realserver.but the request packet is null.
> but i can't see the access log to this apache server .thanks a lot.
I am confused about your network setup.
Is it as follows?
+-----------+
| Client |
+-----+-----+
| eth0:200.200.200.5
|
|
| eth0: 200.200.200.x
| eth0:0: 200.200.200.54
+------+-------+
|Linux Director|
+------+-------+
| eth1: 10.0.0.1
|
|
| eth0: 10.0.0.10
+-----+-----+
|Real Server|
+-----------+
--
Horms
|