no log generation

Roberto Greiner mrgreiner at
Tue Oct 31 17:39:03 UTC 2006


I've installed isc-dhcpd recently, but did something wrong. The server is working properly, assigning IP addresses to clients, but for some reason no log is being generated at all. The only reason I'm sure the server is working properly is because tshark did show that the packets are getting in and out as expected. The only messages that the deamon
generated at all in /var/log/messages where the following:

dhcpd: Abandoning IP address pinged before offer

To see if it was some problem with firewall blocking the messages to the syslog deamon, I tried disabling the firewall completely with 'pfctl -d', but still didn't get any log.

I also tried running the server on foreground, and the logs were generated on the screen without any problem. The command I used was:
/usr/local/sbin/dhcpd -f -d -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.leases -pf /var/run/dhcpd/ -user dhcpd -group dhcpd bge1

I just added '-f -d' to what I saw as being started by the start-up script.

Can somebody help me find out what's wrong?

Here is the data about my install:
OS: FreeBSD 6.1
ISC-DHCPd version 3.0.3
The machine has two ethernet boards. One with a valid IP address (bge0),
the other inside the NATed network (bge1), where it is assigning the

config file:
option domain-name "domain.xxxx.xxxx";
default-lease-time 7200;
max-lease-time 86400;
log-facility local7;
ddns-update-style none;
subnet netmask {
        option routers;
        option domain-name-servers;
        default-lease-time 7200;
        max-lease-time 86400;

In the syslog file I added the following line:
local7.*                                        /var/log/dhcpd.log

Syslog was properly restarted after that, but no data at all is beeing
entered on the above file. I tried creating the file with touch, but
without results.

In rc.conf I addesd the following lines:

The bge1 interface, has the following configuration in rc.conf:
ifconfig_bge1="inet  netmask"
ifconfig_bge1_alias0="inet  netmask"

Thank you for your help,

Marcos Roberto Greiner

|                     Marcos Roberto Greiner                        | 
|                                                                   | 
|         Os otimistas acham que estamos no melhor dos mundos       | 
|         Os pessimistas tem medo de que isto seja verdade          | 
|                                                     Murphy        | 
|                         rgreiner at                           | 

More information about the dhcp-users mailing list