no logs

Darrell Horn darrell.horn at sbcglobal.net
Mon Oct 30 13:56:09 UTC 2006


Please remove me from your emailing list.


On 10/30/06 6:42 AM, "Roberto Greiner" <mrgreiner at gmail.com> wrote:

> Hi,
> 
> 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 beeing 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/logl/messages where the following:
> 
> dhcpd: Abandoning IP address 172.16.aaa.bbb: pinged before offer
> 
> These messages where generated only in the beggining, probably because
> many clients still had addresses assigned by the previous server. 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.
> 
> 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
> addresses.
> 
> config file:
> option domain-name "domain.xxxx.xxxx";
> default-lease-time 7200;
> max-lease-time 86400;
> authoritative;
> log-facility local7;
> ddns-update-style none;
> subnet 172.16.0.0 netmask 255.255.0.0 {
>         range 172.16.11.2 172.16.255.254;
>         option routers 172.16.0.1;
>         option domain-name-servers 172.16.0.1;
>         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:
> dhcpd_enable="YES"
> dhcpd_flags=""
> dhcpd_conf="/usr/local/etc/dhcpd.conf"
> dhcpd_ifaces="bge1"
> 
> The bge1 interface, has the following configuration in rc.conf:
> ifconfig_bge1="inet 172.16.0.254  netmask 255.255.0.0"
> ifconfig_bge1_alias0="inet 172.17.0.254  netmask 255.255.0.0"
> 
> 
> Thank you for your help,
> 
> Marcos Roberto Greiner
> 




More information about the dhcp-users mailing list