pillow 发表于 2009-7-3 16:15:09

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

http://forum.mikrotik.com/viewtopic.php?f=2&t=30920&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

wwjun 发表于 2009-7-4 08:57:52

用ECMP的,先做好线路选定标记是不会掉的。除非你的外网掉了。

ksw520 发表于 2009-7-4 15:34:59

ecmp 官方已经说了.是linux内核问题..

pillow 发表于 2009-7-6 08:42:17

用ECMP的,先做好线路选定标记是不会掉的。除非你的外网掉了。
wwjun 发表于 2009-7-4 08:57 http://bbs.routerclub.com/images/common/back.gif

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

wwjun 发表于 2009-7-6 21:32:51

不是策略路由。
页: [1]
查看完整版本: 用ECMP的有遇到每10分钟就断线的问题吗?