Subject: Re: nd6_lookup: failed to add route... noise with freenet6 tunnel
To: Frederick Bruckman <>
From: Jun-ichiro itojun Hagino <>
List: tech-net
Date: 08/15/2001 01:47:05
>I've obtained a point-to-point tunnel from, built "tspc",
>and it mostly works fine.
>fredb@tautology-> ifconfig gif0
>gif0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
>        tunnel inet -->
>        inet6 fe80::2a0:ccff:fe54:1bb4%gif0 -> :: prefixlen 64 scopeid 0x10
>        inet6 3ffe:b80:2:33b::2 -> 3ffe:b80:2:33b::1 prefixlen 64

	don't configure like above.  what you will want to do is either
	of the following:

# ifconfig gif0 inet6 3ffe:b80:2:33b::2 3ffe:b80:2:33b::1 prefixlen 128
# ifconfig gif0 inet6 3ffe:b80:2:33b::2 prefixlen 64 alia0s

	don't use prefixlen 64 with both src/dst specified.  this is the
	reason for the kernel message "nd6_lookup: blah".

	with the latest KAME code, we forbid the misconfiguration at
	SIOCAIFADDR_IN6 ioctl.  I should upgrade netbsd sys/netinet6 soon.