Muito bom o tutorial...
Versão Imprimível
E veja que tem muita gente que contribui com ele, só é bom porque todos participam.
olá amigos boa tarde a todos.
estou com um pequeno problema aqui, eu uso balance PCC uso um RB450G
e 4 adsl funcionando redondinho. montei usando os passos do nosso amigo M4D3.
agora apareceu um concurso publico e o balace PCC ta barrando o site dele
alguém poderia mim dar uma ajuda? o endereço do site é http://www.consultarconcursos.com.br
antecipado meus agradecimentos a todos.
bom dia pessoall ..
to tentando novamente implantar o balance aqui no meu sistema, to usando agora 4 links adsl
fiz as configurações seguindo o tutorial, inclusive usando o mesmo nome nas interfaces para não me perder, só que apos configurado, quando mando pingar dá o seguinte erro: no route to host
segue configurações para os amigos se puder me ajudar:
/interface ethernet
/ip addressCitação:
set 0 arp=enabled auto-negotiation=yes cable-settings=default comment="" disable-running-check=yes disabled=no full-duplex=yes mac-address=00:E0:52:A7:C0:FE 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 l2mtu=1600 mac-address=00:E0:52:A9:49:02 \
mtu=1500 name=EthLinkB speed=100Mbps
set 2 arp=enabled auto-negotiation=yes cable-settings=default comment="" disable-running-check=yes disabled=no full-duplex=yes l2mtu=1600 mac-address=00:E0:52:A9:49:7C \
mtu=1500 name=EthLinkC 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:E0:52:AE:34:2B \
mtu=1500 name=EthLinkD speed=100Mbps
set 4 arp=enabled auto-negotiation=yes cable-settings=default comment="" disable-running-check=yes disabled=no full-duplex=yes l2mtu=1600 mac-address=00:15:F2:43:A5:35 \
mtu=1500 name=EthClientes speed=100Mbps
/ip firewall natCitação:
add address=192.168.1.101/24 broadcast=192.168.1.255 comment="Link 1 - Modem TpLink1" disabled=no interface=EthLinkA network=192.168.1.0
add address=192.168.1.102/24 broadcast=192.168.1.255 comment="Link 2 - Modem TpLink2" disabled=no interface=EthLinkB network=192.168.1.0
add address=10.0.0.251/24 broadcast=10.0.0.255 comment="Link 3 - Modem Intelbras1" disabled=no interface=EthLinkC network=10.0.0.0
add address=10.0.0.252/24 broadcast=10.0.0.255 comment="Link 4 - Modem Intelbras2" disabled=no interface=EthLinkD network=10.0.0.0
add address=192.168.100.254/24 broadcast=192.168.100.255 comment="Saida do Link pra Hotspot" disabled=no interface=EthClientes network=192.168.100.0
/ip firewall mangleCitação:
add action=masquerade chain=srcnat comment="MASCARAMENTO PCC" disabled=no \
out-interface=EthLinkA
add action=masquerade chain=srcnat comment="" disabled=no out-interface=\
EthLinkB
add action=masquerade chain=srcnat comment="" disabled=no out-interface=\
EthLinkC
add action=masquerade chain=srcnat comment="" disabled=no out-interface=\
EthLinkD
/ip routeCitação:
add action=accept chain=prerouting comment="SEM BALANCE" disabled=no \
dst-address-list=sem_balance in-interface=EthClientes
add action=mark-connection chain=input comment="" connection-state=new \
disabled=no in-interface=EthLinkA new-connection-mark=conn_na \
passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new \
disabled=no in-interface=EthLinkB new-connection-mark=conn_nb \
passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new \
disabled=no in-interface=EthLinkC new-connection-mark=conn_nc \
passthrough=yes
add action=mark-connection chain=input comment="" connection-state=new \
disabled=no in-interface=EthLinkD new-connection-mark=conn_nd \
passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=conn_na \
disabled=no new-routing-mark=to_ra passthrough=no
add action=mark-routing chain=output comment="" connection-mark=conn_nb \
disabled=no new-routing-mark=to_rb passthrough=no
add action=mark-routing chain=output comment="" connection-mark=conn_nc \
disabled=no new-routing-mark=to_rc passthrough=no
add action=mark-routing chain=output comment="" connection-mark=conn_nd \
disabled=no new-routing-mark=to_rd passthrough=no
add action=mark-connection chain=prerouting comment="" disabled=no \
dst-address-type=!local in-interface=EthClientes new-connection-mark=\
conn_ma0 passthrough=yes per-connection-classifier=both-addresses:4/0
add action=mark-connection chain=prerouting comment="" disabled=no \
dst-address-type=!local in-interface=EthClientes new-connection-mark=\
conn_mb1 passthrough=yes per-connection-classifier=both-addresses:4/1
add action=mark-connection chain=prerouting comment="" disabled=no \
dst-address-type=!local in-interface=EthClientes new-connection-mark=\
conn_mc2 passthrough=yes per-connection-classifier=both-addresses:4/2
add action=mark-connection chain=prerouting comment="" disabled=no \
dst-address-type=!local in-interface=EthClientes new-connection-mark=\
conn_mc2 passthrough=yes per-connection-classifier=both-addresses:4/3
add action=mark-routing chain=prerouting comment="" connection-mark=conn_ma0 \
disabled=no in-interface=EthClientes new-routing-mark=to_nra passthrough=\
no
add action=mark-routing chain=prerouting comment="" connection-mark=conn_mb1 \
disabled=no in-interface=EthClientes new-routing-mark=to_nrb passthrough=\
no
add action=mark-routing chain=prerouting comment="" connection-mark=conn_mc2 \
disabled=no in-interface=EthClientes new-routing-mark=to_nrc passthrough=\
no
add action=mark-routing chain=prerouting comment="" connection-mark=conn_md3 \
disabled=no in-interface=EthClientes new-routing-mark=to_nrd passthrough=\
no
Agradeço a todos que puder me ajudar ..Citação:
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.101 routing-mark=to_nra scope=30 target-scope=10
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.0.0.251 routing-mark=to_nrb scope=30 target-scope=10
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.102 routing-mark=to_nrc scope=30 target-scope=10
add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.0.0.252 routing-mark=to_nrd scope=30 target-scope=10
add comment="" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=192.168.1.101 scope=30 target-scope=10
add comment="" disabled=no distance=3 dst-address=0.0.0.0/0 gateway=192.168.1.102 scope=30 target-scope=10
add comment="" disabled=no distance=4 dst-address=0.0.0.0/0 gateway=10.0.0.251 scope=30 target-scope=10
add comment="" disabled=no distance=5 dst-address=0.0.0.0/0 gateway=10.0.0.252 scope=30 target-scope=10