IPV6 problem : nd6_lookup: failed to add route for a neighbor

Tuc at T-B-O-H.NET ml at t-b-o-h.net
Fri Jun 27 04:30:21 UTC 2008


Hi,

	Running 5.5 (And no "upgrade" messages please, I'm forced to, its
out of my hands) and trying to bring up HE's IPV6.

	I've got it running on a 4.10 system (Ok, feel free to tell me
to upgrade, this one is more a lazy issue.. But I am making progress. I
bought new drives that'll be here next week so I can load 7.0 from
scratch) with no worries at all. Piece of cake, has been for ages.

	But once I brought it all up, I got :

kernel: nd6_lookup: failed to add route for a neighbor(2001:0470:0007:0028::0001), errno=17

	and ALOT of them. Taking a quick look in Google, it seems that they claim
its a prefix len issue, but I am running with a 128 prefix length even though it seems
they say :

Client IPv6 address:  	2001:470:7:28::2/64

The script they suggest, and I used, is :

ifconfig gif0 create
ifconfig gif0 tunnel MYIP 216.66.22.2
ifconfig gif0 inet6 2001:470:7:28::2 2001:470:7:28::1 prefixlen 128
route -n add -inet6 default 2001:470:7:28::1
ifconfig gif0 up

	The tunnel came up, was passing traffic, but those messages were
getting out of hand. I tried a prefixlen of 64, and I got:

	ifconfig: ioctl (SIOCAIFADDR): Invalid argument

Sendmail seemed a bit cranky :

Jun 26 23:53:19 MYHOST sendmail[17543]: gethostbyaddr(IPv6:2001:470:7:28::2) failed: 1

	Suggestions where to start?

		Thanks, Tuc


More information about the freebsd-net mailing list