Fixed IP Address in Raspberry PI OS

Fixed IP Address in Raspberry PI OS

Raspberry PI OS uses dhcpcd to configure IP, edit /etc/dhcpcd.conf as below for fixed IP.

interface eth0
static ip_address=192.168.1.16/24
static ip6_address=fd51:42f8:caae:d92e::ff/64
static routers=192.168.1.254
static domain_name_servers=192.168.1.255

Leave a Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


The reCAPTCHA verification period has expired. Please reload the page.