Skip to content
Contents
GuidesOpenWrt

Some VLANs lose DHCP after upgrading OpenWrt 24.10 to 25.12. Check dhcpv4

After upgrade, only some VLANs fail to renew leases. First, match the DHCP configuration of the affected VLANs with their assigned IP address ranges. Then, inspect the switch port settings.

Applies to · GL-MT6000 · 24.10 → 25.12 · r36053-3809dfe5c6

What to check

Select one LAN with lease and one failed VLAN.

Connect over Ethernet and run the following commands in an SSH session on the router.

uci show dhcp
logread -e dnsmasq-dhcp
grep -h '^dhcp-range=' /var/etc/dnsmasq.conf.*

How to interpret the result

Find the DHCPv4 and ignore values for the interface, and check the dhcp-range entry for that subnet in the generated configuration file. If the range is missing, inspect the configuration generation process first. If the range exists but the DHCPDISCOVER packet from the client is not seen in the logs, verify the Layer 2 path from the client to that VLAN.

Verify and recover

Renew a lease on the test VLAN and check its address, gateway and lease time. Renew on the main LAN as a control. Restore the test pool from the saved configuration if either subnet receives the wrong settings.

Related guide · What to back up separately from OpenWrt UCI configuration

Explore hardware

Comments