[Dnsmasq-discuss] no address available with static range and dhcp-host

GRANGER Nicolas nicolas.granger at cea.fr
Wed Jan 15 10:50:13 UTC 2025


Hi all,


I am unable to get dnsmasq to issue ip addresses to known hosts only. Upon DHCPDISCOVER it fails with no address available.


The network interface is called lan with ip address 192.168.2.254/24


$ sudo dnsmasq -d --bind-interfaces -i lan --except-interface=lo --dhcp-range=192.168.2.0,static,255.255.255.0 --dhcp-host=ac:1f:xx:xx:xx:xx,192.168.2.19


dnsmasq: started, version 2.90 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
dnsmasq-dhcp: DHCP, static leases only on 192.168.2.0, lease time 1h
dnsmasq-dhcp: DHCP, static leases only on 192.168.2.0, lease time 1h
dnsmasq-dhcp: DHCP, sockets bound exclusively to interface lan
dnsmasq: reading /etc/resolv.conf
dnsmasq: using nameserver 127.0.0.53#53
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: DHCPDISCOVER(lan) ac:1f:xx:xx:xx:xx no address available


Any idea of what is wrong with this setup ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20250115/3c5dcb73/attachment.htm>


More information about the Dnsmasq-discuss mailing list