LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problem testing tunnelling - got it - need to do modprobe ipip

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Problem testing tunnelling - got it - need to do modprobe ipip
From: Ranga Nathan <kairanga@xxxxxxx>
Date: Sun, 20 Nov 2005 17:38:19 -0800
Going through LVS Howto, figured out I needed to do:
           modprobe ipip
on the realserver to enable the tunnelling. This gives me tunl0 interface to bind the VIP.
Sorry for my ass-about frequent posting.


Ranga Nathan wrote:

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


_______________________________________________
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


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