Set Static Local IP Address for Raspberry Pi

By default raspberrry use dhcp to get local ip address, to set manually local ip address open LX Terminal and run command below:

sudo nano /etc/network/interfaces

Find eth0 block

auto eth0
iface eth0 inet dhcp

and change to :

auto eth0
iface eth0 inet static
address         # <– your static local ip address
network          # <– network
gateway           # <– router local ip address

Yohan Naftali

Leave a Reply

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