I forgot to mention that the lease file is empty.

________________________________
De : Dnsmasq-discuss <dnsmasq-discuss-boun...@lists.thekelleys.org.uk> de la 
part de GRANGER Nicolas
Envoyé : mercredi 15 janvier 2025 11:50:13
À : dnsmasq-discuss@lists.thekelleys.org.uk
Objet : [PROVENANCE INTERNET] [Dnsmasq-discuss] no address available with 
static range and dhcp-host


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 ?
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to