From owner-freebsd-current@FreeBSD.ORG Wed Jul 28 04:27:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E8B216A5C1 for ; Wed, 28 Jul 2004 04:27:39 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id D08C243D2D for ; Wed, 28 Jul 2004 04:27:38 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 29084 invoked from network); 28 Jul 2004 04:27:38 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 28 Jul 2004 04:27:38 -0000 Received: from slimer.baldwin.cx (slimer.baldwin.cx [192.168.0.16]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i6S4QMKo076150; Wed, 28 Jul 2004 00:27:31 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Tue, 27 Jul 2004 23:50:56 -0400 User-Agent: KMail/1.6 References: <20040326001705.W34892@cvs.imp.ch> <40FDC87E.7070602@mac.com> <200407211412.54225.doconnor@gsoft.com.au> In-Reply-To: <200407211412.54225.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407272350.56522.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Chuck Swiger cc: Andrew Gallatin cc: current@FreeBSD.org Subject: Re: Ok, who broke interface autoconfiguration? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 04:27:41 -0000 On Wednesday 21 July 2004 12:42 am, Daniel O'Connor wrote: > On Wed, 21 Jul 2004 11:05, Chuck Swiger wrote: > > Andrew Gallatin wrote: > > [ ... ] > > > > > I think the key might be the dhcp server message: " unknown lease > > > 0.0.0.0." > > > > If memory serves, the ISC DHCP software can become petulant and confused > > by its own leases file if/when internal structures change in size. > > Perhaps try "rm /var/db/dhc*.leases" and see whether that fixes things. > > I see it get confused when nothing gets changed. > > It sits there for $longtime (might be forever, not sure). The only fix I > have found is to kill it, delete dhclient.leases and re-run it.. > (This is on IA32) What happens for me is that it configures the interface for IP 0.0.0.0, but it sends out lease requests from its earlier lease IP (10.x.x.x) rather than 0.0.0.0. The problem for me is when I switch between my home network (192.168.0.x) and my work network (10.x.x.x), in which cases the source IP address it is using is invalid and I think the DHCP server is thus ignoring the request. Removing the leases file and restarting dhclient seems to be the only fix. It also seems to have recently been broken (like in the last few weeks or months). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org