On Tue, Jun 09, 2009 at 11:05:23AM +0300, Thanasis wrote:
> I am running dhcpd via /etc/rc.conf.local (dhcpd_flags="le0") and it
> works (as tested on the lan clients), but the file /var/db/dhcpd.leases
> does not record any leases.
> Is it normal?
> 
> # cat /var/db/dhcpd.leases
> # All times in this file are in UTC (GMT), not your local timezone.
> # The format of this file is documented in the dhcpd.leases(5) manual page.

I don't think it's normal, assuming that you did it correctly. Are you using 
your box as an access point? I'm curious what makes you think "it works?" Did 
you consult: http://www.openbsd.org/faq/faq6.html#DHCPclient and 
http://www.openbsd.org/faq/faq6.html#DHCPserver ? It's pretty straightforward.

> 
> #
> # ls -l /var/db/dhcpd.leases
> -rw-r--r--  1 root  wheel  145 Jun  7 12:32 /var/db/dhcpd.leases
> #

Reply via email to