LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Problem when using aliased interfaces on realservers

To: "Easytrans Systems (Laurie Baker)" <lvs@xxxxxxxxxxxxx>
Subject: RE: Problem when using aliased interfaces on realservers
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Sun, 3 Aug 2003 12:26:55 +0300 (EEST)
        Hello,

On Sun, 3 Aug 2003, Easytrans Systems (Laurie Baker) wrote:

> Hmm... So I would have thought that each tunnel should have a unique or am I
> being a fool and you have defined VIP-1 & VIP-2 in the hosts file somewhere?
> if so what is the "ifconfig tunl0 0.0.0.0 up" all about?

        Init IP protocol on this interface (add /proc entries, etc)
before allowing the traffic by adding IPs.

> /sbin/ifconfig tunl0 192.168.1.100 netmask 255.255.255.255 broadcast
> 192.168.1.100 up
> /sbin/route add -host 192.168.1.100 dev tunl0
> and
> /sbin/ifconfig tunl0:1 192.168.1.200 netmask 255.255.255.255 broadcast
> 192.168.1.200 up
> /sbin/route add -host 192.168.1.200 dev tunl0:1

        Adding broadcasts and -host routes to local IP addresses
is superfluous starting from kernel 2.2.

Regards

--
Julian Anastasov <ja@xxxxxx>

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