Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
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! –  Harel Jul 6 '11 at 15:38
    
@Harel: please answer your own question and then accept it - thanks –  Iain Jul 6 '11 at 21:49

1 Answer 1

up vote 0 down vote accepted

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....

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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