Re: [Dnsmasq-discuss] Static leases issues

2020-06-30 Thread Olaf Hering
Am Mon, 29 Jun 2020 15:45:16 +0100 schrieb Simon Kelley : > the DHCP server has to comply I think this is the question: comply to what? Clearly the DHCP admin is the _only_ authority to decide which MAC gets what IP address, the DHCP client is only allowed to make suggestions. As such every

Re: [Dnsmasq-discuss] Static leases issues

2020-06-29 Thread Simon Kelley
On 08/06/2020 17:18, Bruno BEAUFILS wrote: > Hello everyone, > > I have got a static leases issue with dnsmasq 2.80-1 installed as > Debian Buster package. > > I search the man page and the mailing list archives without any > success. Thus I try here. > > Here is short summary of what I have. >

Re: [Dnsmasq-discuss] Static leases issues

2020-06-10 Thread Olaf Hering
Am Mon, 8 Jun 2020 18:18:16 +0200 schrieb Bruno BEAUFILS : > am I struggling with some kind of bug? The behavior you are seen is caused by the fact that DHCP is an overly complicated crap protocol. To get this fixed quickly, remove the lease both from the client file-system and from the

Re: [Dnsmasq-discuss] Static leases issues

2020-06-09 Thread Geert Stappers
On Tue, Jun 09, 2020 at 11:22:27PM +0200, Bruno BEAUFILS wrote: > On Tue, Jun 09, 2020 at 07:51:53PM +0200, john doe wrote: > > Assuming that you have cleared your lease file and that more than 24 > > hours have passed, your client should have picked up the new lease. > > If the lease file has

Re: [Dnsmasq-discuss] Static leases issues

2020-06-09 Thread Bruno BEAUFILS
On Tue, Jun 09, 2020 at 09:58:12PM +0200, Geert Stappers wrote: > > That is why I suggested looking at the misbehaving DHCP client. > > Yes, also check the DHCP client. I will do that tomorrow but I do not understand why, in any case, the server does not deny the asked adress if 1) the leases

Re: [Dnsmasq-discuss] Static leases issues

2020-06-09 Thread Bruno BEAUFILS
On Tue, Jun 09, 2020 at 07:51:53PM +0200, john doe wrote: > Assuming that you have cleared your lease file and that more than 24 > hours have passed, your client should have picked up the new lease. If the lease file has been cleared and the client asked for a new specific IP, why does the server

Re: [Dnsmasq-discuss] Static leases issues

2020-06-09 Thread Geert Stappers
On 6/9/2020 7:51 PM, john doe wrote: > On 6/9/2020 5:25 PM, Bruno BEAUFILS wrote: > > On Tue, Jun 09, 2020 at 11:13:19AM +0200, john doe wrote: > > > > Do we agree that to clean the leases the removal of the leases file > > > > when dnsmasq is stopped is sufficient? > > > > > > Correct, rereading

Re: [Dnsmasq-discuss] Static leases issues

2020-06-09 Thread john doe
Resending through the list. On 6/9/2020 7:51 PM, john doe wrote: On 6/9/2020 5:25 PM, Bruno BEAUFILS wrote: On Tue, Jun 09, 2020 at 11:13:19AM +0200, john doe wrote: Do we agree that to clean the leases the removal of the leases file when dnsmasq is stopped is sufficient? Correct, rereading

Re: [Dnsmasq-discuss] Static leases issues

2020-06-09 Thread Bruno BEAUFILS
On Tue, Jun 09, 2020 at 11:13:19AM +0200, john doe wrote: > > Do we agree that to clean the leases the removal of the leases file > > when dnsmasq is stopped is sufficient? > > Correct, rereading your first e-mail, try to clear the lease on your > dhcp client. OK I will try and I hope it will

Re: [Dnsmasq-discuss] Static leases issues

2020-06-09 Thread john doe
On 6/9/2020 10:17 AM, Bruno BEAUFILS wrote: On Mon, Jun 08, 2020 at 06:36:20PM +0200, john doe wrote: 2. remove the leases file Try clearing the lease for the host in question: $ systemctl stop dnsmasq Remove the file altogether or remove the desired lease in the lease file:. Lease file

Re: [Dnsmasq-discuss] Static leases issues

2020-06-09 Thread Bruno BEAUFILS
On Mon, Jun 08, 2020 at 06:36:20PM +0200, john doe wrote: > > 2. remove the leases file > > Try clearing the lease for the host in question: > > $ systemctl stop dnsmasq > Remove the file altogether or remove the desired lease in the lease file:. > Lease file path: '/var/lib/misc/dnsmasq.leases'

Re: [Dnsmasq-discuss] Static leases issues

2020-06-08 Thread john doe
On 6/8/2020 6:18 PM, Bruno BEAUFILS wrote: Hello everyone, I have got a static leases issue with dnsmasq 2.80-1 installed as Debian Buster package. I search the man page and the mailing list archives without any success. Thus I try here. Here is short summary of what I have. I am on a simple

[Dnsmasq-discuss] Static leases issues

2020-06-08 Thread Bruno BEAUFILS
Hello everyone, I have got a static leases issue with dnsmasq 2.80-1 installed as Debian Buster package. I search the man page and the mailing list archives without any success. Thus I try here. Here is short summary of what I have. I am on a simple LAN with a screenless host running dnsmasq.