-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DHCP Tests - DHCP Request After Timeout? #694
Comments
Seems to be due to a misconfiguration of the DHCP module at my end. I was using the the module config from resource/baseline which appears to not be up to date hence unexpected behavior I encountered. |
Seems as if the issue is resolved now. Though to answer the extended lease time suggestion, the DHCP specification RFC 2131 at 4.4.5 states that devices should request a DHCP renewal at T1 and T2 which default at 50% and 87.5% of the time of the renewal. With this in mind, a device which does not request until the end of the lease time should probably fail in this instance. |
I'm encountering with some of my devices (EasyIO), for the multi subnet tests, the successful DHCP requests sometimes comes within a second after the DHCP lease expired (note the final ip notification in logs below. Thus it fails and stops other DHCP tests.
Seems to be the device tries to renew the existing lease before requesting a new IP as there are several DHCP requests and DHCP NAK's in the packet capture.
test_ipaddr.pcap.tar.gz
I'm not sure if the device should fail, or the if the test should allow a minuscule time period after expiration for a device to obtain a new lease after expiration in these tests? @pisuke @frgitdaq ?
The text was updated successfully, but these errors were encountered: