
Set Static IP Address on Raspberry Pi OS
Edit /etc/dhcpcd.conf
Without using the Raspberry Pi GUI, open the file in your favorite editor.
sudo nano /etc/dhcpcd.conf
Sample Config
Add to the end of the file the IP you want to use for the RPI.
interface eth1
static ip_address=192.168.99.1/24