On Thu, Dec 11, 2008 at 02:02:03PM +0100, martin f krafft wrote:
> khyber:/# ip tun add test mode sit && ip tun list
> sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc

I will not be surprised if you find many more of these. :(

> There was no error message of any kind and $?=0, and yet the tunnel
> was not created. I forgot to specify the remote endpoint.

Unfortunately it's not that simple. The remote argument is not always
required, ie. when you specily local a.b.c.d (and leave remote as any).
I don't know how much of the configuration checking logic should be
duplicated in iproute2 vs. the kernels internal one.
It seems like the kernel rejects the configuration (missing both local
and remote) without returning a proper error code for the ioctl call
in ip/tunnel.c:tnl_add_ioctl().

Thanks for the report, I'll see if I can find some kernel hacker to poke
at to get this fixed.

-- 
Andreas Henriksson

Attachment: signature.asc
Description: Digital signature

Reply via email to