Ubuntu / Unix Server – Linode connection timed out; no servers could be reached.

I’ve been battling this problem for a while.

I opened all firewalls, killed ufw, killed iptables, still I was unable to get any connections to work. Ping / dig / external DNS / all failed.

tcpdump showed incoming connections failing but “something” was making it here.

Turns out the problem was… an incorrect value in my /etc/network/interfaces file for my eth0.

Make sure that your IP address is listed in ifconfig.

ifconfig | grep my_ip_address

My static IP was missing a few digits.

Set the correct value, restart networking, and we’re good to go.

/etc/init.d/networking restart

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s