Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2004 11:02:53 +0900
From:      Rob <nospam@users.sourceforge.net>
To:        freebsd-questions@freebsd.org
Subject:   dhcpd-client floods /var/log/messages. Can I stop this?
Message-ID:  <408DBF4D.1000900@users.sourceforge.net>

next in thread | raw e-mail | index | archive | help

Hi,

I have a PC that gets its internet via dhcp-client.
Eventually this will connect to my ISP, but for now it
is served by a dhcpd-server on another FreeBSD PC of mine.

On the server, /usr/local/etc/dhcpd.conf is configured
as:
   authoritative;
   ddns-update-style ad-hoc;
   subnet 10.0.0.0 netmask 255.255.255.0 {
     range 10.0.0.2 10.0.0.254;
     option routers 10.0.0.1;
     option broadcast-address 10.0.0.255;
     option subnet-mask 255.255.255.0;
     option domain-name "thuis.domein";
     option domain-name-servers ercc.snu.ac.kr, erccw1.snu.ac.kr;

     default-lease-time 600;
     max-lease-time 7200;
   }

When I go to the client PC (10.0.0.254) and check its
/var/log/messages file, it is flooded with lines like this:

[...]
Apr 27 10:28:21 router dhclient: New Network Number: 10.0.0.0
Apr 27 10:28:21 router dhclient: New Broadcast Address: 10.0.0.255
Apr 27 10:33:14 router dhclient: New Network Number: 10.0.0.0
Apr 27 10:33:14 router dhclient: New Broadcast Address: 10.0.0.255
Apr 27 10:37:57 router dhclient: New Network Number: 10.0.0.0
Apr 27 10:37:57 router dhclient: New Broadcast Address: 10.0.0.255
Apr 27 10:42:28 router dhclient: New Network Number: 10.0.0.0
Apr 27 10:42:28 router dhclient: New Broadcast Address: 10.0.0.255
Apr 27 10:46:24 router dhclient: New Network Number: 10.0.0.0
Apr 27 10:46:24 router dhclient: New Broadcast Address: 10.0.0.255
Apr 27 10:51:11 router dhclient: New Network Number: 10.0.0.0
Apr 27 10:51:11 router dhclient: New Broadcast Address: 10.0.0.255
Apr 27 10:54:58 router dhclient: New Network Number: 10.0.0.0
Apr 27 10:54:58 router dhclient: New Broadcast Address: 10.0.0.255


I don't need all these lines in my messages file; it actually obscures
other relevant information in here. What can I do to dhclient to
not do this?

Thanks,
Rob.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?408DBF4D.1000900>