Ubuntu Network Setup

Setup nameserver

$ sudo vim /etc/resolvconf/resolv.conf.d/base

Then put your nameserver list in like so:

nameserver 8.8.8.8
nameserver 8.8.4.4

Then run

$ sudo resolvconf -u

Setup LAN Network Interface

# sudo vi /etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

Restart network

# sudo /etc/init.d/networking restart



Leave a Reply

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