[TriLUG] Ubuntu

JS Evans via TriLUG trilug at trilug.org
Fri Sep 11 14:54:11 EDT 2015


Hi all,

I've got a server that I installed Ubuntu 14.04 via kickstart on.
Everything run great.  After the installation, I change it from DHCP to
static IP and it can no longer reach out to the DNS servers.  I've
tried those from my provider as well as Google's public DNS.

Here's my static /etc/network/interfaces file:

jason at meeseeks:/var/log$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto em1
iface em1 inet static
        address 192.168.1.249
        netmask 255.255.255.0
        gateway 192.168.1.1
        dns-nameserver 8.8.8.8 8.8.4.4

Here's my /etc/resolvconf/resolv.conf.d/base. It's a little redundant,
but I've tried everything.

jason at meeseeks:/var/log$ cat /etc/resolvconf/resolv.conf.d/base
nameserver 8.8.8.8
nameserver 8.8.4.4

One last thing, if I change it back to DHCP version of the interfaces
file and have it grab an IP, it works.  However, I really need it to
use the static IP.

Any suggestions would be appreciated.

Thanks,
Jason


More information about the TriLUG mailing list