Tutorial load balance

482 palavras 2 páginas
/ip address add address=10.0.0.1/27 broadcast=10.0.0.31 comment=”" disabled=no interface=LAN network=10.0.0.0 add address=192.168.0.10/27 broadcast=192.168.0.31 comment=”" disabled=no interface=ISP1 network=192.168.0.0 add address=192.168.3.1/24 broadcast=192.168.3.255 comment=”" disabled=no interface=ISP2 network=192.168.3.0
ROTAS:
/ip route add check-gateway=ping comment=”Rota Saida GVT para Load Balance” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.3.20 routing-mark=ISP2_traffic scope=30 target-scope=10 add check-gateway=ping comment=”Rota saida Velox para Load Balance” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.0.1 routing-mark=ISP1_traffic scope=30 target-scope=10 add check-gateway=ping comment=”Rota saida Velox/GVT sem Load Balance” disabled=no distance=2 dst-address=0.0.0.0/0 gateway=192.168.0.1,192.168.3.20 scope=30 target-scope=10
NAT:
/ip firewall nat add action=masquerade chain=srcnat comment=”" disabled=no out-interface=ISP1 add action=masquerade chain=srcnat comment=”" disabled=no out-interface=ISP2
MANGLE:
/ip firewall mangle add action=mark-connection chain=input comment=”Marca Conexoes de entrada para que voltem pelo mesmo link” disabled=no in-interface=ISP1 new-connection-mark=ISP1_conn passthrough=yes add action=mark-connection chain=input comment=”" disabled=no in-interface=ISP2 new-connection-mark=ISP2_conn passthrough=yes add action=mark-connection chain=output comment=”Inicia o balance” connection-state=new disabled=no dst-address=!10.0.0.0/27 new-connection-mark=ISP1_conn passthrough=yes per-connection-classifier=both-addresses:2/0 add action=mark-connection chain=output comment=”" connection-state=new disabled=no dst-address=!10.0.0.0/27 new-connection-mark=ISP2_conn passthrough=yes per-connection-classifier=both-addresses:2/1 add action=mark-routing chain=output comment=”Retorna as conexoes marcadas no inicio, pelo mesmo link que entraram” connection-mark=ISP1_conn disabled=no

Relacionados

  • Automação
    92292 palavras | 370 páginas
  • Bounding
    1473 palavras | 6 páginas
  • Redes De Computadores 1
    2600 palavras | 11 páginas
  • Fotografia raw como é e como usa-la
    1694 palavras | 7 páginas
  • Fotógrafo
    1694 palavras | 7 páginas
  • Fotoshop
    6865 palavras | 28 páginas
  • Sddddfdf
    2624 palavras | 11 páginas
  • Magix xtreme photo designer 6
    18985 palavras | 76 páginas
  • Tutorial pfsense
    3430 palavras | 14 páginas
  • Cisco ho
    3484 palavras | 14 páginas