LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Configuring LVS TUN with new arp_tables_jf

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Configuring LVS TUN with new arp_tables_jf
From: Nigel Hamilton <nigel@xxxxxxxxxxx>
Date: Tue, 9 Aug 2005 06:45:20 -0500 (CDT)

Hi Joseph,

        Thanks for your speedy response.


I haven't used arp_tables, but lo is not involved with LVS-Tun. You should do everything (whatever that is) on
the tunnel device
5B>
DEVICE=lo:0
IPADDR=192.168.6.240

why is this x.x.6.x
               ^


        I think this is the VIP in the ultramonkey example?

NETMASK=255.255.255.255
NETWORK=192.168.0.0
BROADCAST=192.168.0.255

and this x.x.0.x?
            ^


        This is in the ultramonkey example too?


ONBOOT=yes
NAME=loopback

But now I'm stuck. Lets assume the IP of my real server is 67.45.23.2.

* what address should I use for NETWORK? My real servers are on different networks? My guess is: 67.45.0.0.

VIPs on local devices (lo, tun) are /32 networks so if the VIP is x.x.x.52, then the broadcast is x.x.x.52 and the netmask is 255.255.255.255


OK. So I should _not_ set up a "lo" device. OK. So instead I'm going to set up a tunl0 interface instead with these parameters (i.e., /etc/sysconfig/network-scripts/ifcfg-tunl0). Assuming a VIP of 66.98.227.143 and a RIP of 66.98.186.73. Does this look sane?

MTU=1480
NETMASK=255.255.255.255
BOOTPROTO=none
BROADCAST=66.98.1.255
IPADDR=66.98.227.143
NETWORK=66.98.227.143
ONBOOT=yes
DEVICE=tunl0


NIge


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