PCC Balance de 3 a 16 links - Por: M4D3
Olá.. consegui resolver o meu problema vou te passar como esta a minha configuração :
Lembrando que esto com dois links adsl velox 1 4mb e 1 2mb... Boa sorte !!
/interface ethernet
set 0 arp=enabled auto-negotiation=yes cable-settings=default comment=\
"####### INTERFACE LINK4MB ####" disable-running-check=yes disabled=no \
full-duplex=yes mac-address=00:E0:4C:63:F6:A9 mtu=1500 name=EthLinkA \
speed=100Mbps
set 1 arp=enabled auto-negotiation=yes cable-settings=default comment="" \
disable-running-check=yes disabled=no full-duplex=yes mac-address=\
00:E0:4C:77:18:A3 mtu=1500 name=EthLinkB speed=100Mbps
set 2 arp=enabled auto-negotiation=yes cable-settings=default comment=\
"####### INTERFACE CLIENTES ####" disable-running-check=yes disabled=no \
full-duplex=yes mac-address=00:E0:4C:63:F7:2E mtu=1500 name=EthClientes \
speed=100Mbps
set 3 arp=enabled auto-negotiation=yes cable-settings=default comment="" \
disable-running-check=yes disabled=no full-duplex=yes l2mtu=1600 \
mac-address=00:16:17:69:34:2C mtu=1500 name=ether4 speed=100Mbps
/interface pppoe-client
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 comment=\
"" dial-on-demand=no disabled=no interface=EthLinkA max-mru=1480 max-mtu=\
1480 mrru=disabled name=DISCADOR_4MB password=2122539500 profile=default \
service-name="" use-peer-dns=yes [email protected]
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 comment=\
"" dial-on-demand=no disabled=no interface=EthLinkB max-mru=1480 max-mtu=\
1480 mrru=disabled name=DISCADOR_2MB password=2122539500 profile=default \
service-name="" use-peer-dns=yes [email protected]
/ip address
add address=10.1.10.130/27 broadcast=10.1.10.159 comment=\
"###### INTERFACE LINK 4MB ###" disabled=no interface=EthLinkA network=\
10.1.10.128
add address=192.168.1.1/30 broadcast=192.168.1.3 comment=\
"###### INTERFACE CLIENTE ###" disabled=no interface=EthClientes network=\
192.168.1.0
add address=10.1.10.162/27 broadcast=10.1.10.191 comment=\
"###### INTERFACE LINK 2MB ###" disabled=no interface=EthLinkB network=\
10.1.10.160
/ip firewall mangle
add action=accept chain=prerouting comment="Fora do LoadBalanced" disabled=no \
dst-address-list=loopback in-interface=EthClientes
add action=mark-connection chain=input comment=\
"Marcar conexao ether1_conn ether2_conn " connection-state=new disabled=\
no in-interface=EthLinkA new-connection-mark=ether1_conn passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new \
disabled=no in-interface=EthLinkB new-connection-mark=ether2_conn \
passthrough=yes
add action=mark-routing chain=output comment=\
"Marca\E7\E3o to_ether1 to_ether2" connection-mark=ether1_conn \
connection-state=new disabled=no new-routing-mark=to_ether1 passthrough=\
no
add action=mark-routing chain=output comment="" connection-mark=ether2_conn \
connection-state=new disabled=no new-routing-mark=to_ether2 passthrough=\
no
add action=mark-connection chain=prerouting comment=LoadBalance disabled=no \
dst-address-type=!local in-interface=EthClientes new-connection-mark=\
ether1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:6/0
add action=mark-connection chain=prerouting comment=ether2_conn disabled=no \
dst-address-type=!local in-interface=EthClientes new-connection-mark=\
ether1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:6/1
add action=mark-connection chain=prerouting comment=ether4_conn disabled=no \
dst-address-type=!local in-interface=EthClientes new-connection-mark=\
ether1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:6/2
add action=mark-connection chain=prerouting comment=ether5_conn disabled=no \
dst-address-type=!local in-interface=EthClientes new-connection-mark=\
ether1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:6/3
add action=mark-connection chain=prerouting comment=ether6_conn disabled=no \
dst-address-type=!local in-interface=EthClientes new-connection-mark=\
ether2_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:6/4
add action=mark-connection chain=prerouting comment=ether7_conn disabled=no \
dst-address-type=!local in-interface=EthClientes new-connection-mark=\
ether2_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:6/5
add action=mark-routing chain=prerouting comment=\
"Rota dos pacores to_ether1 e to_ether2" connection-mark=ether1_conn \
disabled=no in-interface=EthClientes new-routing-mark=to_ether1 \
passthrough=no
add action=mark-routing chain=prerouting comment="" connection-mark=\
ether2_conn disabled=no in-interface=EthClientes new-routing-mark=\
to_ether2 passthrough=no