• May 13, 2025, 04:38:07 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: UDHCPD Inform: add_lease 192.168  (Read 19540 times)

Lukeup

  • Level 1 Member
  • *
  • Posts: 6
UDHCPD Inform: add_lease 192.168
« on: November 03, 2010, 02:03:21 PM »

Hi, I have one machine that is flooding my log with UDHCPD Inform: add_lease 192.168 info errors or notices every 60 seconds (approx).  Anyone have an idea why and what they refer to??  Thanks, luke... recovering linksys owner.

Priority   Time   Message

info   Nov 3 15:53:37    UDHCPD Inform: add_lease 192.168.2.139
info   Nov 3 15:52:28    UDHCPD Inform: add_lease 192.168.2.139
info   Nov 3 15:51:21    UDHCPD Inform: add_lease 192.168.2.139
info   Nov 3 15:50:15    UDHCPD Inform: add_lease 192.168.2.139
info   Nov 3 15:48:04    UDHCPD Inform: add_lease 192.168.2.139
info   Nov 3 15:46:57    UDHCPD Inform: add_lease 192.168.2.139
info   Nov 3 15:45:13    UDHCPD Inform: add_lease 192.168.2.139
info   Nov 3 15:44:07    UDHCPD Inform: add_lease 192.168.2.139
info   Nov 3 15:43:00    UDHCPD Inform: add_lease 192.168.2.139
info   Nov 3 15:41:54    UDHCPD Inform: add_lease 192.168.2.139
Logged

mccauley

  • Level 1 Member
  • *
  • Posts: 5
Re: UDHCPD Inform: add_lease 192.168
« Reply #1 on: January 01, 2011, 08:29:15 PM »

I am not an expert, so take this with a grain of salt.

I, too, had repeated messages filling up the logs with messages of the form "UHDCP Inform: add_lease 192.168.x.x". I had assumed that these were messages from the DHCP client computers requesting more time to extend their leases. Actually, it seems that the client computers were not requesting more TIME on the lease, they were requesting more INFORMATION about the network environment.

I ran across this discussion where it was explained that these types of messages are requests for the DHCP server to add missing information to the lease. See:

http://forums.fedoraforum.org/showthread.php?t=123297

The above link explains how a dhcp client goes about asking for additional information from the dhcp server.

Also see:

http://forums.dlink.com/index.php?topic=3354.0

The above link explains how to configure a DIR-615 to provide NetBIOS configuration information to LAN hosts.

So, what I did was to make a few changes to the DHCP server settings under: Setup / Network Settings / DHCP Server Settings. Specifically, I checked the following items:

NetBIOS announcement
Learn NetBIOS from WAN

Since making this change, I do not get the annoying flood of DHCP log entries of the form "Inform: add_lease 192.168.x.x".

I think this means that it was the NetBIOS information that the DHCP clients were requesting. This conclusion is further re-inforced by the fact that the non-Windows clients (e.g., my OS X computers) were not generating the "UDHCPD Inform: add_lease 192.168.x.x" log entries.

For further reference see Wikipedia:

http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol#DHCP_information



« Last Edit: January 02, 2011, 01:38:07 PM by mccauley »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: UDHCPD Inform: add_lease 192.168
« Reply #2 on: January 01, 2011, 09:57:11 PM »

You might reserve assign your devices IP addresses instead of letting the router assign them. This might help lessen the amount of these log entries.
« Last Edit: April 07, 2014, 11:27:29 AM by FurryNutz »
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

Lukeup

  • Level 1 Member
  • *
  • Posts: 6
Re: UDHCPD Inform: add_lease 192.168
« Reply #3 on: January 03, 2011, 07:56:34 AM »

Thanks FurryNutz.  That stopped the logs so I can at least see what else is going on.  Not sure why I didn't think to try a static IP.  I'd still like to know what root cause was.

Happy New Year!
Thanks, Luke.
Logged

Lukeup

  • Level 1 Member
  • *
  • Posts: 6
Re: UDHCPD Inform: add_lease 192.168
« Reply #4 on: January 03, 2011, 08:02:00 AM »

Oh and Thanks mccauley.  I tried your settings and it did not correct the logs.  Great information you shared.

Thanks, Luke.
Logged

mbg

  • Level 2 Member
  • **
  • Posts: 35
Re: UDHCPD Inform: add_lease 192.168
« Reply #5 on: January 03, 2011, 08:07:53 AM »

Thanks FurryNutz.  That stopped the logs so I can at least see what else is going on.  Not sure why I didn't think to try a static IP.  I'd still like to know what root cause was.

Happy New Year!
Thanks, Luke.

Yeah, you shouldn't have to -- DHCP has benefits, is an offered feature, and should work properly!
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: UDHCPD Inform: add_lease 192.168
« Reply #6 on: January 03, 2011, 09:56:56 AM »

I agree with you, you should be able to use the router in most any way as designed. However setting up Reserved IP addressesing has more to offer especially when using all the other features like Virtual Server and QoS. You don't want to set those of and have the DCHP server break your addressing by accident making those or other configurations not work. It's also helps in trouble shooting too and help in managing your network system too.

Over all, just having additional log entries shouldn't lesson your experience of the router. If your not really concerned with them, turn them off. My 2 cents.  ::)
« Last Edit: April 07, 2014, 11:27:06 AM by FurryNutz »
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

mccauley

  • Level 1 Member
  • *
  • Posts: 5
Re: UDHCPD Inform: add_lease 192.168
« Reply #7 on: January 04, 2011, 03:49:42 PM »

Not to be argumentative, but it helps to have logs to review from time to time, especially when you are having issues. If the router is logging repeated entries, such as the add_lease entries, every minute or so, you are likely not to see any serious log entries if there are any, because the messages scroll off before you can review them.

So, yeah, I would call this a problem. There are two solutions:

a. Turn off logging, as the post suggests; or
b. Find a computer on your network that runs syslog and send the log entries there.

Some people want to be able to review the logs. For them (a) is not a viable option.
And (b) is not option for most users.
Logged

Lukeup

  • Level 1 Member
  • *
  • Posts: 6
Re: UDHCPD Inform: add_lease 192.168
« Reply #8 on: January 06, 2011, 08:21:48 AM »

Okay, thanks all for your suggestions.  After monitoring my logs for a bit after the issue with - info   Nov 3 15:53:37    UDHCPD Inform: add_lease 192.168.2.139 - was corrected.  I found a couple other machines causing these info logs but not at the rate that this one machine was giving me.  I was able to correct those machines using the DHCP Reservation List.  This option under Setup-Network Settings, works sort of like the static IP only it uses the machine MAC address to reserve the machines IP.  Find the machine causing the info log under the Number of Dynamic DHCP Clients list, click reserve, click save under Add DHCP Reservation and then Save Settings at the top.  The logs disappear, at tleast for the machines causing the occasional logs.

I went back and changed the machine that was flooding the log buffer back to DHCP and went through the reserve process and it did not fix this one machine.  I'm not sure if it might not be related to the distance this machine is away from the router.  I have 2 machines in that office hooked to a gigabit switch but this one is 3 feet farther (cable length).  Both are well within the 100 meter range.  New gigabit nic.....  I went back to the static IP and all is well.

I'm not getting any logs now.  When I make changes I get a few... No logs are good logs.  Hope this post help someone. 
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: UDHCPD Inform: add_lease 192.168 (RESOLVED)
« Reply #9 on: January 06, 2011, 08:36:46 AM »

Glad to hear.  ;)
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

thecreator

  • Level 6 Member
  • *
  • Posts: 795
Re: UDHCPD Inform: add_lease 192.168
« Reply #10 on: January 07, 2011, 09:37:11 AM »

You might static assign your devices IP addresses instead of letting the router assign them. This might help lessen the amount of these log entries.

Hi FurryNutz,

That doesn't seem to work on the one I just yesterday set up. I set up the router using static IP Addresses.
Logged
thecreator - Running a Verizon FIOS / Fios-G1100 Router into a D-Link DIR-859 Router Rev. A3, Firmware 1.03 and a D-Link DWA-552 Wireless Network PCI Adapter Card. OP Sys: Win 10 Pro - DNS-323 with Firmware 1.10

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: UDHCPD Inform: add_lease 192.168
« Reply #11 on: January 07, 2011, 09:45:34 AM »

Are you able to identify the device and against the log entry? What kind of device is it? I presume that shutting off the device the entries goes away. What happens if you change the Reserved IP address to something different, does it create a log entry for the new IP address?
« Last Edit: April 07, 2014, 11:28:06 AM by FurryNutz »
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.