[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCPD giving IP to wrong machine



Clarence W. Robison(robison@kimberly.uidaho.edu) is reported to have said:
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;
> 
>   host xxx {  
>                 hardware ethernet 00:13:20:2d:31:d1;
>                 fixed-address XXX.XXX.XXX.22;
>          }
> 
No expert here, but as mine works, and differs from your config I'll
show ehat I had to do.

in my /etc/dhcp3/dhcpd.conf  (not the /etc/dhcpd.conf) I have

host classy {
    hardware ethernet XX:XX:XX:XX:XX:XX;
    fixed-address 192.168.1.5;
    option host-name "classy.mtntop.home";
}

HTH
Wayne

-- 
Warning, keyboard not found. Press Enter to continue.
_______________________________________________________



Reply to: