From dhcp-server -- To unsubscribe, see the end of this message.
these devices (phoebe, aopen, belkin) can you duplicate the behaviour in
the lab?
Meaning, can you duplicate this by attaching the device directly to the
dhcpd server, (crossover cable).
I would try that. I have had something like this happen to me, and it was
because of a weak link and packets were getting lost.
in my case, a device with a good transmitter, but a bad receiver.
Maybe there is a possibility that the DISCVER comes in, but your FFERs
and/or ACKs are getting lost in the network.
Good Luck,
Duane Cox
Message
From: "Mason Schmitt" <mason.schmitt (AT) sunwave (DOT) net>
To: <dhcp-server (AT) isc (DOT) org>
Sent: Sunday, January 15, 2006 9:04 AM
Subject: possible server responses to bad clients (crappy home routers)
From dhcp-server -- To unsubscribe, see the end of this message.
PGP SIGNED MESSAGE
Hash: SHA1
There are several devices on my network that will occassionaly
misbehave. There are three different manifestations of this bad
behaviour that I have found so far (see below).
I'm wondering whether there is any way that I can detect this behaviour
and then either ignore any further requests from the device, rate limit
it or perhaps try something like sending a NAK to the device? of
these options, I like the idea of sending a NAK as it may be enough to
bring the client back to its senses.
I found the section on "lease events", in the DHCP handbook, and was
wondering whether I could use the commit event to check how recently a
lease was granted for a given client and then, if the lease was only a
couple seconds old, send a NAK to the current request.
Another option is to tail the log file using a perl script that watches
for bad behavior and then resets the customer's modem via SNMP. This
would probably be less impactful (on server performance) than the
previous idea, but it seems a bit kludgy.
Any thoughts?
--
Bad Behaviour
-
1 - phoebe octopus and Aopen AR401 home routers.
The device will send a discover, receive the offer, then suddenly start
sending requests like mad (many times a second) with the dhcp server
acking each one. This will go on for several minutes until the device
finally accepts the IP and stops requesting - I have no idea why it
stops asking. The logs show one phoebe doing this for 5 min solid and
another one for 14 min solid. The Aopen went for 8 min solid.
2 - belkin home routers
The router requests an IP, gets the offer, then for the next several
hours, it does one request per minute and the dhcp server ACKs each one.
Finally after hours of this, the router will either send a release or
not, but it will definitely do a normal discover, offer, request, ack.
At this point, the router seems sure of itself and doesn't request again
until half way through it's lease period (typical behaviour). However,
when it requests at the halfway point, the problem starts up all over
again.
This isn't entirely consistent though. It appears that the device may
decide to arbitrarily release as it did today 9 hours after it's last
request ack cycle started up.
3 - docsis cable modems
Every once in a while, a docsis modem will go squirrelly and start
making several requests per minute until it is reset, then it behaves
itself.
I, unfortunately, still haven't figured out what triggers these events
- --
Mason Schmitt
Systems Administrator
Sunwave Cable Internet / Shuswap Internet Junction
ph: (250) 832-9711
www.sunwave.net
PGP SIGNATURE
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
XI3jutGKyY+lRc=
=Pati
PGP SIGNATURE
List Archives : http://www.isc.org/ops/lists/
Unsubscribe :
-or- : mailto:dhcp-server-request (AT) isc (DOT) org?Subject=unsubscribe
--
List Archives : http://www.isc.org/ops/lists/
Unsubscribe :
-or- : mailto:dhcp-server-request (AT) isc (DOT) org?Subject=unsubscribe