I have 2 switches at the Data Centre - one is connected to the internet, and one for the internal private network.

All servers have one NIC into the internet switch and one to the private one. All servers are ok, except three: Those three servers are visible just fine in the internal network but are unable to ping the internet gateway or be visible from the internet. They have what seems to be the exact same setup in the interfaces and resolve.conf files (with of course different public IP addresses to them but the rest are the same). 'route' shows the same output on those 3 as in another server which works perfectly, yet they cannot access the internet and when I ping the configured gateay from those 3 ping responds that the host is unreachable. When route runs on these 3 machines it pauses a few secons before it displays the gateway (probably as its unreachable).

The servers are all Debian 6. Iptables has no chains/rules.

I've been standing in the Data Centre for the past few hours trying to figure this out. Any help highly appreciated

  • Can those three ping each other, or any of the other server's public IPs? – Chris S Jul 6 '11 at 15:16
  • Can you give us some more details -- e.g., the internal ips of the systems, the address of the gateway, the output of route -n on the systems, etc? It might help us spot something (or not). – larsks Jul 6 '11 at 15:22

Turns out whoever cabled those servers reversed the nics... Seems like I wasted a good few hours of my life, and a few minutes of yours (sorry). Problem now solved! Moral of the story: 2 Nics/2 Gateways and no network = check the cables are not reversed....

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.