[Dnsmasq-discuss] Defending IP address

Geert Stappers stappers at stappers.nl
Fri May 5 11:26:51 UTC 2023


On Fri, May 05, 2023 at 12:11:32PM +0200, Geert Stappers wrote:
> On Fri, May 05, 2023 at 11:54:31AM +0200, Johan Vromans wrote:

} } } } dhcpcd[449]: eth0 10 second defense failed for 192.168.1.10
} } } } and slowly the LAN collapses

> > > 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.
> 

On second thought:
   The problem could be how dhcpcd and dnsmasq work together.

Or more likely:
   The problem could be how dhcpcd and dnsmasq are configured.


So far we have seen (parts of) dhcpcd configuration
and no dnsmasq configuration at al.


Groeten
Geert Stappers
Willing to review Johans config of dnsmasq and dhcpcd.
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list