centos 6.2 lost internet connections intermittently
Hi guys,
There's one host(centos 6.2) which lost it's networking connection intermittently, and thus the whole OS was left there without networking which was very bad. It's a host with httpd installed, so without networking connections, it's very bad. The OS was not shutted down or rebooted after the loss of networking, but just stayed there. I checked error logs and cannot find anything that's related to this strange behavior. The OS has xinetd(rsync/nrpe), httpd, mysql, vsftpd installed and I've already gave it a yum update and now it's at 2.6.32-220.7.1.el6.x86_64, CentOS release 6.2 (Final) Can anyone help on this? |
Hi
Is your server running any network daemon (service) with DHCP enabled maybe ? Is it NIC that is defective maybe, can you try replace network card ? What does your Code:
# service network status Can you ping maybe any other computer/server in the same subnet network ? or is maybe Code:
ping www.google.com |
1 Attachment(s)
Thanks.
Here's the outputs: Quote:
And I've written a script to cron job to check for networking every 15 minutes, if the host can not ping some ip addresses, then restart network. And then wait for some time, then if it still can not ping, reboot the host, here goes the script: Quote:
Quote:
Quote:
|
Hi,
just as a precaution please mask your IP addresses in your ifcfg-ethX (for example IPADDR=1.2.3.4) as I don't see it's relevant. It seems that you're running your connections through eth1 NIC Code:
root@jingan10 network-scripts]# cat ifcfg-eth0 But I think that this kind of setup needs to have some routing configured which I unfortunately don't know of. I wish Maybe some expert users here could help more on how to use eth1 for default Internet connection. Regards |
please see note below
|
Just for guys who may arrive here after searching:
1.there's kernel bug in intel 82574L e1000e driver on centos 6(MSI/MSI-X interrupts issue), we can resolve this by install kmod-e1000e package from ELrepo.org and later add pcie_aspm=off e1000e.IntMode=1,1 e1000e.InterruptThrottleRate=10000,10000 acpi=off to kernel parameters. You can read more info Intel e1000e driver bug on 82574L Ethernet controller causing network blipping. 2.For the high Tx traffic, this was caused by port 53 dns flooding attack. I've resolved this by writing some iptable rules. More info here: port 53 dns flooding attack |
Thanks for posting the info on the elrepo e1000e package and kernel parameters. This was a huge help.
|
All times are GMT -5. The time now is 09:55 AM. |