Página 1 de 5 12345 ÚltimoÚltimo
+ Responder ao Tópico



  1. Clique na imagem para uma versão maior

Nome:	         Capturar.PNG
Visualizações:	99
Tamanho: 	44,9 KB
ID:      	63579

  2. as regras que eu estou usando sao essas:
    /interface ethernet
    set [ find default-name=ether1 ] name=ISP1
    set [ find default-name=ether2 ] name=ISP2
    set [ find default-name=ether3 ] name=LAN
    /ip pool
    add name=dhcp_pool1 ranges=192.168.20.2-192.168.20.254
    /ip dhcp-server
    add address-pool=dhcp_pool1 disabled=no interface=LAN name=dhcp1
    /ip address
    add address=192.168.20.1/24 interface=LAN network=192.168.20.0
    add address=172.0.0.2/24 interface=ISP1 network=172.0.0.0
    add address=10.0.0.2/24 interface=ISP2 network=10.0.0.0
    /ip dhcp-server network
    add address=192.168.20.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.20.1
    /ip firewall mangle
    add chain=prerouting comment="****** FORA DO BALANCE ******" dst-port=443 in-interface=LAN protocol=tcp
    add chain=prerouting comment="****** ACEITAR TRAFEGO DA REDE INTERNA ******" dst-address=172.0.0.0/24 in-interface=LAN
    add chain=prerouting dst-address=10.0.0.0/24 in-interface=LAN
    add action=mark-connection chain=prerouting comment="****** MARCACAO LINK1 E LINK2 ******" connection-mark=no-mark in-interface=ISP1 new-connection-mark=ISP1_conn
    add action=mark-connection chain=prerouting connection-mark=no-mark in-interface=ISP2 new-connection-mark=ISP2_conn
    add action=mark-connection chain=prerouting comment="****** DIVISAO DE CARGAS LINK 10MEGA ******" connection-mark=no-mark dst-address-type=!local in-interface=LAN new-connection-mark=ISP1_conn \
    per-connection-classifier=both-addresses:4/0
    add action=mark-connection chain=prerouting connection-mark=no-mark dst-address-type=!local in-interface=LAN new-connection-mark=ISP1_conn per-connection-classifier=both-addresses:4/1
    add action=mark-connection chain=prerouting connection-mark=no-mark dst-address-type=!local in-interface=LAN new-connection-mark=ISP1_conn per-connection-classifier=both-addresses:4/2
    add action=mark-connection chain=prerouting comment="****** DIVISAO DE CARGAS LINK 3MEGA ******" connection-mark=no-mark dst-address-type=!local in-interface=LAN new-connection-mark=ISP2_conn \
    per-connection-classifier=both-addresses:4/3
    add action=mark-routing chain=prerouting comment="******MARCACAO DE ROTAS DE ENTRADA ******" connection-mark=ISP1_conn in-interface=LAN new-routing-mark=to_ISP1
    add action=mark-routing chain=prerouting connection-mark=ISP2_conn in-interface=LAN new-routing-mark=to_ISP2
    add action=mark-routing chain=output comment="******MARCACAO DE ROTAS DE SA\CDDA ******" connection-mark=ISP1_conn new-routing-mark=to_ISP1
    add action=mark-routing chain=output connection-mark=ISP2_conn new-routing-mark=to_ISP2
    /ip firewall nat
    add action=masquerade chain=srcnat out-interface=ISP1
    add action=masquerade chain=srcnat out-interface=ISP2
    /ip route
    add check-gateway=ping distance=1 gateway=172.0.0.1 routing-mark=to_ISP1
    add check-gateway=ping distance=1 gateway=10.0.0.1 routing-mark=to_ISP2
    add check-gateway=ping distance=1 gateway=172.0.0.1
    add check-gateway=ping distance=2 gateway=10.0.0.1



  3. acontece que o link 2 só funciona se eu tirar o cabo do link 1. na foto que enviei ta mostrando a rota do link dois em azul, e ela só fica em preto quando o link 1 fica sem o cabo...

  4. Vc não criou as rota default.



  5. Citação Postado originalmente por hostjunior Ver Post
    Vc não criou as rota default.
    nao seriam estas as rotas default ?

    add check-gateway=ping distance=1 gateway=172.0.0.1
    add check-gateway=ping distance=2 gateway=10.0.0.1






Tópicos Similares

  1. autenticação squid nao esta funcionando
    Por muganga no fórum Servidores de Rede
    Respostas: 6
    Último Post: 18-02-2004, 12:50
  2. Meu SMTP do Qmail não esta funcionando Rede Externa!!!!
    Por maiconovic no fórum Servidores de Rede
    Respostas: 3
    Último Post: 18-10-2003, 09:08
  3. Respostas: 10
    Último Post: 11-06-2003, 07:20
  4. DNS Nao esta funcionando
    Por earaujos no fórum Servidores de Rede
    Respostas: 3
    Último Post: 12-02-2003, 14:40
  5. acl no squid não está funcionando. O que fazer ?
    Por no fórum Servidores de Rede
    Respostas: 3
    Último Post: 20-12-2002, 16:01

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L