I installed ubuntu server on a node of a small linux cluster. By default, the internet connection does not work. I tried to do this manually, by editing
and my file looks like this
auto eth0 iface eth0 inet static address xxx.168.11.4 netmask 255.255.255.0 network xxx.168.11.0 broadcast xxx.168.11.255 gateway xxx.168.11.1 dns-nameserver xxx.231.25.33 # This is an autoconfigured IPv6 interface # auto em1 # iface em1 inet6 auto
but, if I type
ifconfig -a, I get practically nothing. Instead of eth0, I get em1, em2 that don't have a static IP address anyway (sorry for not pasting the result here, but the java server interface doesn't allow me to do copy/paste.
When I type
ifup eth0, I get
$ifup eth0 Cannot find device "eth0" Failed to bring up eth0.
The reason I got this installed only on one server node is that I have no experience installing ubuntu server and I was hoping to learn a little before I attempt server-wide installation.
The question is how to get eth0 to work. I should mention that right now I have no internet connection from that node.
There is a related question I found here Ubuntu 14.04 Server Install Unable to Connect to Network via Ethernet
But, it still doesn't give me the answer I'm looking for.