From owner-freebsd-net@FreeBSD.ORG Mon May 8 04:04:28 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA66516A54E for ; Mon, 8 May 2006 04:04:28 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 894EE43D64 for ; Mon, 8 May 2006 04:04:19 +0000 (GMT) (envelope-from bmah@freebsd.org) Received: from [64.142.31.109] (phantom.kitchenlab.org [64.142.31.109]) (authenticated bits=0) by a.mail.sonic.net (8.13.6/8.13.3) with ESMTP id k4844IAR017154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 May 2006 21:04:19 -0700 Message-ID: <445EC341.60406@freebsd.org> Date: Sun, 07 May 2006 21:04:17 -0700 From: "Bruce A. Mah" User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: Ed Schouten References: <20060506172742.GM15353@hoeg.nl> In-Reply-To: <20060506172742.GM15353@hoeg.nl> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=5ba052c3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFC6AB091FFE13E16F4E1318A" Cc: Interlink Beheer , FreeBSD Net Subject: Re: nd6_lookup prints bogus messages with point to point devices 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, 08 May 2006 04:04:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFC6AB091FFE13E16F4E1318A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If memory serves me right, Ed Schouten wrote: > On one of the FreeBSD machines we maintain at Dispuut Interlink[1], we > get a lot of messages like these: >=20 > | nd6_lookup: failed to add route for a neighbor(), errno=3D= 17 >=20 > The addresses mentioned in the messages are all addresses of endpoint > addresses of point-to-point devices. The nd6_lookup() call in the > function nd6_output() is responsible for it. If you look through > nd6_output(), you see that a couple of lines below the nd6_lookup() cal= l > it doesn't really care when dealing with IFF_POINTOPOINT devices. >=20 > It would be really useful to drop the messages when dealing with point > to point devices, so I write a patch[2] for nd6_lookup() to make it > print the message when not dealing with IFF_POINTOPOINT devices. >=20 > Should I open a PR for this patch? I think that suz@ and ume@ are the people who have worked in this area most recently, hopefully one of them will speak up. You didn't give a lot of details...please give (at a minimum) the version of FreeBSD you're using and more details about the interface over which you're having this problem. I saw this on RELENG_6 sometime after some IPv6 ND changes that were merged in late last year. I have a gif(4) tunnel to my ISP over which I do IPv6. The GIF tunnel was originally configured as a point-to-point interface and I got the same messages you mentioned. My workaround was to configure the gif(4) interface as a /127, which was obviously only possible because the two interface addresses on each end of the tunnel just happened to differ only in their least-significant bits. (I know this isn't the right solution.) Bruce. --------------enigFC6AB091FFE13E16F4E1318A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEXsNB2MoxcVugUsMRAlY1AKDOFsX42piD/RB1LXbkUCklqwsddACg9JHe KfhTxU8vXu8SiOwE2ZO77BY= =A0Cx -----END PGP SIGNATURE----- --------------enigFC6AB091FFE13E16F4E1318A--