+ Responder ao Tópico



  1. Fala grande 1929.. prejuizo sempre se tem.. quando não é equipamentos é de tempo perdido (chuva não se instala)..

    Mas entre os mortos e feridos até que ficamos bem!

    Eu estou montando um micro so para fazer balanceamento dos adsl...

    E entrar no gateway (mikrotik) como sendo um ip unico.. assim separo as coisas.. so estou com problemas na hora da configuração.. mas vou testar mais agora a noite..

    Ahh.. estou fazendo isso por causa do proxy squid e do thunder que vou colocar também.. quero ver se melhoro mais ainda a qualidade da rede..

    abraços,

  2. 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 user=xxxxxxxxx@xxxxxxxx.com.br
    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 user=xxxxxxxxx@xxxxxx.com.br

    /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



  3. E ai CGonzaga.. tu ta usando modem roteado ne?

    Abraços

  4. Tiago,

    Não só coloquei os ips pq estava testando e queria acessar-los.. mas se vc ver as regras de Nat vai ver que estão direcionando para conexão do ppoe criado..

    qq duvida eh só falar !!

    []´s

    Gonzaga



  5. Certo amigo CGonzaga, vou testar aqui.. estou montando um micro so para o balanceamento..(estou com uma licença parada aqui).. vou testar e te digo..

    Ai como ta se portando?

    Abraços






Tópicos Similares

  1. Respostas: 12
    Último Post: 15-05-2015, 17:14
  2. Respostas: 6
    Último Post: 08-03-2015, 02:04
  3. Respostas: 2
    Último Post: 18-06-2014, 16:27
  4. Respostas: 273
    Último Post: 20-09-2012, 10:39
  5. duvida sobre link dedicado por balance de operadora
    Por boneco no fórum Servidores de Rede
    Respostas: 13
    Último Post: 05-05-2011, 18:07

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L