Web lists-archives.com

Re: strange DHCP behaviour




On 10/23/2018 5:14 PM, Martin wrote:
> Shouldn't the host definition be inside the subnet definition?
> 
> Am 23.10.18 um 15:56 schrieb Tony van der Hoff:
>> Hi, I havea laptop running fully up to date Stretch with NetworkManager,
>> set to use DH|Cp via wireless.
>>
>> The DHCP server is another Stretch system, with the stanzas
>> host tony-lt {
>> 	hardware ethernet 0c:60:76:6c:e6:6f;
>> 	fixed-address 192.168.1.199;
>> 	}
>> subnet 192.168.1.0 netmask 255.255.255.0
>> 	{
>>         range 192.168.1.200 192.168.1.254;
>>         option routers 192.168.1.10;
>> 	}
>>

maybe settingthe the subnet definition before the host definition could
help.
In '/var/lib/dhcpd/dhcpd.leases' removing the lease for the host in
question could be worth a try.

https://linux.die.net/man/5/dhcpd.leases

-- 
John Doe