pcc负载的疑问
/ip address add address=59.61.6.238/255.255.252.0 interface=lan comment=lan/ip dns set primary-dns=218.85.152.99 secondary-dns=218.85.157.99 allow-remote-requests=yes
/ ip firewall mangle
add chain=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:10/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:10/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=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:10/2 \
action=mark-connection new-connection-mark=3st_conn passthrough=yes comment="PCC3"
add chain=prerouting connection-mark=3st_conn in-interface=lan action=mark-routing new-routing-mark=3st_route
add chain=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:10/3 \
action=mark-connection new-connection-mark=4st_conn passthrough=yes comment="PCC4"
add chain=prerouting connection-mark=4st_conn in-interface=lan action=mark-routing new-routing-mark=4st_route
add chain=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:10/4 \
action=mark-connection new-connection-mark=5st_conn passthrough=yes comment="PCC5"
add chain=prerouting connection-mark=5st_conn in-interface=lan action=mark-routing new-routing-mark=5st_route
add chain=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:10/5 \
action=mark-connection new-connection-mark=6st_conn passthrough=yes comment="PCC6"
add chain=prerouting connection-mark=6st_conn in-interface=lan action=mark-routing new-routing-mark=6st_route
add chain=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:10/6 \
action=mark-connection new-connection-mark=7st_conn passthrough=yes comment="PCC7"
add chain=prerouting connection-mark=7st_conn in-interface=lan action=mark-routing new-routing-mark=7st_route
add chain=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:10/7 \
action=mark-connection new-connection-mark=8st_conn passthrough=yes comment="PCC8"
add chain=prerouting connection-mark=8st_conn in-interface=lan action=mark-routing new-routing-mark=8st_route
add chain=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:10/8 \
action=mark-connection new-connection-mark=9st_conn passthrough=yes comment="PCC9"
add chain=prerouting connection-mark=9st_conn in-interface=lan action=mark-routing new-routing-mark=9st_route
add chain=prerouting dst-address-type=!local in-interface=lan per-connection-classifier=both-addresses:10/9 \
action=mark-connection new-connection-mark=10st_conn passthrough=yes comment="PCC10"
add chain=prerouting connection-mark=10st_conn in-interface=lan action=mark-routing new-routing-mark=10st_route
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
pppoe-out1 routing-mark=1st_route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
pppoe-out2 routing-mark=2st_route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
pppoe-out3 routing-mark=3st_route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
pppoe-out4 routing-mark=4st_route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
pppoe-out5 routing-mark=5st_route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
pppoe-out6 routing-mark=6st_route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
pppoe-out7 routing-mark=7st_route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
pppoe-out8 routing-mark=8st_route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
pppoe-out9 routing-mark=9st_route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
pppoe-out10 routing-mark=10st_route
/ip firewall nat
add action=masquerade chain=srcnat comment=1 out-interface=pppoe-out1
add action=masquerade chain=srcnat comment=2 out-interface=pppoe-out2
add action=masquerade chain=srcnat comment=3 out-interface=pppoe-out3
add action=masquerade chain=srcnat comment=4 out-interface=pppoe-out4
add action=masquerade chain=srcnat comment=5 out-interface=pppoe-out5
add action=masquerade chain=srcnat comment=6 out-interface=pppoe-out6
add action=masquerade chain=srcnat comment=7 out-interface=pppoe-out7
add action=masquerade chain=srcnat comment=8 out-interface=pppoe-out8
add action=masquerade chain=srcnat comment=9 out-interface=pppoe-out9
add action=masquerade chain=srcnat comment=10 out-interface=pppoe-out10
一条2M,10进配置完成后下载速度最多冲到1.8M/s,正常现象?
经常都在700-800之间。。 5条可以1m/s 有人说流量是从上到下,默认路由就2M,底下那几条没跑满,所以满不了20M,可以做PCC+NTH混合,不知道怎么个混合法?单做NTH可以解决,但是我搞不定掉了一条全掉的问题。。 正常现象……
页:
[1]