[Dnsmasq-discuss] 'unknown interface' errors trying to bind to interface
Alasdair Muckart
alasdairmuckart at catalyst.net.nz
Sun Nov 15 22:43:02 UTC 2026
The problem here is dnsmasq getting extremely confused by IP address labels in Linux.
I'll start a separate thread about that for searchability.
--
Alasdair Muckart (he/him)
Network Infrastructure Architect, AS24226
Catalyst.Net Limited - Expert Open Source Solutions
Catalyst.Net Ltd - a Catalyst IT group company
Mobile: +64 22 638 5141 | www.catalyst.net.nz
CONFIDENTIALITY NOTICE: This email is intended for the named
recipients only. It may contain privileged, confidential or copyright
information. If you are not the named recipient, any use, reliance
upon, disclosure or copying of this email or its attachments is
unauthorised. If you have received this email in error, please reply
via email or call +64 4 499 2267.
On Friday, 13 November 2026 4:51:45 PM NZDT Alasdair Muckart via Dnsmasq-discuss
wrote:
Hi all,
I've got an error with dnsmasq startup that is confusing me.
Ubuntu 26.04LTS, kernel 7.0.0-43-generic
I have a 'dummy' interface 'router-lo' with a /32 on it.
When dnsmasq starts it fails saying 'unknown interface router-lo'.
It does this both at boot time and when restarted, so it's not a race condition at boot or
anything.
The interface definitely exists, and if I change the 'interface=router-lo' line in my config to
'bind-address=192.168.128.6' it works.
The interface section of my configuration looks like this (with listen-address, with interface
lines they are 'interface=br0' and 'interface=router-lo'):
--- cut ---
bind-interfaces
except-interface=lo
listen-address=192.168.152.1
listen-address=192.168.128.6
no-dhcp-interface=wwan0
no-dhcp-interface=sfp1
--- cut ---
Can someone educate me as to how dnsmasq figures out what interfaces exist?
Thank you.
--
Alasdair Muckart (he/him)
Network Infrastructure Architect, AS24226
Catalyst.Net Limited - Expert Open Source Solutions
Catalyst.Net Ltd - a Catalyst IT group company
Mobile: +64 22 638 5141 | www.catalyst.net.nz
CONFIDENTIALITY NOTICE: This email is intended for the named
recipients only. It may contain privileged, confidential or copyright
information. If you are not the named recipient, any use, reliance
upon, disclosure or copying of this email or its attachments is
unauthorised. If you have received this email in error, please reply
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20261116/5728ddb7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20261116/5728ddb7/attachment.sig>
More information about the Dnsmasq-discuss
mailing list