From owner-freebsd-questions Tue Sep 21 11:37:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dt014nb6.san.rr.com (dt014nb6.san.rr.com [24.30.129.182]) by hub.freebsd.org (Postfix) with ESMTP id CD27B14E14 for ; Tue, 21 Sep 1999 11:37:21 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from localhost (doug@localhost) by dt014nb6.san.rr.com (8.9.3/8.8.8) with ESMTP id LAA16575; Tue, 21 Sep 1999 11:36:52 -0700 (PDT) (envelope-from Doug@gorean.org) Date: Tue, 21 Sep 1999 11:36:52 -0700 (PDT) From: Doug X-Sender: doug@dt014nb6.san.rr.com To: Andrew Reilly Cc: Sheldon Hearn , freebsd-questions@FreeBSD.ORG, bugs@bugs.au.freebsd.org Subject: Re: dhclient, kernel (STABLE) glitch this morning In-Reply-To: <99092120273700.32688@gurney.reilly.home> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Sep 1999, Andrew Reilly wrote: > On Tue, 21 Sep 1999, Sheldon Hearn wrote: > > On Tue, 21 Sep 1999 08:04:35 +1000, "Andrew Reilly" wrote: > > > > > The gist of the problem is that when dhclient was given the new > > > netmask, the gateway router address changed from 24.192.49.1 to > > > 24.192.49.1. However, since my IP address did _not_ change, > > Oh, gack! I didn't really say that, did I? At least the printenv output > was a cut and paste, so should show the right value. Of course, with a > 22-bit netmask, the gateway router address changed to 24.192.48.1. > > > > dhclient-script didn't change the routing table accordingly. > > > > I've assigned your PR to the DHCP maintainer, in case you don't get any > > feedback here. > > Is it worth trying to tweak the PR into correctness, or is it obvious > enough? It was obvious enough. :) Also, since no one else has commented I'll take a stab. I've done a lot of work with DHCP, and I think that your assessment of this as an "edge case" was valid. You might want to bring up this discussion on the DHCP client mailing list, http://www.isc.org/view.cgi?/services/mailing-lists/dhcp-lists.phtml for more info. We use the ISC's implementation of dhclient v2.0 pretty much verbatim, so a fundamental change to the dhclient-script like you're suggesting here should really be discussed there. HTH, Doug -- "My mama told me, my mama said, 'don't cry.' She said, 'you're too young a man to have as many women you got.' I looked at my mother dear and didn't even crack a smile. I said, 'If women kill me, I don't mind dyin!'" - John Belushi as "Joliet" Jake Blues, "I Don't Know" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message