- 论坛徽章:
- 0
|
本帖最后由 whoiswhoz 于 2010-11-25 10:36 编辑
具体网络拓扑如下:
用2网段的client连接sever的2网段的网口(eth0),用0网段的的client连接sever的0网段的网口(eth1)。两台client同时传输数据。应该是2网段的数据经过eth0,0网段的数据经过eth1,结果发现这2个网段的数据有时只经过了一个eth1,有时2个网口都有数据.(确定传输数据是不间断的)
sar记录如下:
09:40:01 AM eth0 35796.55 22451.59 3355750.25 1319898.46 0.00 0.00 0.00
09:40:01 AM eth1 24631.47 9962.96 1122905.94 592235.40 0.00 0.00 0.00
09:50:01 AM eth0 4.94 没流量 18025.57 349.46 1049804.98 0.00 0.00 0.00
09:50:01 AM eth1 81512.48 22580.23 394820.22 1643089.81 0.00 0.00 0.00
10:00:01 AM eth0 5.55 没流量 17221.30 434.70 1002158.73 0.00 0.00 0.00
10:00:01 AM eth1 57747.74 13544.78 743841.70 790410.55 0.00 0.00 0.00
10:10:01 AM eth0 7522.79 19516.54 4110246.04 1135284.03 0.00 0.00 0.00
10:10:01 AM eth1 54650.32 13589.45 3246914.18 792896.98 0.00 0.00 0.00
10:20:01 AM eth0 43920.54 23461.27 1269395.51 1376257.57 0.00 0.00 0.00
10:20:01 AM eth1 25391.94 13567.31 2283466.71 793828.23 0.00 0.00 0.00
sever配置如下:
cat /etc/sysconfig/network-scripts/ifcfg-eth*
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
TYPE=Ethernet
IPADDR=192.168.2.41
NETMASK=255.255.255.0
USERCTL=no
PEERDNS=yes
GATEWAY=
DEVICE=eth1
BOOTPROTO=static
ONBOOT=yes
TYPE=Ethernet
IPADDR=192.168.0.40
NETMASK=255.255.255.0
USERCTL=no
PEERDNS=yes
GATEWAY=
有MAC地址
ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:17:8A:03:68
inet addr:192.168.2.41 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::215:17ff:fe8a:368/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:74367428 errors:0 dropped:0 overruns:0 frame:0
TX packets:72409363 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3613412331 (3.3 GiB) TX bytes:207854197 (198.2 MiB)
eth1 Link encap:Ethernet HWaddr 00:15:17:8A:03:69
inet addr:192.168.0.40 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::215:17ff:fe8a:369/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:144356633 errors:0 dropped:0 overruns:0 frame:0
TX packets:44784913 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1661171827 (1.5 GiB) TX bytes:2809510365 (2.6 GiB)
没有设置网关
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
大家给个研究的方向,是哪块的问题 |
|