Set Static IP on Ubuntu 14.04

dmesg | grep eth

look for ethX interface

modify /etc/network/interfaces
auto eth0
iface eth0 inet static
address 98.126.58.2
netmask 255.255.255.248
gateway 98.126.58.1
dns-nameservers 8.8.8.8 4.2.2.2
dns-search itheadaches.com

Leave a Reply