+ Responder ao Tópico

  1. Bom dia amigo os link do downloas estao fora da uma olha muito obr...

  2. Ola amigo Joaojairba
    não trabalho com Rb, mais a regra é a mesma, gere o codigo usando o programa, verifique esta tudo certinho, faixa de ip dos modens , dns e ip que ira sair par outra RB, ping um site no load , se nao pingar verifique novamente, a RB que ira receber exemplo:
    LB 180.180.0.1
    hotspot 180.180.0.2 / mascara / gateway 180.180.0.1 - aqui vc estara recebendo o sinal do LB coloque o dns e ping no LB se responder , ping fora.
    Fiquei 2 dias quebrando a cabeça o que poderia ser o erro, com calma verifiquei e percebi que faltava o dns no hotspot e nao navegava so conseguia navegar no balance.
    Espero ter ajudado



  3. Olá! Scan esta sua regra de agendamento esta correta ou foi apenas uma possibilidade?
    Estou com o seguinte problema no nosso balancemaneto pcc, usamos seu programa e esta no ajuda 100%, porém não é nem problema do seu programa e sim nosso. Aqui temos um link dedicado da Embratel e usamos dois links de sistema via satélite igual da "Rágio" mas compramos direto onde recemos o mesmo no windows e compartilhamento e alimentamos a nossa RB, o que nos acontece é um caso espefico com o tempo de chuva o sinal do Satélite sai do ar, ou seja, ficamos sem internet nestas duas placas que saiem do windows e aimenta por alguns minutos, dessa forma RB fica recebendo requisições e redirecionando para o link do satélite ma não navegação nela por esta fora do ar. Já fucei e pensei várias possibilidades como fazer que o comando down e up seja executado automaticamente uma vez que o satélite sair fora ar? Se alguém do forum tiver alguma idéia ou script agradecemos a ajuda até por um caso tão raro quanto o nosso que infelizment dependemos deste satélite para nos ajudar.


  4. Olá pessoas que dominam Mk, que já me ajudaram o configurar 2 links separados, agora estou com outra bucha. Tenho um cenário com uma mk750g, 4 links Speedy e Link local da antena. Gerei o seguinte código pelo programa do Scan (obrigado pelo programa!):


    Código:
    # ip address --------------------------
    /ip address add address=192.168.0.1/24  interface=ether2
    
    # interface pppoe-client ---------------
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=ether1 max-mru=1480 max-mtu=1480 mrru=disabled name=adsl_ether1 password=speedy profile=default service-name="" use-peer-dns=no user=speedy@speedycorp.com.br
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=ether3 max-mru=1480 max-mtu=1480 mrru=disabled name=adsl_ether3 password=speedy profile=default service-name="" use-peer-dns=no user=speedy@speedycorp.com.br
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=ether4 max-mru=1480 max-mtu=1480 mrru=disabled name=adsl_ether4 password=speedy profile=default service-name="" use-peer-dns=no user=speedy@speedycorp.com.br
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=ether5 max-mru=1480 max-mtu=1480 mrru=disabled name=adsl_ether5 password=speedy profile=default service-name="" use-peer-dns=no user=speedy@speedycorp.com.br
    
    # ip dns --------------------------------
    /ip dns set primary-dns=8.8.8.8
    /ip dns set secondary-dns=8.8.4.4
    /ip dns set allow-remote-requests=yes
    
    # ip dns statico------------------------
    /ip dns static add address=192.168.0.1 comment="" disabled=no name=192.168.0.1.net ttl=1d
    
    # ip firewall Filter------------------------
    /ip firewall filter add action=drop chain=forward comment="BLOQUEIO DE DNS REVERSO" content=velox.user.com.br disabled=no
    /ip firewall filter add action=drop chain=forward comment="BLOQUEIO DE DNS REVERSO" content=speed.user.com.br disabled=no
    
    # ip firewall nat--------------------------
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=adsl_ether1
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=adsl_ether3
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=adsl_ether4
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=adsl_ether5
    
    # ip firewall mangle------------------------
    
    # LoopBack por link-------------------------
    / ip firewall mangle add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-list=LINK0 in-interface=ether2 new-connection-mark=Sites0 passthrough=yes
    / ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=Sites0 disabled=no in-interface=ether2 new-routing-mark=Rota0 passthrough=no
    / ip route add gateway=adsl_ether1 routing-mark=Rota0
    
    /ip firewall address-list add address=200.201.174.0/24 comment="" disabled=no list=LINK0
    /ip firewall address-list add address=200.201.173.0/24 comment="" disabled=no list=LINK0
    /ip firewall address-list add address=200.201.166.0/24 comment="" disabled=no list=LINK0
    /ip firewall address-list add address=200.201.160.0/24 comment="Caixa Economica Federal" disabled=no list=LINK0
    /ip firewall address-list add address=200.141.207.3 comment="Detran" disabled=no list=LINK1
    # Fim LoopBack por link----------------------
    
    /ip firewall mangle add action=accept chain=prerouting comment="HTTPS FORA DO LOADBALACED" disabled=no protocol=tcp dst-port=443 in-interface=ether2
    /ip firewall mangle add action=change-ttl chain=forward comment="Filtro Tracert / Traceroute" disabled=no new-ttl=set:30 protocol=icmp
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=adsl_ether1 new-connection-mark=adsl_ether1_conn passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=adsl_ether3 new-connection-mark=adsl_ether3_conn passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=adsl_ether4 new-connection-mark=adsl_ether4_conn passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=adsl_ether5 new-connection-mark=adsl_ether5_conn passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=adsl_ether1_conn disabled=no new-routing-mark=to_adsl_ether1 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=adsl_ether3_conn disabled=no new-routing-mark=to_adsl_ether3 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=adsl_ether4_conn disabled=no new-routing-mark=to_adsl_ether4 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=adsl_ether5_conn disabled=no new-routing-mark=to_adsl_ether5 passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=ether2 new-connection-mark=adsl_ether1_conn passthrough=yes per-connection-classifier=both-ports:4/0
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=ether2 new-connection-mark=adsl_ether3_conn passthrough=yes per-connection-classifier=both-ports:4/1
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=ether2 new-connection-mark=adsl_ether4_conn passthrough=yes per-connection-classifier=both-ports:4/2
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=ether2 new-connection-mark=adsl_ether5_conn passthrough=yes per-connection-classifier=both-ports:4/3
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=adsl_ether1_conn disabled=no in-interface=ether2 new-routing-mark=to_adsl_ether1 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=adsl_ether3_conn disabled=no in-interface=ether2 new-routing-mark=to_adsl_ether3 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=adsl_ether4_conn disabled=no in-interface=ether2 new-routing-mark=to_adsl_ether4 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=adsl_ether5_conn disabled=no in-interface=ether2 new-routing-mark=to_adsl_ether5 passthrough=yes
    
    # ip route----------------------------------
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_ether1 routing-mark=to_adsl_ether1 comment="Link0"
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_ether3 routing-mark=to_adsl_ether3 comment="Link1"
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_ether4 routing-mark=to_adsl_ether4 comment="Link2"
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_ether5 routing-mark=to_adsl_ether5 comment="Link3"
    /ip route add comment="Link0" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_ether1 scope=30 target-scope=10
    /ip route add comment="Link1" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=adsl_ether3 scope=30 target-scope=10
    /ip route add comment="Link2" disabled=no distance=3 dst-address=0.0.0.0/0 gateway=adsl_ether4 scope=30 target-scope=10
    /ip route add comment="Link3" disabled=no distance=4 dst-address=0.0.0.0/0 gateway=adsl_ether5 scope=30 target-scope=10
    E acontece o seguinte, apenas um link conecta na internet e os outros só tem atividade na porta LAN e não discam suas respectivas conexões pppoe. Li muito aqui os posts mas não pude encontrar, sei que a galera fica fula se a gente não faz isso antes de perguntar!
    Toda ajuda é bem vinda.
    Última edição por huskie; 25-10-2010 às 18:01.






Visite: BR-Linux ·  VivaOLinux ·  Dicas-L