From owner-freebsd-current Sat Jan 8 20:31:19 2000 Delivered-To: freebsd-current@freebsd.org Received: from fgwmail5.fujitsu.co.jp (fgwmail5.fujitsu.co.jp [192.51.44.35]) by hub.freebsd.org (Postfix) with ESMTP id 22B4614C41 for ; Sat, 8 Jan 2000 20:31:17 -0800 (PST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from m1.gw.fujitsu.co.jp by fgwmail5.fujitsu.co.jp (8.9.3/3.7W-MX9912-Fujitsu Gateway) id NAA20476; Sun, 9 Jan 2000 13:31:13 +0900 (JST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from incapgw.fujitsu.co.jp by m1.gw.fujitsu.co.jp (8.9.3/3.7W-9912-Fujitsu Domain Master) id NAA22872; Sun, 9 Jan 2000 13:31:12 +0900 (JST) Received: from localhost ([192.168.245.186]) by incapgw.fujitsu.co.jp (8.9.3/3.7W-9912) id NAA09572; Sun, 9 Jan 2000 13:31:11 +0900 (JST) To: bloom@acm.org Cc: freebsd-current@FreeBSD.ORG Subject: Re: IPv6 testing...willing to help In-Reply-To: <38780706.1200D7AC@acm.org> References: <20000108133114L.shin@nd.net.fujitsu.co.jp> <3877DD18.D8BF669F@acm.org> <38780706.1200D7AC@acm.org> X-Mailer: Mew version 1.94 on Emacs 20.4 / Mule 4.0 (HANANOEN) X-Prom-Mew: Prom-Mew 1.93.4 (procmail reader for Mew) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000109133146O.shin@nd.net.fujitsu.co.jp> Date: Sun, 09 Jan 2000 13:31:46 +0900 From: Yoshinobu Inoue X-Dispatcher: imput version 990905(IM130) Lines: 41 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I found the problems I was seeing. I had an old configuration of dhclient > dating from before it was integrated into FreeBSD. At that time, I just called > dhclient without specifying the interface. (I only had one NIC.) Dhclient then > tried using all interfaces it could find. One of the interfaces it tried to use > was faith0 which generated all of the errors. I just fixed by network startup > to specify the interface for dhclient and all of the error messages went away. Thanks very much for your testing. After I read your last mail, I also reviewed the code and noticed it, and tried to fix it. The cause of the problem is that, the newly added dummy interface, faith, is actually using same routine for loopback interface. But it has BROADCAST flag set. And when dhclient is execed without argument, it sends DHCP requests to every interfaces which has BROADCAST flag set. And when it is sent to faith0 then it actually go to looutput(), and the log messages looutput: af=0 unexpected is printed there. Faith has LOOPBACK flag set before, but it is changed to BROADCAST to announce routes destined to faith interfaces via IPv6 routing daemon. Because usually routing daemons don't announce routes destined to interfaces which has LOOPBACK flag set. I just tried to remove even BROADCAST flag from faith, and it seems to work in my enviroments. Route6d still advertise routes destined to faith, and loooutput error messages are stopeed. I'll commit it now. Thanks, Yoshinobu Inoue > Jim Bloom > bloom@acm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message