LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS/TUN problem

To: Tao Zhao <taozhao@xxxxxxxxxx>
Subject: Re: LVS/TUN problem
Cc: Linux Virtual Server Mailing List <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Wed, 7 Nov 2001 21:13:43 +0200 (EET)
        Hello,

On Wed, 7 Nov 2001, Tao Zhao wrote:

> > if you add hidden VIP to dummy or lo device:
> >
> >     ifconfig tunl0 0.0.0.0 up
>
> This is the fix! As stated in all my previous mail, I used
> $ifconfig tunl0 up
>
> It seems that without giving it a "fake" 0.0.0.0 address, tunl0 is not
> quite working even it is in the output of ifconfig. That's why
> RS$ip route get from CIP to VIP iif tunl0
> gave me a error.
>
> I made this mistake as I followed the documentation
> http://www.linuxvirtualserver.org/VS-IPTunneling.html,the second to the
> last example to use dummy0 interface. The same problem for bringing dummy0
> up.
>
> Of course this document does specify it's for kernel 2.2. But it doesn't
> work for kernel 2.4.5! Can somebody add a note for kernel 2.4 to the page?
> It took me 10 hours and a score of emails to the mailing list to figure
> this out, thanks to Julian and Joseph. Hope nobody else makes the same
> mistake.

        Oh, well. 2.2 and 2.4 should have the same behavior. In any case,
the web page should be fixed. I'll try to prepare a list of fixes.

        This feature of fib_validate_source() not to allow incoming
traffic for devices without any IPs looks as precaution against
missing device sysctl var settings. But may be there is another
reason for this (a need to check for ARP devices, etc).

> -Tao

Regards

--
Julian Anastasov <ja@xxxxxx>



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