RouterOS 7多出口分离
source link: https://www.taterli.com/9800/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
RouterOS 7多出口分离
RouterOS 7多出口分离
现在网络拓扑是这样的.
其中三个接口分别都配置好.
在Routing -> Table 下新建另外两个路由表,其中rtab-1对应sit1,rtab-2对应sit2.
分别给每个接口配上对应的IP地址.
分别给每个路径配置默认路由,要分配在不同路由表里.
在Routing -> Rule分别给不同的起源IP分配规则,这里是按顺序匹配的.
比如第二条规则,如果我的IP在2001:470:1f04:6d5::/64范围内,则使用rtab-1路由表,如果上面三条都不匹配,那就走main路由表.
如果在RouterOS较新版本,还可以选择lookup-only-in-table,这就不会fallback到main表,或者顺序匹配下去.
还可以指定某个目的地只由某个路由表出去,使用rtab的好处是不会导致FP关闭.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK