Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2001 13:12:23 -0400 (EDT)
From:      Mitch Collinsworth <mitch@ccmr.cornell.edu>
To:        Landon Stewart <landons@uniserve.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: My ISP dislikes my dhclient
Message-ID:  <Pine.LNX.4.10.10110231258510.2030-100000@ruby.ccmr.cornell.edu>
In-Reply-To: <5.1.0.14.0.20011023092127.02e561c8@pop.uniserve.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10110231258510.2030-100000>