+ Responder ao Tópico



  1. Seguinte galera tow com probleminha no meu LB PCC

    tenho 4 Link adsl ...
    minha configuraçao tah a seguinte ......................................................

    EthLinkA - pppoe-out1
    EthLinkB - pppoe-out2
    EthLinkC - pppoe-out3
    EthLinkD - pppoe-out4

    modens em bridge .
    operadora telemar.com.br - link veloxzone

    queria usar todos link ao mesmo tempo -

    só quem tah trabalhando éo Link 1 EthLinkA - pppoe-out

    que ta errado ai

    agradeço desde já!

  2. Amigo provavelmente tem algo errado no ip>route ou no ip>mangle.

    Amigo leia com atençao e evite copiar e colar entenda o que está fazendo que você vai conseguir fazer o loadbalance funcionar.

    https://under-linux.org/f227/pcc-bal...r-m4d3-131343/



  3. Nao Consigo fazer o balanceador usar os 4 Links

    MAGLE
    add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=Local new-connection-mark=conn_ma0 passthrough=yes per-connection-classifier=both-addresses:4/0
    add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=Local new-connection-mark=conn_mb1 passthrough=yes per-connection-classifier=both-addresses:4/1
    add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=Local new-connection-mark=conn_mc2 passthrough=yes per-connection-classifier=both-addresses:4/2

    add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local in-interface=Local new-connection-mark=conn_mc3 passthrough=yes per-connection-classifier=both-addresses:4/3
    add action=mark-connection chain=input comment="" connection-state=new disabled=no in-interface=EthLinkA new-connection-mark=conn_na passthrough=yes
    add action=mark-connection chain=input comment="" connection-state=new disabled=no in-interface=EthLinkB new-connection-mark=conn_nb passthrough=yes
    add action=mark-connection chain=input comment="" connection-state=new disabled=no in-interface=EthLinkC new-connection-mark=conn_nc passthrough=yes

    add action=mark-connection chain=input comment="" connection-state=new disabled=no in-interface=EthLinkD new-connection-mark=conn_nd passthrough=yes
    add action=mark-routing chain=output comment="" connection-mark=conn_na disabled=no new-routing-mark=to_ra passthrough=no
    add action=mark-routing chain=output comment="" connection-mark=conn_nb disabled=no new-routing-mark=to_rb passthrough=no
    add action=mark-routing chain=output comment="" connection-mark=conn_nc disabled=no new-routing-mark=to_rc passthrough=no

    add action=mark-routing chain=output comment="" connection-mark=conn_nd disabled=no new-routing-mark=to_rd passthrough=no
    add action=mark-routing chain=prerouting comment="" connection-mark=conn_ma0 disabled=no in-interface=Local new-routing-mark=to_nra passthrough=no
    add action=mark-routing chain=prerouting comment="" connection-mark=conn_mb1 disabled=no in-interface=Local new-routing-mark=to_nrb passthrough=no
    add action=mark-routing chain=prerouting comment="" connection-mark=conn_mc2 disabled=no in-interface=Local new-routing-mark=to_nrc passthrough=no

    add action=mark-routing chain=prerouting comment="" connection-mark=conn_mc3 disabled=no in-interface=Local new-routing-mark=to_nrd passthrough=no

    ROTA
    add comment="" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=EthLinkA scope=30 target-scope=10
    add comment="" disabled=no distance=3 dst-address=0.0.0.0/0 gateway=EthLinkB scope=30 target-scope=10
    add comment="" disabled=no distance=4 dst-address=0.0.0.0/0 gateway=EthLinkC scope=30 target-scope=10

    add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=EthLinkD scope=30 target-scope=10

    add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=EthLinkA routing-mark=to_nra
    add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=EthLinkB routing-mark=to_nrb
    add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=EthLinkC routing-mark=to_nrc

    add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=EthLinkD routing-mark=to_nrd
    NAT
    add action=masquerade chain=srcnat comment="MASCARAMENTO PCC" disabled=no out-interface=EthLinkA
    add action=masquerade chain=srcnat comment="" disabled=no out-interface=EthLinkB
    add action=masquerade chain=srcnat comment="" disabled=no out-interface=EthLinkC

    add action=masquerade chain=srcnat comment="" disabled=no out-interface=EthLinkD

  4. Adiciona nois ai pra ver esse pcc em funcionamento, pra ver oque tá de errado ai!

    paulinhoo0@hotmail.com






Tópicos Similares

  1. Respostas: 14
    Último Post: 24-11-2008, 15:42
  2. Como Conf 2 Links no slackware 10.2?
    Por danillograziani2 no fórum Sistemas Operacionais
    Respostas: 1
    Último Post: 01-07-2007, 12:14
  3. Como ter dois links no mesmo roteador???
    Por nikolas no fórum Servidores de Rede
    Respostas: 9
    Último Post: 07-11-2005, 11:37
  4. como usar o postgres no linux ??
    Por no fórum Servidores de Rede
    Respostas: 2
    Último Post: 10-04-2004, 07:35
  5. Como usar o iptables no conectiva 7.0, com kernel 2.2.
    Por DigoSampa no fórum Servidores de Rede
    Respostas: 1
    Último Post: 01-02-2003, 17:01

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L