環境
[netcool@INMSC4 ~]$ 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
[netcool@INMSC4 ~]$
本機雙網卡
現象描述
本來ssh,ftp都正常,某1天,突然慢了。但是登入後操作不慢,很正常。
據百度說與DNS的反向解析有關,此言正確了一半,因為伺服器是突然變慢的。
故,檢查2個網卡,
[root@INMSC4 ~]# 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的網卡壞了,網線虛接,交換器口子故障。。。。。
[root@INMSC4 ~]# ifdown eth4
[root@INMSC4 ~]# 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正常工作,解決。
參考URL:
http://linux.sheup.com/linux/linux3708.htm
http://hi.baidu.com/misaiya2008/item/448de71e922872731009b5dc
http://doc.linuxpk.com/3887.html