DHCP servers will often just revalidate the client's lease (ie, the same IP address.)  
However there is NO GUARANTEE that the client will get the same lease.  This is the 
same with service providers, or local lans.

Bob, are you using dhcpd-2.2.x?  In my debian config file there are a lot of helpful 
notes (/etc/dhcpd.conf).  One of them includes an example such as:
#host fantasia {
#  hardware ethernet 08:00:07:26:c0:a5;
#  fixed-address fantasia.fugue.com;
#}

I bet you can just comment out the hardware address and let it give the ip, or 
hostname address to any computer claiming to be 'fantasia'.  (if specifying a domain 
name, it will be resolved first before the ip address is assigned, naturally).

Cory


On Sat, Mar 31, 2001 at 03:49:15PM -0800, Ben Barrett wrote:
> I have been getting the same IP by simply claiming it...
> My box gets the same IP from the firewall each time by default,
> and the firewall gets the same IP "consistently" from my outside
> network, both of which use dhcp.  "Consistently" is entirely based
> on my experience, I've never seen re-assignment, using dhcp when
> the hardware doesn't change (if I plug my laptop into a different
> port on UOnet, I will indeed get assigned a different IP).
> In some cases I've set a machine to assume an address in the range
> acceptable by the dhcp server, and if there's no conflicts it appears
> as though the dhcp server will accept a choice from the client ??
> 
> ben
> 
> On Sat, 31 Mar 2001, Bob Miller wrote:
> 
> > Has anyone successfully configured DHCP to set a host to a static
> > IP address based on its client ID or host name?  I couldn't figure
> > out how to get this to work.
> > 
> > We occasionally swap our wireless cards around, so I don't want to
> > base the IP address on the Mac address.
> > 
> > Another, less pressing, desire is to get dhcpd to serve multiple
> > IP addresses to the same DHCP client.  Can that be done?
> > 
> > Thanks.
> > 
> > -- 
> > Bob Miller                              K<bob>
> > kbobsoft, LLC, software consulting
> > http://kbobsoft.com                     [EMAIL PROTECTED]
> > 

Reply via email to