I'm using Ubuntu 14.04.2. I have read and tried lots, but there is obviously something wrong in my config somewhere.
It looks like I have an error in my network config, can someone please help me, but pointing out the obvious to me
My aim is
- to have a static IP
- to have a loopback address
cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback iface eth0 inet static address 192.168.1.250 netmask 255.255.255.0 gateway 192.168.1.1
cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(4) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HANE -- YOUR CHANGES WILL BE OVERWRITTEN
Symptoms:
- When I run
ifconfig -a
I do not have IP address - I cannot see any website
Here is my ifconfig -a output.
eth0 Link encap:Ethernet HWaddr 00:21:78:13:6a:aa BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:48 errors:0 dropped:0 overruns:0 frame:0 TX packets:48 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3600 (3.6 KB) TX bytes:3600 (3.6 KB)
I cannot see machine on the network when I run host bbc.co.uk I get
;;connection timed out; no servers could be reached