Página 2 de 2 PrimeiroPrimeiro 12
+ Responder ao Tópico



  1. amigo caso vc ainda nao conseguiu fazer leia esse post
    https://under-linux.org/f227/program...49/#post558016
    com ele vc tera uma ideia com ficar a configuração e modifica conforme a sua necessidade

  2. Amigo, este links sao da mesma operadora? todos modens estao roteador e mandam DHCP na mesma range?



  3. Amigos,
    aproveitando inside do amigo do topico, coloco uma regra de pcc para 4 links que pretendo utilizar numa rb750 que faz o ppoe das adsls com um link 2mega dedicado . esta rb tera a saida LAn para um server cache que passara para outro server Mk responsavel pelo dhcp, controle de banda com saidas em bridge para as rbs, ptp..

    A duvida seria, tenho duas regras de distribuicao de conexoes, qual delas devo eliminar? por favor se encontrarem alguma coisa errada falem!! Agradeco a atencao de todos!



    ;;; SEM BALANCE
    chain=prerouting action=accept dst-address-list=sem_balance in-interface=REDE LAN


    ;;; Marca conex o do link1
    chain=input action=mark-connection new-connection-mark=conn_na passthrough=yes connection-state=new in-interface=LINK 2M


    ;;; Marca Conex o do link2
    chain=input action=mark-connection new-connection-mark=conn_nb passthrough=yes connection-state=new in-interface=Link2 10M


    ;;; Marca Conex o do link3
    chain=input action=mark-connection new-connection-mark=conn_nc passthrough=yes connection-state=new in-interface=Link3 15M


    ;;; Marca Conex o do link4
    chain=input action=mark-connection new-connection-mark=conn_nd passthrough=yes connection-state=new in-interface=Link4 15M


    ;;; Load Balance Proxy A
    chain=output action=mark-connection new-connection-mark=conn_na passthrough=yes connection-state=new dst-address=!192.168.30.0/24
    per-connection-classifier=both-addresses:12/0


    ;;; Load Balance Proxy B
    chain=output action=mark-connection new-connection-mark=conn_nb passthrough=yes connection-state=new dst-address=!192.168.30.0/24
    per-connection-classifier=both-addresses:12/1


    ;;; Load Balance Proxy C
    chain=output action=mark-connection new-connection-mark=conn_nb passthrough=yes connection-state=new dst-address=!192.168.30.0/24
    per-connection-classifier=both-addresses:12/2


    ;;; Load Balance Proxy D
    chain=output action=mark-connection new-connection-mark=conn_nb passthrough=yes connection-state=new dst-address=!192.168.30.0/24
    per-connection-classifier=both-addresses:12/3


    ;;; Load Balance Proxy E
    chain=output action=mark-connection new-connection-mark=conn_nc passthrough=yes connection-state=new dst-address=!192.168.30.0/24
    per-connection-classifier=both-addresses:12/4


    ;;; Load Balance Proxy F
    chain=output action=mark-connection new-connection-mark=conn_nc passthrough=yes connection-state=new dst-address=!192.168.30.0/24
    per-connection-classifier=both-addresses:12/5


    ;;; Load Balance Proxy G
    chain=output action=mark-connection new-connection-mark=conn_nc passthrough=yes connection-state=new dst-address=!192.168.30.0/24
    per-connection-classifier=both-addresses:12/6


    ;;; Load Balance Proxy H
    chain=output action=mark-connection new-connection-mark=conn_nc passthrough=yes connection-state=new dst-address=!192.168.30.0/24
    per-connection-classifier=both-addresses:12/7


    ;;; Load Balance Proxy I
    chain=output action=mark-connection new-connection-mark=conn_nd passthrough=yes connection-state=new dst-address=!192.168.30.0/24
    per-connection-classifier=both-addresses:12/8


    ;;; Load Balance Proxy J
    chain=output action=mark-connection new-connection-mark=conn_nd passthrough=yes connection-state=new dst-address=!192.168.30.0/24
    per-connection-classifier=both-addresses:12/9


    ;;; Load Balance Proxy K
    chain=output action=mark-connection new-connection-mark=conn_nd passthrough=yes connection-state=new dst-address=!192.168.30.0/24
    per-connection-classifier=both-addresses:12/10


    ;;; Load Balance Proxy L
    chain=output action=mark-connection new-connection-mark=conn_nd passthrough=yes connection-state=new dst-address=!192.168.30.0/24
    per-connection-classifier=both-addresses:12/11


    ;;; Rota da conexao A
    chain=output action=mark-routing new-routing-mark=to_ra passthrough=no connection-mark=conn_na


    ;;; Rota da conexao B
    chain=output action=mark-routing new-routing-mark=to_rb passthrough=no connection-mark=conn_nb


    ;;; Rota da conexao C
    chain=output action=mark-routing new-routing-mark=to_rc passthrough=no connection-mark=conn_nc


    ;;; Rota da conexao d
    chain=output action=mark-routing new-routing-mark=to_rd passthrough=no connection-mark=conn_nd


    ;;; Classifica o da rota A
    chain=prerouting action=mark-connection new-connection-mark=conn_ma0 passthrough=yes dst-address-type=!local in-interface=REDE LAN
    per-connection-classifier=both-addresses:12/0


    ;;; Classifica o da rota B
    chain=prerouting action=mark-connection new-connection-mark=conn_mb1 passthrough=yes dst-address-type=!local in-interface=REDE LAN
    per-connection-classifier=both-addresses:12/1


    ;;; Classifica o da rota C
    chain=prerouting action=mark-connection new-connection-mark=conn_mb1 passthrough=yes dst-address-type=!local in-interface=REDE LAN
    per-connection-classifier=both-addresses:12/2


    ;;; Classifica o da rota D
    chain=prerouting action=mark-connection new-connection-mark=conn_mb1 passthrough=yes dst-address-type=!local in-interface=REDE LAN
    per-connection-classifier=both-addresses:12/3


    ;;; Classificador da Rota E
    chain=prerouting action=mark-connection new-connection-mark=conn_mc2 passthrough=yes dst-address-type=!local in-interface=REDE LAN
    per-connection-classifier=both-addresses:12/4


    ;;; Classificador da Rota F
    chain=prerouting action=mark-connection new-connection-mark=conn_mc2 passthrough=yes dst-address-type=!local in-interface=REDE LAN
    per-connection-classifier=both-addresses:12/5


    ;;; Classificador da Rota G
    chain=prerouting action=mark-connection new-connection-mark=conn_mc2 passthrough=yes dst-address-type=!local in-interface=REDE LAN
    per-connection-classifier=both-addresses:12/6


    ;;; Classificador da Rota H
    chain=prerouting action=mark-connection new-connection-mark=conn_mc2 passthrough=yes dst-address-type=!local in-interface=REDE LAN
    per-connection-classifier=both-addresses:12/7


    ;;; Classificador da Rota I
    chain=prerouting action=mark-connection new-connection-mark=conn_md3 passthrough=yes dst-address-type=!local in-interface=REDE LAN
    per-connection-classifier=both-addresses:12/8


    ;;; Classificador da Rota J
    chain=prerouting action=mark-connection new-connection-mark=conn_md3 passthrough=yes dst-address-type=!local in-interface=REDE LAN
    per-connection-classifier=both-addresses:12/9


    ;;; Classificador da Rota K
    chain=prerouting action=mark-connection new-connection-mark=conn_md3 passthrough=yes dst-address-type=!local in-interface=REDE LAN
    per-connection-classifier=both-addresses:12/10


    ;;; Classificador da Rota L
    chain=prerouting action=mark-connection new-connection-mark=conn_md3 passthrough=yes dst-address-type=!local in-interface=REDE LAN
    per-connection-classifier=both-addresses:12/11


    ;;; Rota de saida 1
    chain=prerouting action=mark-routing new-routing-mark=to_nra passthrough=yes in-interface=REDE LAN connection-mark=conn_ma0


    ;;; Rota de saida 2
    chain=prerouting action=mark-routing new-routing-mark=to_nrb passthrough=yes in-interface=REDE LAN connection-mark=conn_mb1


    ;;; Rota de saida 3
    chain=prerouting action=mark-routing new-routing-mark=to_nrc passthrough=yes in-interface=REDE LAN connection-mark=conn_mc2


    ;;; Rota de saida 4
    chain=prerouting action=mark-routing new-routing-mark=to_nrd passthrough=yes in-interface=REDE LAN connection-mark=conn_md3






Tópicos Similares

  1. Políticas de rotas com PCC e 4 links roteados
    Por sostenes no fórum Redes
    Respostas: 31
    Último Post: 10-11-2011, 10:49
  2. Respostas: 10
    Último Post: 06-09-2011, 17:37
  3. Balanceamento PCC com Links Diferentes (
    Por Mgsantana no fórum Redes
    Respostas: 4
    Último Post: 05-08-2011, 21:06
  4. Respostas: 20
    Último Post: 18-12-2008, 23:43
  5. LoadBalance com 2 Links! AJUDA
    Por mauriciommagalhaes no fórum Servidores de Rede
    Respostas: 0
    Último Post: 14-08-2006, 06:51

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L