-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
WLED fails to connect to network with subnet mask greater than /24 #4525
Comments
Please can you also try the esp32_v4 bin from the nightly release? |
No immediate luck, again it gets no address from DHCP and is not reachable when a static IP is assigned. |
FYI WLED does not use any special WiFi or Ethernet handling. You may need to open an issue for underlying Arduino's WiFi class or ETHClass libraries (those use Espressif proprietary WiFi implementation on ESP devices). |
I've noticed something similar. But I've got a /24 subnet mask. If I restart the esp32, it will normally connect. ESP32-S3-Nano |
Ok, it seems there is a compatibility issue with router firmware Mikrotik RouterOS versions 7.17.0 and 7.17.1 (a case is open under SUP-178146). |
What happened?
WLED 0.15.0 fails to connect to a network with a subnet mask greater than /24 (255.255.255.0), e.g. /22 (255.255.252.0).
This is the case both with a manually set address and via DHCP.
To Reproduce Bug
On router, create a network, e.g. 172.20.0.0/22, assign a block of DHCP leases (or don't) and assign that network to the WiFi.
The router shows WLED associating with the WiFi, but even with a static address, it is unable to communicate.
Expected Behavior
I'd expect WLED to be able to communicate in all IPv4 address spaces.
Install Method
Binary from WLED.me
What version of WLED?
WLED 0.15.0 (build 2412100)
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: