-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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 Transaction Id not random #3773
Comments
@TylerDurden23 do you have a wireshark dump or something else that shows this? |
@TylerDurden23 lwip2 is now merged, it can be selected from the Arduino IDE menu. Does using it help? |
Is this version available via Boardmanager? |
You have to uninstall any version you have installed via boardmanager, and install git (instructions are on readthedocs). Then restart the Arduino IDE, and you should see the option for lwip in the menu. |
@devyte The DHCP request id Looks random now - my project uses the pubsub library - that does not seem to work (async issue most likely). Regards. |
Given that the original issue seems fixed with lwip2, I'm closing. |
----------------------------- Remove above -----------------------------
Basic Infos
Hardware
Hardware: ESP-12E
Core Version: 2.4.0-rc1
Description
The DHCP Transaction Id generated by the ESP8266es does not seem to be random - as required by rfc2131. That generates strange connection issues when multiple ESP8266es are speaking with the same DHCP Server. The ESP seems always to start with the transaction ID 0xabcd0001 - and only later seems to be counting up the ID. The correct behaviour would be always to use random Ids - or at least as the initial value.
Depending on the implementation. the server may ignore the dhcp request (because for the server, the transaction may be in another state and the request may be invalid).
For the ESP users, this shows as stange connection/reonnection issues.
The text was updated successfully, but these errors were encountered: