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?

-- Johan

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to