Skip to main content

Setting static IP

Step 1 - Edit interfaces file

sudo nano /etc/network/interfaces

Step 2 - add following lines

iface eth0 inet static
address <ip address you want>
netmask 255.255.255.0
gateway <gateway address>
dns-nameservers 8.8.8.8