From owner-freebsd-net@FreeBSD.ORG Mon Jun 30 15:20:12 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 5913C1065671 for ; Mon, 30 Jun 2008 15:20:12 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (unknown [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id EBBD88FC15 for ; Mon, 30 Jun 2008 15:20:11 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (cpe-24-161-6-139.hvc.res.rr.com [24.161.6.139]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.14.2/8.14.2) with ESMTP id m5UFJRe5065828; Mon, 30 Jun 2008 11:19:37 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6) with ESMTP id m5UFJtMP072578; Mon, 30 Jun 2008 11:19:55 -0400 (EDT) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6/Submit) id m5UFJsOe072577; Mon, 30 Jun 2008 11:19:54 -0400 (EDT) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200806301519.m5UFJsOe072577@himinbjorg.tucs-beachin-obx-house.com> To: steve@ibctech.ca (Steve Bertrand) Date: Mon, 30 Jun 2008 11:19:54 -0400 (EDT) In-Reply-To: <4868E183.2070504@ibctech.ca> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, "Tuc at T-B-O-H.NET" Subject: Re: [freebsd-net] 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: Mon, 30 Jun 2008 15:20:12 -0000 > > Tuc at T-B-O-H.NET wrote: > > > 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 > > With your exact configuration between two 7.0 boxes, I see no indication > of this error whatsoever, with the /128 prefix. > Possibly because of : http://lists.freebsd.org/pipermail/freebsd-net/2006-May/010718.html http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/93220 which wouldn't apply to me due to my version. > > > 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 > > When I attempted to recreate the tunnel with any prefix length other > than 128, the same ifconfig error appeared as above. It appears as > though when creating a gif tunnel, the only IPv6 prefix length that is > valid as far as ifconfig is concerned is /128 even though the link's > prefix is /64 even in 7. > It seems if I just did : ifconfig gif0 inet6 2001:470:7:28::2/64 instead of : ifconfig gif0 inet6 2001:470:7:28::2 2001:470:7:28::1 prefixlen 128 It "got happy". I haven't seen any of the messages yet, and so far no issues I can readily see. Tuc