我用VRRP单线拨了4个号,但发现PPPoE_out4总是没有流量,为什么呢?
按论坛上的方法设置,现在用迅雷可以叠加带宽,但只有PPPoE_out1--out3 有流量 ,out4 总是没有,若断开前三个连接,则out4 有流量 ,另外 ,我开了upnp nat 里也有记录了,但电驴还是提示LowID 为什么呢?请大大们指教。Route:
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE_out1 \
routing-mark=1st_route scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE_out2 \
routing-mark=2st_route scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE_out3 \
routing-mark=3st_route scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=PPPoE_out4 \
routing-mark=4st_route scope=30 target-scope=10
add disabled=no distance=2 dst-address=0.0.0.0/0 gateway=PPPoE_out1 scope=30 \
target-scope=10
add disabled=no distance=2 dst-address=0.0.0.0/0 gateway=PPPoE_out2 scope=30 \
target-scope=10
add disabled=no distance=2 dst-address=0.0.0.0/0 gateway=PPPoE_out3 scope=30 \
target-scope=10
add disabled=no distance=2 dst-address=0.0.0.0/0 gateway=PPPoE_out4 scope=30 \
target-scope=10
NAT:
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" disabled=\
no out-interface=PPPoE_out1
add action=masquerade chain=srcnat disabled=no out-interface=PPPoE_out2
add action=masquerade chain=srcnat disabled=no out-interface=PPPoE_out3
add action=masquerade chain=srcnat disabled=no out-interface=PPPoE_out4
Mangle:
/ip firewall mangle
add action=mark-connection chain=prerouting disabled=no in-interface=\
LAN_2-master-local new-connection-mark=1st_conn passthrough=yes \
per-connection-classifier=src-address-and-port:4/1
add action=mark-routing chain=prerouting connection-mark=1st_conn disabled=no \
in-interface=LAN_2-master-local new-routing-mark=1st_route passthrough=no
add action=mark-connection chain=prerouting disabled=no in-interface=\
LAN_2-master-local new-connection-mark=2st_conn passthrough=yes \
per-connection-classifier=src-address-and-port:4/2
add action=mark-routing chain=prerouting connection-mark=2st_conn disabled=no \
in-interface=LAN_2-master-local new-routing-mark=2st_route passthrough=no
add action=mark-connection chain=prerouting disabled=no in-interface=\
LAN_2-master-local new-connection-mark=3st_conn passthrough=yes \
per-connection-classifier=src-address-and-port:4/3
add action=mark-connection chain=prerouting disabled=no in-interface=\
LAN_2-master-local new-connection-mark=4st_conn passthrough=yes \
per-connection-classifier=src-address-and-port:4/4
add action=mark-routing chain=prerouting connection-mark=3st_conn disabled=no \
in-interface=LAN_2-master-local new-routing-mark=3st_route passthrough=no
add action=mark-routing chain=prerouting connection-mark=4st_conn disabled=no \
in-interface=LAN_2-master-local new-routing-mark=4st_route passthrough=no per-connection-classifier=src-address-and-port:4/1用错了,应该是从4/0开始
断开前三个会走默认路由,就是第四个pppoe 楼上正解,PCC标记从0记数。所以4线是没有流量的。
页:
[1]