Antw: Why does Leases File win over static entry?

Thomas Zenz Thomas.Zenz at oenb.at
Wed Jun 21 12:03:35 UTC 2006


It's even worse,

Now I changed a static entry in my Config.
After a Reboot the Printer Requests it's old adress. There is no Lease
or static entry for this IP Adress. 
The server sends back the offer and kepps no entry, only in the Log
File...

Jun 21 13:54:55 anlpn35 dhcpd: BOOTREQUEST from 00:14:38:a6:91:13 via
10.210.0.1
Jun 21 13:54:55 anlpn35 dhcpd: BOOTREPLY for 10.210.1.3 to ANP469_2
(00:14:38:a6:91:13) via 10.210.0.1
Jun 21 13:55:25 anlpn35 dhcpd: DHCPDISCOVER from 00:14:38:a6:91:13 via
10.210.0.1
Jun 21 13:55:25 anlpn35 dhcpd: DHCPOFFER on 10.210.1.3 to
00:14:38:a6:91:13 via 10.210.0.1
Jun 21 13:55:30 anlpn35 dhcpd: DHCPREQUEST for 10.210.1.3
(10.115.221.35) from 00:14:38:a6:91:13 via 10.210.0.1
Jun 21 13:55:30 anlpn35 dhcpd: DHCPACK on 10.210.1.3 to
00:14:38:a6:91:13 via 10.210.0.1



>>> "Thomas Zenz" <Thomas.Zenz at oenb.at> 21.06.2006 13:52:07 >>>
Hey 

I am useing ISC DHCP for more than 4 years.
Now we upgraded to 3.0.4r1.

Our Printers use static Adresses. Usually the Printer gets connected
to
the LAN and recieves a dynamic Adress. 
Then everything is configured via WebInterface and we enter the New
Static Adress in the Config File.

In the old version, the Printer changed it's Adress after Reboot. 

In Version 3.0.4r1 the Leases File wins and the Printer gets the
dynamic adress :(

Is there a new Config Option?

host AGP124_1
{
        hardware ethernet 00:0f:20:7d:96:5b;
        fixed-address 10.140.1.24;
        option host-name "AGP124";
        ddns-hostname "AGP124";
        ddns-domainname "ad.oenb.co.at";
        update-static-leases true;
}

regards
Tom




More information about the dhcp-users mailing list