求教6条2MADSL+10M光纤固定IP PCC解决方案
小弟原用6条2MADSL宽带上网 带50台用户 因考虑到晚上流量比较大的时候会出现带宽不够的问题,准备拉一条10M光纤
想请问一下PCC负载叠加怎么做?
强,小弟刚装的adsl老是拨号不上,日志提示LCP lowerdown AD跑tcp,光纤跑默认路由 有方案脚本吗? /ip firewall mangle
add action=change-mss chain=forward comment="" disabled=no new-mss=1440 protocol=tcp tcp-flags=syn
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out1 new-connection-mark=pppoe-out1_conn passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out2 new-connection-mark=pppoe-out2_conn passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out3 new-connection-mark=pppoe-out3_conn passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out4 new-connection-mark=pppoe-out4_conn passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out5 new-connection-mark=pppoe-out5_conn passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out6 new-connection-mark=pppoe-out6_conn passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out7 new-connection-mark=pppoe-out7_conn passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out8 new-connection-mark=pppoe-out8_conn passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out9 new-connection-mark=pppoe-out9_conn passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe-out1_conn disabled=no new-routing-mark=to_pppoe-out1 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe-out2_conn disabled=no new-routing-mark=to_pppoe-out2 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe-out3_conn disabled=no new-routing-mark=to_pppoe-out3 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe-out4_conn disabled=no new-routing-mark=to_pppoe-out4 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe-out5_conn disabled=no new-routing-mark=to_pppoe-out5 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe-out6_conn disabled=no new-routing-mark=to_pppoe-out6 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe-out7_conn disabled=no new-routing-mark=to_pppoe-out7 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe-out8_conn disabled=no new-routing-mark=to_pppoe-out8 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe-out9_conn disabled=no new-routing-mark=to_pppoe-out9 passthrough=yes
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=LAN new-connection-mark=pppoe-out1_conn passthrough=yes per-connection-classifier=both-addresses:9/0 src-address=192.168.90.0/24
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=LAN new-connection-mark=pppoe-out2_conn passthrough=yes per-connection-classifier=both-addresses:9/1 src-address=192.168.90.0/24
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=LAN new-connection-mark=pppoe-out3_conn passthrough=yes per-connection-classifier=both-addresses:9/2 src-address=192.168.90.0/24
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=LAN new-connection-mark=pppoe-out4_conn passthrough=yes per-connection-classifier=both-addresses:9/3 src-address=192.168.90.0/24
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=LAN new-connection-mark=pppoe-out5_conn passthrough=yes per-connection-classifier=both-addresses:9/4 src-address=192.168.90.0/24
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=LAN new-connection-mark=pppoe-out6_conn passthrough=yes per-connection-classifier=both-addresses:9/5 src-address=192.168.90.0/24
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=LAN new-connection-mark=pppoe-out7_conn passthrough=yes per-connection-classifier=both-addresses:9/6 src-address=192.168.90.0/24
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=LAN new-connection-mark=pppoe-out8_conn passthrough=yes per-connection-classifier=both-addresses:9/7 src-address=192.168.90.0/24
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=LAN new-connection-mark=pppoe-out9_conn passthrough=yes per-connection-classifier=both-addresses:9/8 src-address=192.168.90.0/24
add action=mark-routing chain=prerouting comment="" connection-mark=pppoe-out1_conn disabled=no in-interface=LAN new-routing-mark=to_pppoe-out1 passthrough=yes src-address=192.168.90.0/24
add action=mark-routing chain=prerouting comment="" connection-mark=pppoe-out2_conn disabled=no in-interface=LAN new-routing-mark=to_pppoe-out2 passthrough=yes src-address=192.168.90.0/24
add action=mark-routing chain=prerouting comment="" connection-mark=pppoe-out3_conn disabled=no in-interface=LAN new-routing-mark=to_pppoe-out3 passthrough=yes src-address=192.168.90.0/24
add action=mark-routing chain=prerouting comment="" connection-mark=pppoe-out4_conn disabled=no in-interface=LAN new-routing-mark=to_pppoe-out4 passthrough=yes src-address=192.168.90.0/24
add action=mark-routing chain=prerouting comment="" connection-mark=pppoe-out5_conn disabled=no in-interface=LAN new-routing-mark=to_pppoe-out5 passthrough=yes src-address=192.168.90.0/24
add action=mark-routing chain=prerouting comment="" connection-mark=pppoe-out6_conn disabled=no in-interface=LAN new-routing-mark=to_pppoe-out6 passthrough=yes src-address=192.168.90.0/24
add action=mark-routing chain=prerouting comment="" connection-mark=pppoe-out7_conn disabled=no in-interface=LAN new-routing-mark=to_pppoe-out7 passthrough=yes src-address=192.168.90.0/24
add action=mark-routing chain=prerouting comment="" connection-mark=pppoe-out8_conn disabled=no in-interface=LAN new-routing-mark=to_pppoe-out8 passthrough=yes src-address=192.168.90.0/24
add action=mark-routing chain=prerouting comment="" connection-mark=pppoe-out9_conn disabled=no in-interface=LAN new-routing-mark=to_pppoe-out9 passthrough=yes src-address=192.168.90.0/24
/ip route
add comment=1 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=to_pppoe-out1 check-gateway=ping
add comment=2 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=to_pppoe-out2 check-gateway=ping
add comment=3 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out3 routing-mark=to_pppoe-out3 check-gateway=ping
add comment=4 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out4 routing-mark=to_pppoe-out4 check-gateway=ping
add comment=5 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out5 routing-mark=to_pppoe-out5 check-gateway=ping
add comment=6 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out6 routing-mark=to_pppoe-out6 check-gateway=ping
add comment=7 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out7 routing-mark=to_pppoe-out7 check-gateway=ping
add comment=8 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out8 routing-mark=to_pppoe-out8 check-gateway=ping
add comment=9 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\10.0.0.1 routing-mark=to_pppoe-out9 check-gateway=ping
add check-gateway=ping comment="pppoe-out1" disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out1
add check-gateway=ping comment="pppoe-out2" disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out2
add check-gateway=ping comment="pppoe-out3" disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out3
add check-gateway=ping comment="pppoe-out4" disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out4
add check-gateway=ping comment="pppoe-out5" disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out5
add check-gateway=ping comment="pppoe-out6" disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out6
add check-gateway=ping comment="pppoe-out7" disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out7
add check-gateway=ping comment="pppoe-out8" disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out8
add check-gateway=ping comment="pppoe-out9" disabled=no distance=10 dst-address=0.0.0.0/0 gateway=\10.0.0.1
/ip firewall nat
add action=masquerade chain=srcnat comment="1" disabled=no out-interface=pppoe-out1
add action=masquerade chain=srcnat comment="2" disabled=no out-interface=pppoe-out2
add action=masquerade chain=srcnat comment="3" disabled=no out-interface=pppoe-out3
add action=masquerade chain=srcnat comment="4" disabled=no out-interface=pppoe-out4
add action=masquerade chain=srcnat comment="5" disabled=no out-interface=pppoe-out5
add action=masquerade chain=srcnat comment="6" disabled=no out-interface=pppoe-out6
add action=masquerade chain=srcnat comment="7" disabled=no out-interface=pppoe-out7
add action=masquerade chain=srcnat comment="8" disabled=no out-interface=pppoe-out8
add action=masquerade chain=srcnat comment="9" disabled=no out-interface=pppoe-out9
/interface vlan
add arp=enabled comment="" disabled=no interface=WAN mtu=1500 name=vlan1 \
use-service-tag=no vlan-id=56
add arp=enabled comment="" disabled=no interface=WAN mtu=1500 name=vlan2 \
use-service-tag=no vlan-id=44
add arp=enabled comment="" disabled=no interface=WAN mtu=1500 name=vlan3 \
use-service-tag=no vlan-id=31
add arp=enabled comment="" disabled=no interface=WAN mtu=1500 name=vlan4 \
use-service-tag=no vlan-id=30
add arp=enabled comment="" disabled=no interface=WAN mtu=1500 name=vlan5 \
use-service-tag=no vlan-id=58
add arp=enabled comment="" disabled=no interface=WAN mtu=1500 name=vlan6 \
use-service-tag=no vlan-id=57
add arp=enabled comment="" disabled=no interface=WAN mtu=1500 name=vlan7 \
use-service-tag=no vlan-id=60
add arp=enabled comment="" disabled=no interface=WAN mtu=1500 name=vlan8 \
use-service-tag=no vlan-id=61
add arp=enabled comment="" disabled=no interface=WAN mtu=1500 name=pppoe-out9 \
use-service-tag=no vlan-id=62
/interface bridge
add admin-mac=00:61:9A:EA:ED:BB ageing-time=5m arp=enabled auto-mac=no \
comment="" disabled=no forward-delay=15s l2mtu=65535 max-message-age=20s \
mtu=1500 name=ADSL-1 priority=0x8000 protocol-mode=none \
transmit-hold-count=6
add admin-mac=00:57:0C:E6:64:D3 ageing-time=5m arp=enabled auto-mac=no \
comment="" disabled=no forward-delay=15s l2mtu=65535 max-message-age=20s \
mtu=1500 name=ADSL-2 priority=0x8000 protocol-mode=none \
transmit-hold-count=6
add admin-mac=00:09:30:B2:28:A6 ageing-time=5m arp=enabled auto-mac=no \
comment="" disabled=no forward-delay=15s l2mtu=65535 max-message-age=20s \
mtu=1500 name=ADSL-3 priority=0x8000 protocol-mode=none \
transmit-hold-count=6
add admin-mac=00:03:47:97:3C:DE ageing-time=5m arp=enabled auto-mac=no \
comment="" disabled=no forward-delay=15s l2mtu=65535 max-message-age=20s \
mtu=1500 name=ADSL-4 priority=0x8000 protocol-mode=none \
transmit-hold-count=6
add admin-mac=00:13:17:1F:F3:F7 ageing-time=5m arp=enabled auto-mac=no \
comment="" disabled=no forward-delay=15s l2mtu=65535 max-message-age=20s \
mtu=1500 name=ADSL-5 priority=0x8000 protocol-mode=none \
transmit-hold-count=6
add admin-mac=00:E2:E6:C0:E2:FF ageing-time=5m arp=enabled auto-mac=no \
comment="" disabled=no forward-delay=15s l2mtu=65535 max-message-age=20s \
mtu=1500 name=ADSL-6 priority=0x8000 protocol-mode=none \
transmit-hold-count=6
add admin-mac=00:DC:94:4D:17:15 ageing-time=5m arp=enabled auto-mac=no \
comment="" disabled=no forward-delay=15s l2mtu=65535 max-message-age=20s \
mtu=1500 name=ADSL-7 priority=0x8000 protocol-mode=none \
transmit-hold-count=6
add admin-mac=00:DC:94:4D:17:19 ageing-time=5m arp=enabled auto-mac=no \
comment="" disabled=no forward-delay=15s l2mtu=65535 max-message-age=20s \
mtu=1500 name=ADSL-8 priority=0x8000 protocol-mode=none \
transmit-hold-count=6
/interface bridge port
add bridge=ADSL-1 comment="" disabled=no edge=auto external-fdb=auto horizon=\
none interface=vlan1 path-cost=10 point-to-point=auto priority=0x80
add bridge=ADSL-2 comment="" disabled=no edge=auto external-fdb=auto horizon=\
none interface=vlan2 path-cost=10 point-to-point=auto priority=0x80
add bridge=ADSL-3 comment="" disabled=no edge=auto external-fdb=auto horizon=\
none interface=vlan3 path-cost=10 point-to-point=auto priority=0x80
add bridge=ADSL-4 comment="" disabled=no edge=auto external-fdb=auto horizon=\
none interface=vlan4 path-cost=10 point-to-point=auto priority=0x80
add bridge=ADSL-5 comment="" disabled=no edge=auto external-fdb=auto horizon=\
none interface=vlan5 path-cost=10 point-to-point=auto priority=0x80
add bridge=ADSL-6 comment="" disabled=no edge=auto external-fdb=auto horizon=\
none interface=vlan6 path-cost=10 point-to-point=auto priority=0x80
add bridge=ADSL-7 comment="" disabled=no edge=auto external-fdb=auto horizon=\
none interface=vlan7 path-cost=10 point-to-point=auto priority=0x80
add bridge=ADSL-8 comment="" disabled=no edge=auto external-fdb=auto horizon=\
none interface=vlan8 path-cost=10 point-to-point=auto priority=0x80
/interface pppoe-client add name=pppoe-out1 interface=ADSL-1 user=d password=d add-default-route=yes disabled=no
/interface pppoe-client add name=pppoe-out2 interface=ADSL-2 user=d password=d add-default-route=yes disabled=no
/interface pppoe-client add name=pppoe-out3 interface=ADSL-3 user=d password=d add-default-route=yes disabled=no
/interface pppoe-client add name=pppoe-out4 interface=ADSL-4 user=d password=d add-default-route=yes disabled=no
/interface pppoe-client add name=pppoe-out5 interface=ADSL-5 user=d password=d add-default-route=yes disabled=no
/interface pppoe-client add name=pppoe-out6 interface=ADSL-6 user=d password=d add-default-route=yes disabled=no
/interface pppoe-client add name=pppoe-out7 interface=ADSL-7 user=d password=d add-default-route=yes disabled=no
/interface pppoe-client add name=pppoe-out8 interface=ADSL-8 user=d password=d add-default-route=yes disabled=no
/ip address add address=10.0.0.5/255.255.255.0 interface=pppoe-out9
这个方案可行么?
哇,高人。学习了 光纤跑80和GAMES!QQ和下载走AD 怎么走就的看你怎么应用了 怎样实施就看真实环境的应用了…… 有意思。学习了。看看喵喵就好。呵呵! 光纤跑上行,ADSL跑下行 学习了:lol
页:
[1]