Set Static IP for Raspberry Pi

vi /etc/network/interfaces

modify

iface eth0 inet dhcp

to

iface eth0 inet static

Then add this below

address 192.168.1.200
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

Discover more from Juzhax Technology

Subscribe to get the latest posts sent to your email.