Página 7 de 198 PrimeiroPrimeiro ... 23456789101112 ... ÚltimoÚltimo
+ Responder ao Tópico

  1. Bom dia,
    otimo post...
    fiz o bal. pcc e funcionou perfeito, no notebook. quando coloca ele no servidor ele nao pinga na rb750....

    link 1 - 192.168.254.254
    link 2 - 192.168.1.1

    ip pcc rb 750 - 192.168.100.1

    coloco no notebook
    192.168.100.2
    255.255.255.0
    192.168.100.1
    192.168.100.1

    funciona o perfeito, pingo nos dois modens.
    quanbdo coloco no servidor, nao vai por nada
    ja fiz ip fixo, dhcp

    uso o dns da google

    se alguem puder ajudar

    agradeço denovo pelo Post.


  2.    Publicidade


  3. passa ai a configuracao para analise ...

  4. Amigo da pra fazer PCC e gereciamento em 1 so Mk? ou tem q faezr pcc em um e gereciamento em outro. Aqui eu uso um mk com pppoe.

  5. Citação Postado originalmente por guilhermebrasileiro Ver Post
    Amigo da pra fazer PCC e gereciamento em 1 so Mk? ou tem q faezr pcc em um e gereciamento em outro. Aqui eu uso um mk com pppoe.
    Boa tarde Guilherme, eu uso separado aqui, uso uma RB para PCC e um pc para fazer gerênciamento "HotSpot", mas vi em alguns posts que é possivel usar tudo em um.

    t++

  6. boa tarde a todos do forum, estou com a seguinte situação tenho uma rb450g e dois adsl.

    1º) adsl endereço ip: 192.168.254.6
    gateway: 192.168.254.2
    2º) adsl endereço ip: 192.168.253.6
    gateway: 192.168.253.2

    no software coloquei da seguinte maneira
    ip address: 192.168.100.1
    network: 192.168.100.0
    masc: 24
    interface: ether5
    dns primario: 192.168.100.1
    dns segundario: 192.168.100.2

    link
    ip address: 192.168.253.6
    network: 192.168.253.0
    masc: 24
    gateway: 192.168.253.2
    velocidade: 1024
    interface: ether1
    link adsl

    ip address: 192.168.254.6
    network: 192.168.254.0
    masc: 24
    gateway: 192.168.254.2
    velocidade: 1024
    interface: ether2
    link adsl

    codigo gerado pelo software
    /ip address add address=192.168.100.1/24 interface=ether5
    /ip dns set primary-dns=192.168.100.2
    /ip dns set secondary-dns=192.168.100.3
    /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
    /ip firewall mangle add action=accept chain=prerouting comment="FORA DO LOADBALACED" disabled=no dst-address-list=loopback in-interface=ether5
    /ip dhcp-client add add-default-route=yes comment="" default-route-distance=0 disabled=no interface=ether1 use-peer-dns=yes use-peer-ntp=yes
    /ip dhcp-client add add-default-route=yes comment="" default-route-distance=0 disabled=no interface=ether2 use-peer-dns=yes use-peer-ntp=yes
    /ip firewall nat add action=masquerade chain=srcnat comment="" disabled=no out-interface=ether1
    /ip firewall nat add action=masquerade chain=srcnat comment="" disabled=no out-interface=ether2
    /ip firewall filter add action=accept chain=input comment="" disabled=no in-interface=!ether1 src-address=192.168.100.0/24
    /ip firewall filter add action=accept chain=input comment="" disabled=no in-interface=!ether2 src-address=192.168.100.0/24
    /ip firewall mangle add action=mark-connection chain=input comment="" disabled=no in-interface=ether1 new-connection-mark=ether1_conn passthrough=yes
    /ip firewall mangle add action=mark-connection chain=input comment="" disabled=no in-interface=ether2 new-connection-mark=ether2_conn passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output comment="" connection-mark=ether1_conn disabled=no new-routing-mark=to_ether1 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output comment="" connection-mark=ether2_conn disabled=no new-routing-mark=to_ether2 passthrough=yes
    /ip firewall mangle add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=ether5 new-connection-mark=ether1_conn passthrough=yes per-connection-classifier=both-addresses:2/0
    /ip firewall mangle add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=ether5 new-connection-mark=ether2_conn passthrough=yes per-connection-classifier=both-addresses:2/1
    /ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=ether1_conn disabled=no in-interface=ether5 new-routing-mark=to_ether1 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=ether2_conn disabled=no in-interface=ether5 new-routing-mark=to_ether2 passthrough=yes
    /ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=ether1 routing-mark=to_ether1
    /ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=ether2 routing-mark=to_ether2
    /ip route add check-gateway=ping comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=ether1 scope=30 target-scope=10
    /ip route add check-gateway=ping comment="" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=ether2 scope=30 target-scope=10

    ai quando coloco o codigo ele não navega mas pinga dentro da rb pelo terminal ping UOL - O melhor conteúdo




Tags para este Tópico

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L