+ Responder ao Tópico

  1. Citação Postado originalmente por sostenes Ver Post
    que bom q resolveu, mais aki uso a 3.30 para balanço e funciona bem,consigo acionar todos os modens.
    e isso ai vamos que vamos e sucesso ai vlw.
    até hoje não consigo acessar os modens em bridge , já fiz tudo, acho que fiz algo de errado nas configurações

  2. Ola Sostenes , comigo o 3.30 não deu certo, uso a versão paga voltei pro 3.28 ficou blz, no forum encontrei bom relatos do 4.3, 4.6 e 4.8 irei testar e deixarei minha opnião.

    Ola Marcio, revise as regras e siga as dicas do Sostenes e do Aka que irão servir muito bem para o seu problema, muitas vezes achamos que fizermos de tudo , mais na real deixamos de analizar com calma e despreocupado, estamos ai para ajudar, abraço .



  3. Boa noite galera ja faz algum tempo que estou tentando fazer funcionar o load entre dois link adsl com os modens em bridge, hoje eu utilizei a o programa do Scan ( que digasse de passagem esta de parabens pelo sei programa) na versao 1.2 tive algumas duvida quanto ao imput dos dados tipo DNS reverso ... como sao link adsl sempre e o ip fornecido pela operado mais o .bsace705.dsl.brasiltelecom.net.br nao sabia o que colocava entao deixem em branco outra duvida per-connection tambem nao sabia o que por deixem em branco. entao eu dei um reset na RB450g e deixei ela sem nada somente renomei as interfaces dos dois links e a do clientes e apliquei o codigo gerado no programa.
    ele gerou todas as regas tudo certinho porem so um dos modens autenticou o outro ficou tentado mas nada, a net ficou funcionando acessou normal porem ai eu tenho que importar o hotspot de um servidor 2.9.6 que tem o cadastro dos clientes mas isso eu vejo depois o que eu queria saber o que pode te havido que nao autenticou os 2 modens sendo que se eu desabilito o que esta autenticado e outro autentica e vice versa

  4. segue o codigo criado, lembrando que ao aplica-lo somente autenicou um dos adsl

    # ip address --------------------------
    /ip address add address=192.168.9.1/24 interface=clientes

    # 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=link1 max-mru=1480 max-mtu=1480 mrru=disabled name=link1adsl password=12345 profile=default service-name="" use-peer-dns=no user=fulando@brturbo.com.br
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=link2 max-mru=1480 max-mtu=1480 mrru=disabled name=link2adsl password=1234567 profile=default service-name="" use-peer-dns=no user=fulando1@brturbo.com.br

    # ip dns --------------------------------
    /ip dns set primary-dns=201.10.128.2
    /ip dns set secondary-dns=201.10.120.2
    /ip dns set allow-remote-requests=yes

    # ip dns statico------------------------
    /ip dns static add address=192.168.9.1 comment="" disabled=no name=192.168.9.1.provedor.com.br ttl=1d

    # ip firewall Filter------------------------

    # ip firewall nat--------------------------
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=link1adsl
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=link2adsl

    # ip firewall mangle------------------------
    /ip firewall mangle add action=accept chain=prerouting comment="HTTPS FORA DO LOADBALACED" disabled=no protocol=tcp dst-port=443 in-interface=clientes
    /ip firewall mangle add action=accept chain=prerouting comment="FORA DO LOADBALACED" disabled=no dst-address-list=loopback in-interface=clientes
    /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=link1adsl new-connection-mark=link1adsl_conn passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=link2adsl new-connection-mark=link2adsl_conn passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=link1adsl_conn disabled=no new-routing-mark=to_link1adsl passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=link2adsl_conn disabled=no new-routing-mark=to_link2adsl passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=clientes new-connection-mark=link1adsl_conn passthrough=yes per-connection-classifier=:2/0
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=clientes new-connection-mark=link2adsl_conn passthrough=yes per-connection-classifier=:2/1
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=link1adsl_conn disabled=no in-interface=clientes new-routing-mark=to_link1adsl passthrough=yes
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=link2adsl_conn disabled=no in-interface=clientes new-routing-mark=to_link2adsl passthrough=yes

    # ip route----------------------------------
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=link1adsl routing-mark=to_link1adsl comment="Link0"
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=link2adsl routing-mark=to_link2adsl comment="Link1"
    /ip route add comment="Link0" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=link1adsl scope=30 target-scope=10
    /ip route add comment="Link1" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=link2adsl scope=30 target-scope=10

    # ip firewall address-list-----------------------------
    /ip firewall address-list add address=200.155.80.0-200.155.255.255 comment=BRADESCO disabled=no list=loopback
    /ip firewall address-list add address=200.220.186.0/24 comment=BRADESCO disabled=no list=loopback
    /ip firewall address-list add address=200.220.178.0/24 comment=BRADESCO disabled=no list=loopback
    /ip firewall address-list add address=64.38.29.0/24 comment=RapidShare disabled=no list=loopback
    /ip firewall address-list add address=208.69.32.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=208.67.217.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=201.7.178.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=201.7.176.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=200.159.128.0/24 comment=BRADESCO disabled=no list=loopback
    /ip firewall address-list add address=201.7.176.0/20 comment="Vídeos - Globo" disabled=no list=loopback
    /ip firewall address-list add address=208.84.247.0/24 comment="Vídeos - terratv" disabled=no list=loopback
    /ip firewall address-list add address=200.154.56.0/24 comment="Vídeos - terratv" disabled=no list=loopback
    /ip firewall address-list add address=200.201.160.0/24 comment="Caixa Economica Federal" disabled=no list=loopback
    /ip firewall address-list add address=200.201.166.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=200.201.173.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=200.201.174.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=200.141.207.3 comment=Detran disabled=no list=loopback

    # /system script--------------------------------------
    /system script add name=Link0Dow policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link0\"] disabled=yes;\r\ \n/ip firewall nat set [find comment=\"Link0\"] disabled=yes;\r\ \n/ip firewall mangle set [find comment=\"Link0\"] disabled=yes;\r\ \n/ip route set [find comment=\"Link0\"] disabled=yes;"
    /system script add name=Link1Dow policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link1\"] disabled=yes;\r\ \n/ip firewall nat set [find comment=\"Link1\"] disabled=yes;\r\ \n/ip firewall mangle set [find comment=\"Link1\"] disabled=yes;\r\ \n/ip route set [find comment=\"Link1\"] disabled=yes;"
    /system script add name=Link0Up policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link0\"] disabled=no;\r\ \n/ip firewall nat set [find comment=\"Link0\"] disabled=no;\r\ \n/ip firewall mangle set [find comment=\"Link0\"] disabled=no;\r\ \n/ip route set [find comment=\"Link0\"] disabled=no;"
    /system script add name=Link1Up policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link1\"] disabled=no;\r\ \n/ip firewall nat set [find comment=\"Link1\"] disabled=no;\r\ \n/ip firewall mangle set [find comment=\"Link1\"] disabled=no;\r\ \n/ip route set [find comment=\"Link1\"] disabled=no;"

  5. Citação Postado originalmente por joaojairba Ver Post
    segue o codigo criado, lembrando que ao aplica-lo somente autenicou um dos adsl
    # 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=link1 max-mru=1480 max-mtu=1480 mrru=disabled name=link1adsl password=12345 profile=default service-name="" use-peer-dns=no user=fulando@brturbo.com.br
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=link2 max-mru=1480 max-mtu=1480 mrru=disabled name=link2adsl password=1234567 profile=default service-name="" use-peer-dns=no user=fulando1@brturbo.com.br
    Cara os modem tao em Bridge certo, ali em allow=pap,chap,mschap1,mschap2, vc pode deixar somente PAP, pq é autenticaçao pppoe sem criptografia. max-mtu=1480 voce pode mudar pra 1492.
    O resto ta tudo certo, essas 2 opçoes ai nao faz a adsl conectar e cair, ou vice versa.. o q ta fazendo vc autentica uma só... é o PROFILE... la no seu ta default, entao verifica ele se ta ativado a opçao dentro dele one-only=no ou default. se tiver tem q autenticar as 2.






Visite: BR-Linux ·  VivaOLinux ·  Dicas-L