On Thu, Jul 26, 2007 at 04:18:39PM -0700, Clarence W. Robison wrote:
Content-Description: Mail message body
> On 26 Jul 2007 at 16:05, Clarence W. Robison wrote:
> 
> > I have an entry in my dhcp3 dhcpd.conf which says that host xyz with
> > certain MAC address should receive a fixed ip address. The server does
> > not respect that entry and gives the IP address to another host with a
> > different MAC address. I don't quite understand why it, dhcpd, should do
> > that. Is normal behavior?
> > 
> 
> OPPS, the message left before I could paste snippets of the conf file.
> ------------ dhcpd.conf ---------------------------------------------- # #
> Global Options pid-file-name "/var/run/dhcpd.pid"; lease-file-name
> "/var/lib/dhcp3/dhcpd.leases"; log-facility local1; ignore client-updates;
> ddns-update-style none; option domain-name-servers      XXX.XXX.XXX.3,
> XXX.XXX.XXX.223; default-lease-time              3600; max-lease-time     
>             14400; authoritative; subnet XXX.XXX.XXX.0 netmask
> 255.255.255.192 { # Default Options
>   option routers                XXX.XXX.XXX.1;
>   option subnet-mask            255.255.255.192;
>   option domain-name            "XXXXXXXX.XXXXXX.XXX";  
>   option time-offset            -25200; # Mountain Standard Time
>   option ntp-servers            XXX.XXX.XXX.3, XXX.XXX.XXX.58;
> 
>   range dynamic-bootp           XXX.XXX.XXX.22 XXX.XXX.XXX.60;

Here, you tell dhcpd it's OK to hand out 22 - 60 to non-matching hosts,
so it does just that.  Fixed address and range assigned addresses should
not overlap.

>   host xxx {  
>                 hardware ethernet 00:13:20:2d:31:d1;
>                 fixed-address XXX.XXX.XXX.22;
>          }
-- 
Rob

Attachment: signature.asc
Description: Digital signature

Reply via email to