PCC LOAD COM 4 LINKS

alguem tem uma receita de bolo  ,  de um pcc pra 4 link dedicados. ja fiz varios mas nao fica legal.

 

meu links sao esse

192.168.51.2

192.168.52.2

192.168.53.2

192.168.54.2

 

e a rede é 192.168.50.2

 

valeu

Para adicionar comentários, você deve ser membro de MK-AUTH.

Join MK-AUTH

Votos 0
Enviar-me um email quando as pessoas responderem –

Respostas

  • pagina esta fora do ar !

    Alguem consegue me ajudar ?



    Ronaldo Martins disse:

  • Oi Luis, fiz esse esquema de separacao por grupo, porem minha pagina de corte nao aparece qdo ele e bloqueado, se eu digitar o ip do meu mk-auth mais a porta no navegador abre normal.

    poderia me passar como vc fez a pgcorte ??? utilizo aqui Radius via List, ou se tiver alguma outra solucao, agradeço



    Luis Pontes disse:

     

    Sua receita de Bolo

    coloca os nomes nas interface


    / ip address
    add address=192.168.0.1/30 network=192.168.0.0 broadcast=192.168.0.3 interface=Local
    add address=192.168.1.2/24 network=192.168.1.0 broadcast=192.168.1.255 interface=wlan1
    add address=192.168.2.2/24 network=192.168.2.0 broadcast=192.168.2.255 interface=wlan2
    add address=192.168.3.2/24 network=192.168.3.0 broadcast=192.168.3.255 interface=wlan3
    add address=192.168.4.2/24 network=192.168.4.0 broadcast=192.168.4.255 interface=wlan4

    / ip firewall mangle
    add chain=input in-interface=wlan1 action=mark-connection new-connection-mark=wlan1_conn
    add chain=input in-interface=wlan2 action=mark-connection new-connection-mark=wlan2_conn
    add chain=input in-interface=wlan3 action=mark-connection new-connection-mark=wlan3_conn
    add chain=input in-interface=wlan4 action=mark-connection new-connection-mark=wlan4_conn

    add chain=output connection-mark=wlan1_conn action=mark-routing new-routing-mark=to_wlan1    
    add chain=output connection-mark=wlan2_conn action=mark-routing new-routing-mark=to_wlan2
    add chain=output connection-mark=wlan3_conn action=mark-routing new-routing-mark=to_wlan3
    add chain=output connection-mark=wlan4_conn action=mark-routing new-routing-mark=to_wlan4

    add chain=prerouting dst-address=192.168.1.0/24  action=accept in-interface=Local
    add chain=prerouting dst-address=192.168.2.0/24  action=accept in-interface=Local
    add chain=prerouting dst-address=192.168.3.0/24  action=accept in-interface=Local
    add chain=prerouting dst-address=192.168.4.0/24  action=accept in-interface=Local

    add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:2/0 \
        action=mark-connection new-connection-mark=wlan1_conn passthrough=yes
    add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:2/1 \
        action=mark-connection new-connection-mark=wlan2_conn passthrough=yes
    add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:3/1 \
        action=mark-connection new-connection-mark=wlan3_conn passthrough=yes
    add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:4/1 \
        action=mark-connection new-connection-mark=wlan4_conn passthrough=yes

    add chain=prerouting connection-mark=wlan1_conn in-interface=Local action=mark-routing new-routing-mark=to_wlan1
    add chain=prerouting connection-mark=wlan2_conn in-interface=Local action=mark-routing new-routing-mark=to_wlan2
    add chain=prerouting connection-mark=wlan3_conn in-interface=Local action=mark-routing new-routing-mark=to_wlan3
    add chain=prerouting connection-mark=wlan4_conn in-interface=Local action=mark-routing new-routing-mark=to_wlan4

    / ip route
    add dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-mark=to_wlan1 check-gateway=ping
    add dst-address=0.0.0.0/0 gateway=192.168.2.1 routing-mark=to_wlan2 check-gateway=ping
    add dst-address=0.0.0.0/0 gateway=192.168.3.1 routing-mark=to_wlan3 check-gateway=ping
    add dst-address=0.0.0.0/0 gateway=192.168.4.1 routing-mark=to_wlan4 check-gateway=ping

    add dst-address=0.0.0.0/0 gateway=192.168.1.1 distance=1 check-gateway=ping
    add dst-address=0.0.0.0/0 gateway=192.168.2.1 distance=2 check-gateway=ping
    add dst-address=0.0.0.0/0 gateway=192.168.3.1 distance=3 check-gateway=ping
    add dst-address=0.0.0.0/0 gateway=192.168.4.1 distance=4 check-gateway=ping

    / ip firewall nat
    add chain=srcnat out-interface=wlan1 action=masquerade
    add chain=srcnat out-interface=wlan2 action=masquerade
    add chain=srcnat out-interface=wlan3 action=masquerade
    add chain=srcnat out-interface=wlan4 action=masquerade

  • E é assim mesmo amigo, ja fiço dezenas de load e ajudei outras dezenas, e é dessa forma que eu te falei!!

    Fernando Fiorentin disse:
    eu tmb achava que era assim rogério...
  • eu tmb achava que era assim rogério...
  • Não tem segredo, so imaginar q sua rb do balance é um modem roteado e configurar o mikrotik com ip e e rota para a rb e funcionara normalmente!!

    Fernando Fiorentin disse:
    to com uma duvida aqui de como repassar os ips do hotspot a rb do load balance, pode me ajudar?
  • tsaraiva_@hotmail.com add ai
  • to com uma duvida aqui de como repassar os ips do hotspot a rb do load balance, pode me ajudar?
  • LOAD BALANCE 2 RB 1100-AH --> 1 SERVIDOR MIKROTIK COM HOTSPOT GERENCIANDO TUDO
  • SIM!!!!

    Fernando Fiorentin disse:
    Thiago, vc usa seu load separado do hotspot ou server pppoe?

    Thiago Saraiva disse:

    ja o usei o pcc é otimo load mas, se você tiver 4 de link de 4mb exemplo se ouver  pico em 1 dos links com

    mais de 4mb vai ficar lento ate os clientes terminarem os downloads, hoje eu uso o 1 load balance mas com

    rotas estaticas coloco 1 grupo de clientes para cada link, e esta funcionando perfeitamente

  • Thiago, vc usa seu load separado do hotspot ou server pppoe?

    Thiago Saraiva disse:

    ja o usei o pcc é otimo load mas, se você tiver 4 de link de 4mb exemplo se ouver  pico em 1 dos links com

    mais de 4mb vai ficar lento ate os clientes terminarem os downloads, hoje eu uso o 1 load balance mas com

    rotas estaticas coloco 1 grupo de clientes para cada link, e esta funcionando perfeitamente

This reply was deleted.