Closed
Description
When running in softAP mode, there is no way to set what subnet mask is sent to DHCP clients. WiFi.softAPConfig allows you to set the subnet for the ESP8266 but this isn't passed to the DHCP server - it always assigns 255.255.255.0
It appears to me that this is set in Arduino/tools/sdk/lwip/src/app/dhcpserver.c on lines 135-150. The subnet mask is hard coded in.
Is it possible to link WiFi.softAPConfig to set these values or provide another function to achieve this?
There seem to be a few other issues logged which incorrectly state the subnet isn't set at all. The subnet appears to be set correctly on the ESP8266, just not given out by the DHCP server.
Thanks