找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3246|回复: 4

[其它] 用ECMP的有遇到每10分钟就断线的问题吗?

[复制链接]
发表于 2009-7-3 16:15:09 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
http://forum.mikrotik.com/viewto ... &hilit=nth+ecmp


We added some additional information and renamed one of the Wiki topic about ECMP:
http://wiki.mikrotik.com/wiki/ECMP_load ... masquerade

Some users complained about connection interruptions every 10-30min. After looking deeper into problem we were able to determine that Linux Kernel initiates a routing table flush every 10min. So after that connections are assigned to gateways once again and may or may not be on the same gateway.

If you have fully routed network (clients address can be routed via all available gateway), change of the gateway will have no ill effect, but in case you use masquerade, change of the gateway will result in change of the packet's source address and connection will be dropped.

This flush was introduced by Linux Kernel developers to eliminate possibility of DoS attacks on your routers.

So ... currently it's not really possible to make a fully working ECMP setup with Masquerade due to a Kernel design issue. As an alternative you can use this: http://wiki.mikrotik.com/wiki/NTH_load_ ... masquerade
routeros
发表于 2009-7-4 08:57:52 | 显示全部楼层
用ECMP的,先做好线路选定标记是不会掉的。除非你的外网掉了。
routeros
回复

使用道具 举报

发表于 2009-7-4 15:34:59 | 显示全部楼层
ecmp 官方已经说了.是linux内核问题..
routeros
回复

使用道具 举报

 楼主| 发表于 2009-7-6 08:42:17 | 显示全部楼层


这么做的只能是特定流量,而且做了之后,事实上已经是policy route,而不再是ECMP了呀~
不过看wwjun的回复,是已经碰到过这个问题了?
routeros
回复

使用道具 举报

发表于 2009-7-6 21:32:51 | 显示全部楼层
不是策略路由。
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-12-22 17:34 , Processed in 0.047591 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表