I'm having some problems configuring a static IP on my ubuntu server. What is the easiest way to configure IP, netmask, nameserver and default gateway on
I've tried modifying the
/etc/network/interfacesfile but the interface goes down after reboot. I need to do this in CLI.
This is what the file looks like (without the comments):
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 172.16.61.4 netmask 255.255.255.192 nameserver 172.16.61.2 broadcast 172.16.61.63
EDIT: It seems to work now. However, nslookup doesn't find any matches at all. Local nslookups on the 2008 server running dns works.