Skip to content
Contents
GuidesOpenWrt

WRT3200ACM guest DHCP fails with Address in use. Check the pool and dnsmasq instances

An "Address in use" error may occur during service binding. First, identify the faulty dnsmasq instance, then check whether it is bound to the same address or interface as the primary network instance.

Applies to · WRT3200ACM · OpenWrt 25.12.5

What to check

First count the dnsmasq instance section under config dnsmasq, then count the address pool section under config dhcp.

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

uci show dhcp
ps w | grep '[d]nsmasq'
grep -h '^dhcp-range=' /var/etc/dnsmasq.conf.*
logread -e dnsmasq | tail -n 25

How to interpret the result

Match each PID to its configuration file, listening address and dhcp-range. If two instances bind the same address, correct the guest instance’s interface selection. If there is only one instance, read the full error and check the socket or address it names.

GeeksMeta verified the command output on OpenWrt 25.12.6 VM (r33311-981c978eff) kernel. Single-instance configuration returns dhcp.@dnsmasq[0]=dnsmasq. When counting DHCP address pools, count the segments of type dhcp separately.

Verify and recover

Renew a guest lease and a main LAN lease. Both must obtain addresses from their own pools without a new bind error. Keep a wired management connection and the previous DHCP file.

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

Explore hardware

Devices mentioned

Comments