环境
[[email protected] ~]$ uname -a
Linux INMSC4 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]$
本机双网卡
现象描述
本来ssh,ftp都正常,某1天,突然慢了。但是登录后操作不慢,很正常。
据百度说与DNS的反向解析有关,此言正确了一半,因为服务器是突然变慢的。
故,检查2个网卡,
[[email protected] ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 1 0 0 eth4
192.168.1.0 * 255.255.255.0 U 1 0 0 eth5
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth4
route命令执行后,最后1行等了很久才出来。
且ping eth4的IP丢包严重。
解决
可能是eth4的网卡坏了,网线虚接,交换机口子故障。。。。。
[[email protected] ~]# ifdown eth4
[[email protected] ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 1 0 0 eth5
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth5
现在,eth5正常工作,解决。
http://linux.sheup.com/linux/linux3708.htm
http://hi.baidu.com/misaiya2008/item/448de71e922872731009b5dc
http://doc.linuxpk.com/3887.html