Chinaunix

标题: centos 网络问题 [打印本页]

作者: lzj019    时间: 2006-12-15 17:46
标题: centos 网络问题
两块INTEL千兆网卡
系统 :
#uname -r
[root@gs lzjie]# uname -r
2.6.9-42.0.3.ELsmp

加载模块
#lsmod
Module                  Size  Used by
ipt_state               5953  1
ip_conntrack_ftp       76529  0
ip_conntrack           46085  2 ipt_state,ip_conntrack_ftp
ipt_REJECT             10689  1
ipt_limit               6465  1
md5                     8129  1
ipv6                  242657  20
autofs4                23109  0
iptable_filter          6977  1
ip_tables              22721  4 ipt_state,ipt_REJECT,ipt_limit,iptable_filter
dm_mirror              31901  0
dm_mod                 60741  1 dm_mirror
button                 10705  0
battery                12997  0
ac                      8901  0
uhci_hcd               32857  0
ehci_hcd               32325  0
hw_random               9685  0
d_mod

e1000                 109369  0

floppy                 58193  0
sg                     38369  0
ext3                  118857  7
jbd                    59609  1 ext3
megaraid_mbox          37329  8
megaraid_mm            17777  1 megaraid_mbox
mptscsih                5569  0
mptsas                 13389  1 mptscsih
mptspi                 13261  1 mptscsih
mptfc                  12489  1 mptscsih
mptscsi                43997  3 mptsas,mptspi,mptfc
mptbase                61345  4 mptsas,mptspi,mptfc,mptscsi
sd_mod                 20545  9
scsi_mod              117709  7 sg,megaraid_mbox,mptsas,mptspi,mptfc,mptscsi,s

#vi /etc/modprobe.conf
alias eth0 e1000
alias eth1 e1000
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih
alias scsi_hostadapter2 megaraid_mbox
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
系统只取用eth0网卡

为何e1000的Used By 为 0?
网络经常断会不会是这个问题 请帮忙

[ 本帖最后由 lzj019 于 2006-12-15 17:48 编辑 ]
作者: vastsea    时间: 2006-12-16 10:08
可以说说你的网卡配置情况吗?
作者: lzj019    时间: 2006-12-16 13:02
谢谢楼上的
我的网卡配置如下

[root@gs lzjie]# /sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:13:72:65:7C:CD
          inet addr:210.34.132.148  Bcast:210.34.132.255  Mask:255.255.255.128
          inet6 addr: fe80::213:72ff:fe65:7ccd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15157896 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24754547 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1453588189 (1.3 GiB)  TX bytes:724257410 (690.7 MiB)
          Base address:0xdcc0 Memory:fe6e0000-fe700000

eth1      Link encap:Ethernet  HWaddr 00:13:72:65:7C:CE
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Base address:0xccc0 Memory:fe4e0000-fe500000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:7588 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7588 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1137922 (1.0 MiB)  TX bytes:1137922 (1.0 MiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2