From owner-freebsd-net@FreeBSD.ORG Fri Jun 27 12:14:58 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A45DB1065671 for ; Fri, 27 Jun 2008 12:14:58 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 4CE558FC1C for ; Fri, 27 Jun 2008 12:14:58 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 68781 invoked by uid 89); 27 Jun 2008 12:16:09 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 27 Jun 2008 12:16:08 -0000 Message-ID: <4864D9C9.2020207@ibctech.ca> Date: Fri, 27 Jun 2008 08:15:05 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: "Tuc at T-B-O-H.NET" References: <200806270430.m5R4U5Ib025336@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200806270430.m5R4U5Ib025336@himinbjorg.tucs-beachin-obx-house.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: IPV6 problem : nd6_lookup: failed to add route for a neighbor X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 12:14:58 -0000 Tuc at T-B-O-H.NET wrote: > 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: ...hmmmm. I'm not certain here, but since /128 represents only a single address, I can understand why FreeBSD is getting confused. A /128 is an IP within its own solitary subnet, so I'd have to guess that you need a route to the remote end of the tunnel before you can set it as a default gateway. I've been needing to set up a few more tunnels, so I'll try one with FreeBSD this morning with the same setup you have to try to replicate the problem (on 7.0). > ifconfig: ioctl (SIOCAIFADDR): Invalid argument What was the command that you had entered when you received the above error? When you tried to change prefix length, did you destroy the existing tunnel first? > Sendmail seemed a bit cranky : > > Jun 26 23:53:19 MYHOST sendmail[17543]: gethostbyaddr(IPv6:2001:470:7:28::2) failed: 1 I believe this is a reverse DNS issue. From how I perceive that message, Sendmail is trying to retrieve a hostname based on that IP. Steve