<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffcc" text="#000000">
    Correct, dynamic ranges can not overlap fixed addresses without
    issues like what you see.<br>
    <br>
    As mentioned they are handled in different parts of the code and the
    two parts of the code do not communicate that information. So the
    code for dynamic ranges will hand out what you have given them and
    the fixed address code will also hand out what you gave them.<br>
    <br>
    We could wish for changes or at least warnings but this is what we
    have until "somebody" gets the time and money to make changes and
    then it is a question how things could/should be changed. So far no
    changes I heard of.<br>
    <br>
    I don't write the code, so others will have to comment on that.<br>
    <br>
    <br>
    On 29/04/11 23:08, Jack Kielsmeier wrote:
    <blockquote
      cite="mid:C86DA3623E5B44E6903E48083C0EE40F@iowanetworkservices.net"
      type="cite">
      <pre wrap="">We do have static ranges, yes. But some of the fixed addresses, for whatever
reason, fall within a dynamic range. I know this is far from optimal, but
it's how things presently are set up.

So, what I'm hearing here, is that there is no way to restrict handing out
an IP address to a certain MAC, if that IP address is part of a DHCP pool
statement?

That makes sense to me, just asking for clarification.

Thank You,

Jack Kielsmeier
netINS Systems Administrator
<a class="moz-txt-link-abbreviated" href="mailto:systems@netins.net">systems@netins.net</a>
________________________________________
From: <a class="moz-txt-link-abbreviated" href="mailto:dhcp-users-bounces+jackkiel=netins.net@lists.isc.org">dhcp-users-bounces+jackkiel=netins.net@lists.isc.org</a>
[<a class="moz-txt-link-freetext" href="mailto:dhcp-users-bounces+jackkiel=netins.net@lists.isc.org">mailto:dhcp-users-bounces+jackkiel=netins.net@lists.isc.org</a>] On Behalf Of
Sten Carlsen
Sent: Friday, April 29, 2011 3:51 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
Subject: Re: Clarification on fixed-address statement

You do keep the fixed addresses in a different range than the dynamic?

A fixed address statement does not prevent the same address being handed out
as dynamic if it lies within that range.


On 29/04/11 22:06, Jack Kielsmeier wrote: 
Hello,

We are running ISC DHCP 3.1.0 in a failover configuration. I do know
that 3.1.0 is a somewhat old version, but it has worked well for us.

I am wondering if this is the expected behavior of fixed-address
statements:

Upon initial inspection, it seems that if you declare a fixed-address
for a MAC address, that IP address is reserved and can only be used by
the declared MAC address.

In reality, we are seeing the DHCP server hand out fixed-addresses to
any MAC. When the MAC address that is assigned the fixed-address asks for
an IP, DHCP will attempt to give it the fixed-address if it is free, but
will hand out another IP if it's unavailable.

Is this how fixed-address statements are supposed to work? If so, is
there a way to make sure only a specific MAC address can use a specific
IP address?

For reference, this is how we are declaring fixed-addresses:

host HOSTX { hardware ethernet xx:xx:xx:xx:xx:xx;fixed-address
###.###.###.###; }

I have stripped the MAC and IP address out.

Thank You,



</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards

Sten Carlsen

No improvements come from shouting:

       "MALE BOVINE MANURE!!!" 
</pre>
  </body>
</html>