[FUG-BR] Balance Freebsd 8x

Leandro - Intersol listas em intersolinformatica.com.br
Segunda Maio 9 11:17:49 BRT 2011


Bom dia Amigos

Venho por meio deste pedir uma ajuda a quem puder me ajudar a colocar um
balance 
no ar ehehehehe. 

Tenho um FreeBSD com uma interface para clientes e uma para link e 2 outras
interfaces

para dois sistemas ADSL

eu consigo colocar pra funcionar o meu link padrão e um dos ADSLs, mas os
dois ADSL junto

com meu link padrão não consegui nada hehehehehe.

Lembrando que não posso fazer em PF senão tenho que mudar muita coisa aqui.



Estou usando as seguintes regras, se alguém puder me dar uma ajudar agradeço
demais.



# Natd

/sbin/ipfw add 449 divert 8668 ip from any to any in via fxp0

#/sbin/ipfw add 450 divert 8669 ip from any to any in via age0

/sbin/ipfw add 451 divert 8670 ip from any to any in via rl1

/sbin/ipfw add 452 check-state

/sbin/ipfw add 453 prob 0.85 skipto 456 ip from 192.168.0.0/16 to any out
keep-state

#/sbin/ipfw add 454 prob 0.15 skipto 458 ip from 192.168.0.0/16 to any out
keep-state

/sbin/ipfw add 455 skipto 460 ip from 192.168.0.0/16 to any out keep-state

/sbin/ipfw add 456 divert 8668 ip from 192.168.0.0/16 to any in

/sbin/ipfw add 457 divert 8668 ip from 192.168.0.0/16 to any out

#/sbin/ipfw add 458 divert 8669 ip from 192.168.0.0/16 to any in

#/sbin/ipfw add 459 divert 8669 ip from 192.168.0.0/16 to any out

/sbin/ipfw add 460 divert 8670 ip from 192.168.0.0/16 to any in

/sbin/ipfw add 461 divert 8670 ip from 192.168.0.0/16 to any out

/sbin/ipfw add 462 fwd 200.202.200.1 ip from 200.202.200.2 to any

#/sbin/ipfw add 463 fwd 192.168.4.1 ip from 192.168.4.2 to any

/sbin/ipfw add 464 fwd 192.168.3.1 ip from 192.168.3.2 to any

 

deixei comentado as instancias e regras que tentei junto com a Terceira
interface mas não 

rolou hehehehehe.

Já coloquei no kernel o routetables para 3 tb mas não rolou.

sempre usei 2 interfaces, mas agora com 3 enroscou hehehehehhee.

Obrigado a todos 

 



Mais detalhes sobre a lista de discussão freebsd