Photo credit: Michael Henzler
Wikimedia Commons, CC BY-SA 4.0
The Raspberry Pi for basic Networking services series:
- Part 1: Introduction
- Part 2: DHCP server
- Part 3: Static IP addresses
- Part 4: DNS
In part 2 of this series, I described how to set up a DHCP server on a Raspberry Pi so it can allocate and serve dynamic IP addresses. But sometimes you need a static address, where a given device always gets the same well-known address.
One obvious solution is to just disable the DHCP client on the device and manually configure its IP address and other networking credentials. This works well for many devices, especially desktop and laptop computers, but it is not without problems.