Thanks to visit codestin.com
Credit goes to github.com

Skip to content

WLED fails to connect to network with subnet mask greater than /24 #4525

@SpeedyGoneZales

Description

@SpeedyGoneZales

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

I tried to get logs, but according to https://github.com/Aircoookie/WLED/issues/1261 and https://wled.discourse.group/t/wled-not-connecting-to-wifi-where-are-logs/11716/6 this is not supported.

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugexternalNot part of WLED itself - an external plugin/remote etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions