4 Ïß PCC ¸ºÔØ
/ip firewall mangle
add action=mark-connection chain=input comment="pcc1" disabled=no in-interface=pppoe-out1 new-connection-mark=a1 passthrough=yes
add action=mark-routing chain=output connection-mark=a1 disabled=no new-routing-mark=b1 passthrough=yes
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local new-connection-mark=a1 passthrough=yes per-connection-classifier=both-addresses:4/0
add action=mark-routing chain=prerouting connection-mark=a1 disabled=no new-routing-mark=b1 passthrough=yes
add action=mark-connection chain=input comment="pcc2" disabled=no in-interface=pppoe-out2 new-connection-mark=a2 passthrough=yes
add action=mark-routing chain=output connection-mark=a2 disabled=no new-routing-mark=b2 passthrough=yes
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local new-connection-mark=a2 passthrough=yes per-connection-classifier=both-addresses:4/1
add action=mark-routing chain=prerouting connection-mark=a2 disabled=no new-routing-mark=b2 passthrough=yes
add action=mark-connection chain=input comment="pcc3" disabled=no in-interface=pppoe-out3 new-connection-mark=a3 passthrough=yes
add action=mark-routing chain=output connection-mark=a3 disabled=no new-routing-mark=b3 passthrough=yes
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local new-connection-mark=a3 passthrough=yes per-connection-classifier=both-addresses:4/2
add action=mark-routing chain=prerouting connection-mark=a3 disabled=no new-routing-mark=b3 passthrough=yes
add action=mark-connection chain=input comment="pcc4" disabled=no in-interface=pppoe-out4 new-connection-mark=a4 passthrough=yes
add action=mark-routing chain=output connection-mark=a4 disabled=no new-routing-mark=b4 passthrough=yes
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local new-connection-mark=a4 passthrough=yes per-connection-classifier=both-addresses:4/3
add action=mark-routing chain=prerouting connection-mark=a4 disabled=no new-routing-mark=b4 passthrough=yes
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=b1
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=b2
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out3 routing-mark=b3
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out4 routing-mark=b4
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余1页未读,立即下载