LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

VS_DR with redirect approach not work!

To: "Linux Virtual Server" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: VS_DR with redirect approach not work!
From: "Nguyen Dang Phuoc Dong" <dongnd@xxxxxxxxxxxx>
Date: Mon, 31 Jul 2000 13:58:22 +0700
Hello,

I have a problem with VS_DR.

My configuration:

+ LinuxDirector:

- interface:

eth0 --> 10.0.0.1/255.0.0.0 (VIP)
eth0:0 --> 172.16.1.254/255.255.0.0

- routing enabled

echo 1 > /proc/sys/net/ipv4/ip_forward

-ipvsadm

ipvsadm -A -t 10.0.0.1:80 -s wlc
ipvsadm -a -t 10.0.0.1:80 -R 172.16.1.1 -g -w 1

+ Real server (IP 172.16.1.1)

- interface

eth0 --> 172.16.1.1/255.255.0.0

- Apache is listening on all interface 0.0.0.0:80

- ipchains -A input -j REDIRECT 80 -d 10.0.0.1 80 -p tcp

- routing enabled

echo 1 >/proc/sys/net/ipv4/ip_forward

- Default gateway: 172.16.1.254

I use a client computer that has IP 10.0.0.2 connect to VIP 10.0.0.1 on port
80 and get timeout. VS_NAT works fine.

Any help wuold be greatly appreciated. Thanks in advance.

Dong




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