You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ESP8266 is not sending the Client Identifier when it request a DHCP server.
Some routers-gateway-dhcp require this option to register the ESP's hostname into their DNS.
On devices with several network interfaces it prevents the DHCP to assign an new address per interface.
Can we amend the Client Identifier (option 61) to the DHCP query?
Basic Infos
Platform
Settings in IDE
Problem Description
The ESP8266 is not sending the Client Identifier when it request a DHCP server.
Some routers-gateway-dhcp require this option to register the ESP's hostname into their DNS.
On devices with several network interfaces it prevents the DHCP to assign an new address per interface.
Can we amend the Client Identifier (option 61) to the DHCP query?
MCVE Sketch
// cf https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266mDNS/examples/mDNS_Web_Server/mDNS_Web_Server.ino
Debug Messages
VERSUS a right DHCP request:
As you can see, the default Client Identifier is:
OPTION: 61 ( 7) Client-identifier 01:{{macAddress}}
And the field should be optional:
https://datatracker.ietf.org/doc/html/rfc4361
The text was updated successfully, but these errors were encountered: