[Dnsmasq-discuss] question about dhcp_release

Rene Stoutjesdijk r.stoutjesdijk at gmail.com
Sat Jan 3 14:19:08 GMT 2015


Goodday,

i do have a question about dhcp_release.c

I'm trying to clear an entry within the dhcp lease table.

At this moment i'm providing the ip address based upon dhcp-circuitid.
At this moment one of the en-users changed his mac address and due to
that resins he can't connect until his old release is expired. So i
wanted to clear manually his old entry from the lease table.

For this i wanted to use the command:

./dhcp_release eth1 10.64.1.0 a8:20:66:03:61:bc 01:a8:20:66:03:61:bc


based upon his entry within the lease file:

1420293992 a8:20:66:03:61:bc 10.64.1.0 Renes-MBP 01:a8:20:66:03:61:bc


But as soon as i execute the command i do see the following entry
within the syslog file:

Jan  3 14:04:58 localhost dnsmasq-dhcp[3326]: 0 available DHCP range:
10.64.1.0 -- 10.64.1.0

and the entry isn't cleared from the table (and the enduser with his
new mac address can't connect).


i do have a basic dhcp file which looks like:

dhcp-range=net:CUST14,10.64.1.0,10.64.1.0,255.192.0.0,4h
dhcp-circuitid=CUST14,CUST14




What am i doing wrong?

thx in advance for your help.



More information about the Dnsmasq-discuss mailing list