on 06/09/2009 02:52 PM neal hogan wrote the following: > 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? As a mail, name and dhcp server. > I'm curious what makes you think "it works?" I mean it does actually assign addresses to the network (lan) clients, although all are like static, ie assigned according to mac ethernet addresses of the clients' NICs.
host xxxxx { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address 192.168.0.XXX; } > Did you consult: http://www.openbsd.org/faq/faq6.html#DHCPclient and > http://www.openbsd.org/faq/faq6.html#DHCPserver ? It's pretty straightforward. > yes.