OpenBSD IPv6 problem

itojun@iijlab.net itojun@iijlab.net
Wed, 07 Mar 2001 01:41:07 +0900


>I know this is not the most-correct place to ask things about IPv6 OpenBSD
>problems, but I do not get any reply when I post in the openbsd
>newsgroups; nor in the IPv6 OpenBSD mailing-list.
>
>I have a number of PCs running OpenBSD 2.8 and Zebra; I would like to use
>as BGP4+ peering mesh.
>
>But, I get two 'add' things:
>- When I configure a IPv6 over IPv4 tunnel, I always get a error-message:
>ifconfig: SIOCDIFADDR: Address family not supported by protocol family

	i guess this is due to some issue in /sbin/ifconfig.
	please ignore it for now.

>- In the log-file, I keep on getting the folling message:
>Mar  6 15:59:46 bgppai /bsd: nd6_lookup: failed to add route for a
>neighbor(3ffe:80b0:1001:00ff::0002), errno=17
>What is 'error nr. 17'?

>        inet6 3ffe:80b0:1001:ff::3 -> 3ffe:80b0:1001:ff::2 prefixlen 127

	the above error is generated because of this configuration.
	please use either of the following:

	ifconfig gif1 inet6 3ffe:80b0:1001:ff::3 3ffe:80b0:1001:ff::2 prefixlen 128 alias
	ifconfig gif1 inet6 3ffe:80b0:1001:ff::3 prefixlen 64 alias

	if you specify both of the addresses, use prefixlen = 128; otherwise,
	use prefixlen = 64 (or 127 if you really want to).

	latest KAME code checks the condition on ioctl time.

itojun