Raspberry Pi / Linux – Set fixed IP address

How do I set up a fixed IP address on the Raspberry Pi? How to set a fixed IP address on a Revolution Pi.

We edit the configuration file:

sudo vim /etc/dhcpcd.conf

Optionally, of course, “nano” or another editor can be used.

Now insert the static IP address configuration here:

interface eth0
static ip_address=
static ip6_address=fd51:42f8:caae:d92e::ff/64
static routers=
static domain_name_servers= fd51:42f8:caae:d92e::1

Done! After a reboot the IP address is fixed.

Leave a Reply

Your email address will not be published. Required fields are marked *