LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-TUN: RTNETLINK answers: Invalid argument

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS-TUN: RTNETLINK answers: Invalid argument
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 4 Aug 2005 16:56:27 +0900
On Sat, Jul 09, 2005 at 06:58:44AM -0700, Joseph Mack NA3T wrote:
> On Fri, 8 Jul 2005, Son Nguyen wrote:
> 
> >root@realserver [~]# ip route get from CIP to VIP iif tunl0
> >RTNETLINK answers: Invalid argument
> 
> I don't remember what the answer is, but it's something
> quite stupid (unfortunately) and there's several ways of getting it.
> I remember asking Horms if we could get a list of ways
> this could happen, but we don't have it. Sorry

I'm not so sure that I have a list. But I'd suspsect that
the route in question is unknown to the kernel.

e.g. my box is 172.16.4.222 and the gateway is 172.16.0.1 

# ip route get from 172.16.4.222 to 172.16.0.1
172.16.0.1 from 172.16.4.222 dev eth0 
    cache  mtu 1500 rtt 3ms rttvar 5ms cwnd 2 advmss 1460 hoplimit 64

# ip route get from 172.16.4.223 to 172.16.0.1
RTNETLINK answers: Invalid argument

-- 
Horms

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