From owner-freebsd-net Tue Oct 23 10:12:37 2001 Delivered-To: freebsd-net@freebsd.org Received: from mercury.ccmr.cornell.edu (mercury.ccmr.cornell.edu [128.84.231.97]) by hub.freebsd.org (Postfix) with ESMTP id 3778837B405 for ; Tue, 23 Oct 2001 10:12:33 -0700 (PDT) Received: from ruby.ccmr.cornell.edu (IDENT:0@ruby.ccmr.cornell.edu [128.84.231.115]) by mercury.ccmr.cornell.edu (8.9.3/8.9.3) with ESMTP id NAA02578; Tue, 23 Oct 2001 13:13:09 -0400 Received: from localhost (mitch@localhost) by ruby.ccmr.cornell.edu (8.9.3/8.9.3) with ESMTP id NAA25810; Tue, 23 Oct 2001 13:12:24 -0400 X-Authentication-Warning: ruby.ccmr.cornell.edu: mitch owned process doing -bs Date: Tue, 23 Oct 2001 13:12:23 -0400 (EDT) From: Mitch Collinsworth To: Landon Stewart Cc: freebsd-net@FreeBSD.ORG Subject: Re: My ISP dislikes my dhclient In-Reply-To: <5.1.0.14.0.20011023092127.02e561c8@pop.uniserve.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 23 Oct 2001, Landon Stewart wrote: > I'm using dhclient to obtain an IP address from my ISP. They claim that I > am "hard coding" an IP because my IP doesn't seem to change. I know that > dhclient keeps a database of past leases and attempts to renew the same IP > whenever possible. > > Is there anyway I can direct my ISP to some documentation that would make > them stop getting angry with me? The documentation is in their DHCP server's logs. I.e. they can look there to see if you're sending DHCPDISCOVER's and DHCPREQUEST's. If you're not then you're guilty. > Is it correct to say that dhclient simply ASKS for the same IP again and if > their dhcp server says "yes you may have that IP again" then and only then > will it be allowed or does dhclient attempt to steal the IP back in any > way? (I don't think it does). All DHCP clients ask to renew their existing address. The server could theoretically refuse and make the client get a new address, if it's run by a moron who thinks this is an effective way to prevent users from running servers. (Hint: it's not.) If you're conforming to proper DHCP protocol you will take what the server offers you. You can't "steal" an address from the server but you could refuse to take the address it offers and just make up one of your own. If they know how to read their server logs they can tell what's happening. -Mitch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message