On Thu, Mar 14, 2013 at 09:46:04PM +1100, John Tate wrote:
> I have an android phone that requests a least regularly from my dhcpd
> server on OpenBSD 5.2 which eventually starts failing with this error in
> /var/log/daemon
>
> Mar 14 21:40:42 menger dhcpd[7088]: DHCPREQUEST for 10.0.0.4 from
> 0c:14:20:6b:08:e5 via fxp0
> Mar 14 21:40:42 menger dhcpd[7088]: DHCPNAK on 10.0.0.4 to
> 0c:14:20:6b:08:e5 via fxp0
> Mar 14 21:40:43 menger dhcpd[7088]: DHCPDISCOVER from 0c:14:20:6b:08:e5 via
> fxp0
> Mar 14 21:40:43 menger dhcpd[7088]: DHCPOFFER on 10.0.0.4 to
> 0c:14:20:6b:08:e5 via fxp0
> Mar 14 21:40:43 menger dhcpd[7088]: Both dynamic and static leases present
> for 10.0.0.4.
>
> If I remove the entry for 10.0.0.4 from /var/db/dhcpd.leases and restart it
> works again but only for a few hours.
>
> lease 10.0.0.4 {
> starts 4 2013/03/14 10:08:12;
> ends 4 2013/03/14 22:08:12;
> hardware ethernet ac:81:12:98:de:f3;
> uid 01:ac:81:12:98:de:f3;
> client-hostname "MURPHY";
> }
>
> I think I've done something wrong and I have very little experience with
> dhcpd.
>
> --
> www.johntate.org
>
Your /etc/dhcpd.conf file might be useful. Off the top of my head you
have static leases set up in the same range as your dynamic leases.
.... Ken