I am getting this error in my /var/log/messages file.dnsmasq-dhcp[xxxx] DHCPDISCOVER(xxxxxx) xx:xx:xx:xx no address availableHow can I tell what leases dnsmasq has leased out? And how can I free them up?I'm running RedHat Enterprise Linux 6.5
dnsmasq no address available?
rhel;dnsmasq
You can expand your range by editing the config file:vi /etc/dnsmasq.confLook for the dhcp-range line:dhcp-range=192.168.0.10,192.168.0.50,12hwill issue from 192.168.0.10 to 192.168.0.50 with a lease time of 12 hours.You can see your current leases with:cat /var/lib/dnsmasq/dnsmasq.leasesThat path might differ, depending on your distro.  If it's not there, check the config file above for:`dhcp-leasefile=<path to lease file>`.Here's a minimal example config:interface=eth0dhcp-range=192.168.0.10,192.168.0.50,12hdhcp-options=3,192.168.0.1which listens on eth0 and issues 192.168.0.10 to 192.168.0.50 with a lease time of 12 hours. It also sends the default gateway  (the 3) as 192.168.0.1.