LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Problem testing tunnelling

To: lvs <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Problem testing tunnelling
From: Ranga Nathan <kairanga@xxxxxxx>
Date: Sun, 20 Nov 2005 15:45:02 -0800
I have ste up LVS/DR in my lab. Now I am trying to test LVS/TUN. I followed the instruction son the Ultramonkey site. But I am seeing only inactive connection on the ipvsadm monitor.
My ldirectord.cf is:

virtual=200
   real=127.0.0.1:0 ipip 1 ".healthcheck.html" "OKAY"
   real=172.24.6.111:0 ipip 1 ".healthcheck.html" "OKAY"
   service=http
   checkport=80
   protocol=fwm
   scheduler=wrr
   checktype=negotiate
   fallback=127.0.0.1

I have  set the FW mark as follows:
       ifconfig lo:1 172.21.112.19 netmask 255.255.255.255 up
iptables -t mangle -A PREROUTING -d 172.21.112.19/32 -j MARK --set-mark 200



The watch output is:
Every 2s: ipvsadm -L -n Sun Nov 20 15:37:40 2005

IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
 -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
FWM  200 wrr
 -> 172.24.6.111:0               Tunnel  1      0          1

And I followed the instructions on setting ip_forward on etc. and the special precautions in binding the VIP on the real server (172.24.6.111).

Is there anything else that needs to be enabled?

Thanks



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