3750的问题还是linux的问题?DUP包
本帖最后由 philein 于 2011-03-10 13:34 编辑
我有2个机房A/B,各2台3750,3750之间通过4对尾纤连接,在A机房的2台linux机器,绑定了双网卡,每个网卡各连接一个3750,然后又对这2台linux机器做了veritas起了一个浮动IP:
[root@ gxd]# ifconfig -a
bond0 Link encap:Ethernet HWaddr 00:1A:64:C8:CD:68
inet addr:10.21.255.129 Bcast:10.21.255.255 Mask:255.255.255.128
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:5945419079 errors:0 dropped:0 overruns:0 frame:0
TX packets:5942762010 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5358838510506 (4.8 TiB) TX bytes:3746134369787 (3.4 TiB)
bond0:0 Link encap:Ethernet HWaddr 00:1A:64:C8:CD:68
inet addr:10.21.255.131 Bcast:10.21.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr 00:1A:64:C8:CD:68
inet6 addr: fe80::21a:64ff:fec8:cd68/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:5900775173 errors:0 dropped:0 overruns:0 frame:0
TX packets:5942762005 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5355097376680 (4.8 TiB) TX bytes:3746134369389 (3.4 TiB)
Interrupt:169 Memory:ce000000-ce011100
eth1 Link encap:Ethernet HWaddr 00:1A:64:C8:CD:68
inet6 addr: fe80::21a:64ff:fec8:cd68/64 Scope:Link
UP BROADCAST RUNNING NOARP SLAVE MULTICAST MTU:1500 Metric:1
RX packets:44643906 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3741133826 (3.4 GiB) TX bytes:398 (398.0 b)
Interrupt:209 Memory:ca000000-ca011100
eth2 Link encap:Ethernet HWaddr 00:15:17:AE:63:64
inet6 addr: fe80::215:17ff:feae:6364/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:138749002 errors:0 dropped:0 overruns:0 frame:0
TX packets:131986389 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14018487734 (13.0 GiB) TX bytes:11182179836 (10.4 GiB)
Base address:0x6000 Memory:c7ee0000-c7f00000
eth3 Link encap:Ethernet HWaddr 00:15:17:AE:63:65
inet6 addr: fe80::215:17ff:feae:6365/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:138750339 errors:0 dropped:0 overruns:0 frame:0
TX packets:131987524 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14018564077 (13.0 GiB) TX bytes:11181819112 (10.4 GiB)
Base address:0x6020 Memory:c7ea0000-c7ec0000
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:1260929063 errors:0 dropped:0 overruns:0 frame:0
TX packets:1260929063 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:189360028250 (176.3 GiB) TX bytes:189360028250 (176.3 GiB)
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)
现在的问题是我从这2台linux的机器上任何一台去ping另一个机房的机器都会出现DUP!包,也就是说每个ping包都回收到了2个reply,我通过这个机房的其他AIX绑定etherchannel双网卡的机器去ping就是正常的的,证明我的网络是不存在多条路由的,后来发现我所有的绑定了双网卡和做了浮动IP的linux机器都会出现一个包出去会收到2个reply的问题,请教这是为什么,有什么好的解决办法?
还有一个奇怪的问题是我在这2台机器上ping同一个交换机上的其他服务器就没有DUP!包,奇怪的很,但是ping另一个机房就会有。。。但是我在这个交换机下的其他AIX的机器上ping另一个机房的服务器又没有DUP!包,所以现在我很迷惑到底是我网络的问题还是linux 的问题。
网络拓扑如下:
我有2个机房A/B,各2台3750,3750之间通过4对尾纤连接,在A机房的2台linux机器,绑定了双网卡,每个网卡各连接一个3750,然后又对这2台linux机器做了veritas起了一个浮动IP:
[root@ gxd]# ifconfig -a
bond0 Link encap:Ethernet HWaddr 00:1A:64:C8:CD:68
inet addr:10.21.255.129 Bcast:10.21.255.255 Mask:255.255.255.128
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:5945419079 errors:0 dropped:0 overruns:0 frame:0
TX packets:5942762010 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5358838510506 (4.8 TiB) TX bytes:3746134369787 (3.4 TiB)
bond0:0 Link encap:Ethernet HWaddr 00:1A:64:C8:CD:68
inet addr:10.21.255.131 Bcast:10.21.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr 00:1A:64:C8:CD:68
inet6 addr: fe80::21a:64ff:fec8:cd68/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:5900775173 errors:0 dropped:0 overruns:0 frame:0
TX packets:5942762005 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5355097376680 (4.8 TiB) TX bytes:3746134369389 (3.4 TiB)
Interrupt:169 Memory:ce000000-ce011100
eth1 Link encap:Ethernet HWaddr 00:1A:64:C8:CD:68
inet6 addr: fe80::21a:64ff:fec8:cd68/64 Scope:Link
UP BROADCAST RUNNING NOARP SLAVE MULTICAST MTU:1500 Metric:1
RX packets:44643906 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3741133826 (3.4 GiB) TX bytes:398 (398.0 b)
Interrupt:209 Memory:ca000000-ca011100
eth2 Link encap:Ethernet HWaddr 00:15:17:AE:63:64
inet6 addr: fe80::215:17ff:feae:6364/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:138749002 errors:0 dropped:0 overruns:0 frame:0
TX packets:131986389 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14018487734 (13.0 GiB) TX bytes:11182179836 (10.4 GiB)
Base address:0x6000 Memory:c7ee0000-c7f00000
eth3 Link encap:Ethernet HWaddr 00:15:17:AE:63:65
inet6 addr: fe80::215:17ff:feae:6365/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:138750339 errors:0 dropped:0 overruns:0 frame:0
TX packets:131987524 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14018564077 (13.0 GiB) TX bytes:11181819112 (10.4 GiB)
Base address:0x6020 Memory:c7ea0000-c7ec0000
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:1260929063 errors:0 dropped:0 overruns:0 frame:0
TX packets:1260929063 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:189360028250 (176.3 GiB) TX bytes:189360028250 (176.3 GiB)
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)
现在的问题是我从这2台linux的机器上任何一台去ping另一个机房的机器都会出现DUP!包,也就是说每个ping包都回收到了2个reply,我通过这个机房的其他AIX绑定etherchannel双网卡的机器去ping就是正常的的,证明我的网络是不存在多条路由的,后来发现我所有的绑定了双网卡和做了浮动IP的linux机器都会出现一个包出去会收到2个reply的问题,请教这是为什么,有什么好的解决办法?
还有一个奇怪的问题是我在这2台机器上ping同一个交换机上的其他服务器就没有DUP!包,奇怪的很,但是ping另一个机房就会有。。。但是我在这个交换机下的其他AIX的机器上ping另一个机房的服务器又没有DUP!包,所以现在我很迷惑到底是我网络的问题还是linux 的问题。
网络拓扑如下:
1.jpg (33.33 KB, 下载次数: 10)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
应该和LINUX的浮动IP有关系。