e_zhangiso 发表于 2018-8-17 16:10:14

cspm333 发表于 2016-12-23 02:53
在/system scheduler 新增網頁視頻script ,interval設00:00:20
轉換過的地址將存到/ip firewall address-l ...

/ip firewall mangle
add action=mark-routing chain=prerouting dst-address-list=video new-routing-mark=to_pppoe1 per-connection-classifier=src-port:2/0
add action=mark-routing chain=prerouting dst-address-list=video new-routing-mark=to_pppoe2 per-connection-classifier=src-port:2/1
add action=mark-routing chain=prerouting new-routing-mark=to_pppoe3 per-connection-classifier=src-port:14/0
add action=mark-routing chain=prerouting new-routing-mark=to_pppoe4 per-connection-classifier=src-port:14/1
add action=mark-routing chain=prerouting new-routing-mark=to_pppoe5 per-connection-classifier=src-port:14/2
add action=mark-routing chain=prerouting new-routing-mark=to_pppoe6 per-connection-classifier=src-port:14/3
add action=mark-routing chain=prerouting new-routing-mark=to_pppoe1 per-connection-classifier=src-port:2/0
add action=mark-routing chain=prerouting new-routing-mark=to_pppoe2 per-connection-classifier=src-port:2/1


请大神将passthrough=yesorno加到上面,以便于理解,视频2/0和2/1放在最上面是不是联通两条线进行均分,这个均分后,passthrough=yes ?

e_zhangiso 发表于 2018-8-17 20:50:29

e_zhangiso 发表于 2018-8-17 16:10
/ip firewall mangle
add action=mark-routing chain=prerouting dst-address-list=video new-routing-ma ...

/ip firewall mangle
add action=mark-routing chain=prerouting dst-address-list=video new-routing-mark=to_pppoe1 per-connection-classifier=src-port:2/0passthrough=yes
add action=mark-routing chain=prerouting dst-address-list=video new-routing-mark=to_pppoe2 per-connection-classifier=src-port:2/1passthrough=no
add action=mark-routing chain=prerouting new-routing-mark=to_pppoe3 per-connection-classifier=src-port:14/0 passthrough=yes
add action=mark-routing chain=prerouting new-routing-mark=to_pppoe4 per-connection-classifier=src-port:14/1 passthrough=yes
add action=mark-routing chain=prerouting new-routing-mark=to_pppoe5 per-connection-classifier=src-port:14/2 passthrough=yes
add action=mark-routing chain=prerouting new-routing-mark=to_pppoe6 per-connection-classifier=src-port:14/3 passthrough=no
add action=mark-routing chain=prerouting new-routing-mark=to_pppoe1 per-connection-classifier=src-port:2/0 passthrough=yes
add action=mark-routing chain=prerouting new-routing-mark=to_pppoe2 per-connection-classifier=src-port:2/1 passthrough=no


应该是这样吗?
页: 1 [2]
查看完整版本: 请教大神ROS电信联通多线做PCC