December 30, 2015

Chapter 39 - Lab39.1 - static networking -ubuntu 14.04 - can't solve

So, I'm trying out the solution for 39.1 and it doesn't work for me. This however, might be my fault. The solution refers to a debian distribution and editing "/etc/networking/interfaces". On Ubuntu, this is /etc/network/interfaces. So, I edit that file with the suggested values (taken from previous steps). In my case it looks like this:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static

The first value is the static ip address that the router had already given the machine; the second is the netmask and the last is the gateway (in this case, the router ip address). When I try and bring the interface back up (ifconfig eth0 up) I get no error, but then I get Network is unreachable when I try and do something else (e.g. ping).

Any suggestions where I might be going wrong?

Click Here!