[Dnsmasq-discuss] Defending IP address

Geert Stappers stappers at stappers.nl
Fri May 5 10:11:32 UTC 2023


On Fri, May 05, 2023 at 11:54:31AM +0200, Johan Vromans wrote:
> Hi Geoff,
> 
> Thanks for your reply.
> 
> > Set static IP on the interface and do not run dhcpcd.  The problem is
> > with dhcpcd releasing the address, not with dnsmasq.
> 
> I have this in my /etc/dhcpcd.conf:
> 
> interface eth0
> static ip_address=192.168.1.10/24
> static routers=192.168.1.1
> 
> I do not run /sbin/dhclient, only /sbin/dhcpcd and dnsmasq.
> 
> Should I do anything else?

Set static IP on the interface and do not run dhcpcd.
The problem is with dhcpcd releasing the address, not with dnsmasq.


Groeten
Geert Stappers
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list