I have a Pi 3 running stretch which uses dhcpcd to configure its one network interface, eth0. But it also acts as the dhcp server for my LAN, courtesy of dnsmasq.
The dhcpcd.conf file spells out eth0 as a static address assignment. It also specifies the gateway and DNS servers, too.
I’ve configured dnsmasq, by way of /etc/ethers and /etc/hosts, to apply “fixed” IP addresses to several key parts of my LAN (e.g., wireless access points and a Windows server).
Can I apply the same logic to the Pi itself? Put another way, if dnsmasq will always supply the same IP address to the Pi, do I need to have those “static” entries in dhcpcd.conf?
Also, when does dhcpcd do its magic? Just during boot, or at other times?
Pi 3 ... its one network interface
... it actually has two network interfaces, but that's not important I guess