LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Ultramonkey/LVS-TUN connection stalls on client

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Ultramonkey/LVS-TUN connection stalls on client
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Wed, 25 Feb 2004 07:05:50 -0500
Nigel Hamilton wrote:

> [root@realserver]# /sbin/ip route get from 81.152.187.242 to 66.98.227.143 
> iif tunl0
> Cannot find device "tunl0"
> 
>         Hmmm ... no 'tunl0'? I assume this refers to one of the interfaces
> on the RealServer? eth0?

tunl0 is a networking device like eth0, lo, dummy0. You turn it on in your
kernel compile (in networking options - IP:tunneling). You can build tunnelling 
as a module,
in which case you'll have to `insmod ipip` before you can use it, or you can 
build
it directly into the kernel.

At this stage you should be able to see the unconfigured tunl0 device with 
ifconfig
or ip addr show (my ifconfig used to see the unconfigured tunl0, but it doesn't 
anymore).

Then you configure the device with

ifconfig tunl0 192.168.1.110 netmask 255.255.255.255 broadcast 192.168.1.110

when the tunl0 device becomes visible to ifconfig

or 

ip addr add devl tunl0 192.168.1.110/32 brd 192.168.1.110

(note the VIP is a /32 addr, so the brd addr is not x.x.x.255)

Joe

-- 
Joseph Mack PhD, High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx
<Prev in Thread] Current Thread [Next in Thread>