Re: FreeBSD and 2 ADSL links

2006-10-06 Thread Josh Paetzel
On Thursday 05 October 2006 20:22, J65nko wrote:
 On 10/5/06, Thiago Rocha [EMAIL PROTECTED] wrote:
  hi!
 
  Brazilian I and do not say English, I forgive for any error!
 
  I have a FreeBSD Server (5.4). This server links ADSL has two,
  and I need to balance the load between them, e also case one
  stops the other keeps the connection.

 You can do this with pf, see
 http://openbsd.org/faq/pf/pools.html#outgoing and
 http://openbsd.org/faq/pf/carp.html

Using pools is sort of a poor man's load balancing.  It's more of a 
round-robin approach to using more than one link.  It's not going to 
allow you to do a single transfer using the aggregated bandwidth of 
both links.

-- 
Thanks,

Josh Paetzel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD and 2 ADSL links

2006-10-05 Thread Thiago Rocha

hi!

Brazilian I and do not say English, I forgive for any error!

I have a FreeBSD Server (5.4). This server links ADSL has two, and I need to
balance the load between them, e also case one stops the other keeps the
connection.

My system is thus:
==
rl0  IP=192.168.2.254/24 / GW for machines in this net is
192.168.2.254- (this is localnet NIC)
rl1  IP= 10.0.0.2/30 / GW for this net is 10.0.0.1 -  (adsl1)
sis0 -- IP= 10.0.1.2/30 / GW for fhis net is 10.0.1.1 -  (adsl2)
#

I have two NATD process, see below:
===

318  ??  Ss 0:00.39 /sbin/natd -f /etc/natd.conf -p 8668 -n rl1
1815  ??  Ss 0:00.65 /sbin/natd -f /etc/natd1.conf -p 8669 -n sis0
#

And my firewall :


ipfw add 10 divert 8668 all from any to 10.0.0.2 via rl1
ipfw add 11 divert 8669 all from any to 10.0.1.2 in via sis0
ipfw add 12 prob 0.5 divert 8668 all from any to any out via rl1
ipfw add 13 divert 8669 all from any to any out via rl1

ipfw add 30 fwd 10.0.0.1 all from 10.0.0.2 to any
ipfw add 30 fwd 10.0.1.1 all from 10.0.1.2 to any
#
and my default route is: 10.0.0.1, I need to make the balancing between
these interfaces.

when I apply these rules nothing I function. I I followed a manual in the
Internet (
http://wiki.luizgustavo.pro.br/doku.php?id=artigos_freebsd:balancelinks),
but without success.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and 2 ADSL links

2006-10-05 Thread Peter A. Giessel


On 2006/10/05 13:59, Thiago Rocha seems to have typed:
 hi!
 
 Brazilian I and do not say English, I forgive for any error!
 
 I have a FreeBSD Server (5.4). This server links ADSL has two, and I need to
 balance the load between them, e also case one stops the other keeps the
 connection.

I don't believe that you will be able to load balance two connections
without assistance from your ISP.  You could split the traffic between
two interfaces, but you can't truly load balance.  One of the many
threads on this topic can be found here:
http://lists.freebsd.org/pipermail/freebsd-isp/2004-June/002219.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and 2 ADSL links

2006-10-05 Thread J65nko

On 10/5/06, Thiago Rocha [EMAIL PROTECTED] wrote:

hi!

Brazilian I and do not say English, I forgive for any error!

I have a FreeBSD Server (5.4). This server links ADSL has two, and I need to
balance the load between them, e also case one stops the other keeps the
connection.



You can do this with pf, see
http://openbsd.org/faq/pf/pools.html#outgoing and
http://openbsd.org/faq/pf/carp.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]