RouterOS双线分流配置实例[转]
时间:2006-12-12 来源:zh8612
1、先设置用ISP1上网
2、在firewall里mangle对所tcp和udp 80端口flow mark=www
3、添加新路由表table1
/ ip policy-routing table table1
add dst-address=0.0.0.0/0 gateway=ISP2 preferred-source=0.0.0.0 \
comment="" disabled=no
4、添加新路由规则 flow=www发到table1去
/ ip policy-routing rule
add src-address=0.0.0.0 dst-address=0.0.0.0/0 flow="www" interface=all \
action=lookup table=table1 comment="" disabled=no
把这条规则移动到main之前
2、在firewall里mangle对所tcp和udp 80端口flow mark=www
3、添加新路由表table1
/ ip policy-routing table table1
add dst-address=0.0.0.0/0 gateway=ISP2 preferred-source=0.0.0.0 \
comment="" disabled=no
4、添加新路由规则 flow=www发到table1去
/ ip policy-routing rule
add src-address=0.0.0.0 dst-address=0.0.0.0/0 flow="www" interface=all \
action=lookup table=table1 comment="" disabled=no
把这条规则移动到main之前
相关阅读 更多 +