|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
/ ip firewall mangle
add chain=prerouting in-interface="lan" connection-state=new nth=2,1,0 \
action=mark-connection new-connection-mark=wan1_Routing_Mark passthrough=yes comment="" \
disabled=no
add chain=prerouting in-interface="lan" connection-mark=wan1_Routing_Mark action=mark-routing \
new-routing-mark=wan1_Routing_Mark passthrough=no comment="" disabled=no
add chain=prerouting in-interface="lan" connection-state=new nth=2,1,1 \
action=mark-connection new-connection-mark=wan2_Routing_Mark passthrough=yes comment="" \
disabled=no
add chain=prerouting in-interface="lan" connection-mark=wan2_Routing_Mark action=mark-routing \
new-routing-mark=wan2_Routing_Mark passthrough=no comment="" disabled=no
add chain=prerouting in-interface="lan" connection-state=new nth=2,1,2 \
action=mark-connection new-connection-mark=wan3_Routing_Mark passthrough=yes comment="" \
disabled=no
add chain=prerouting in-interface="lan" connection-mark=wan3_Routing_Mark action=mark-routing \
new-routing-mark=wan3_Routing_Mark passthrough=no comment="" disabled=no
关键NTH的设置,可以在论坛中搜索关键字“NTH”
根据我的理解,多线的设置如下:
如果有2条线路,那么NTH取值就是1,1,0/1,1,1
如果有4条线路,那么NTH取值就是3,1,0/3,1,1/3,1,2/3,1,3
如果有5条线路,那么NTH取值就是4,1,0/4,1,1/4,1,2/4,1,3/4,1,4
设置结果见附件
[ 本帖最后由 jackycao 于 2008-11-10 16:34 编辑 ] |
-
-
|