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

Tags:

Leave a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.