我的双光纤PCC脚本有什么问题
本帖最后由 xiasha11 于 2012-5-14 11:55 编辑原来公司的网络是单光纤的,使用HTB效果很好,最近加了条光纤,使用以下脚本后上不了网?和HTB限速有冲突吗/ ip firewall mangle
add chain=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:2/0 \
action=mark-connection new-connection-mark=1st_conn passthrough=yes comment="PCC1"
add chain=prerouting connection-mark=1st_conn in-interface=lan action=mark-routing new-routing-mark=1st_route
add chain=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:2/1 \
action=mark-connection new-connection-mark=2st_conn passthrough=yes comment="PCC2"
add chain=prerouting connection-mark=2st_conn in-interface=lan action=mark-routing new-routing-mark=2st_route
add chain=input in-interface=wan2 action=mark-connection new-connection-mark=1st_conn
add chain=input in-interface=wan1 action=mark-connection new-connection-mark=2st_conn
add chain=output connection-mark=1st_conn action=mark-routing new-routing-mark=1st_route
add chain=output connection-mark=2st_conn action=mark-routing new-routing-mark=2st_route
/ip route
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
58.210.69.225 routing-mark=1st_route
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
58.210.215.33 routing-mark=2st_route
add dst-address=0.0.0.0/0 gateway=51.210.211.34 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=52.213.69.235 distance=2 check-gateway=ping
/ip firewall nat
add action=masquerade chain=srcnat comment=1 out-interface=wan2
add action=masquerade chain=srcnat comment=2 out-interface=wan1
页:
[1]