Friday, May 12, 2017

Setting static IP on Linux Mint 18

Step1: Open the below configuriaton file
vi /etc/network/interfaces

Step2: Enter the ip address as below in the same file.


auto lo eth0 enp7s0

iface lo inet loopback
iface enp7s0 inet static
   address 10.0.0.254
   netmask 255.0.0.0
   gateway 10.0.0.254

Step3: Restart the network service

systemctl restart networking

0 Comments: