dnsmasq dhcp not handing out addresses
- 22 May 2017: Post was created (diff)
Make sure the interface you are running on is configured with the same address as the
listen-address in your
sudo ip addr add dev enp3s0 192.168.70.1/24
dnsmasq config as follow
keep-in-foreground # Disable DNS port=0 # Setup DHCP log-dhcp interface=enp3s0 listen-address=192.168.70.1 dhcp-range=192.168.70.2,192.168.70.255,72h dhcp-option=option:router,192.168.70.1
To see what happens on the interface,
tcpdump is always helpful
# tcpdump --interface=enp3s0
If you have any comments or feedback, please send me an e-mail. (stig at stigok dotcom).
Did you find any typos, incorrect information, or have something to add? Then please propose a change to this post.