I'm running Debian-Squeeze and my server (PowerEdge r410) is experiencing sporadic internet connectivity loss. My website and SSH become completely unavailable. As far as I can tell, everything is configured correctly - when I boot the server up, all IP addresses are correct in ifconfig
and the routing table is properly populated. If the server is running, ifdown -a && ifup -a
likewise puts all parameters in their right place. The site is available, and ssh
works as expected.
The last time the outage occurred (today), I visited the machine and logged in. Pinging the gateway resulted in 100% packet loss. So I used route
to make sure that the gateway was in the routing table. There was a 5-10 second delay between route
delivering the first and second lines below:
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
Once route
returned this information, I pinged the gateway again and got 100% connectivity. I immediately checked my website and it was also back up and running. ping
and route
were the only commands used before my site was back online.
That was this morning, and now the server is back down again. I have cron
configured to ifdown -a && ifup -a
at 4am tomorrow morning, so we'll see if that works. In the meantime, does anyone have any ideas about what might be causing this problem?
BTW, there's no DHCP, everything is static.
/etc/network/interfaces:
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.121
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 192.168.0.10
dns-search mysite.com