[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2 ADSL / load balancing problem(?)
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: 2 ADSL / load balancing problem(?)
- From: Claudio Jeker <cjeker_(_at_)_diehard_(_dot_)_n-r-g_(_dot_)_com>
- Date: Tue, 22 Oct 2002 22:44:09 +0200
- Mail-followup-to: Claudio Jeker <cjeker_(_at_)_diehard_(_dot_)_n-r-g_(_dot_)_com>, misc_(_at_)_openbsd_(_dot_)_org
On Tue, Oct 22, 2002 at 12:54:39PM -0700, Scott Francis wrote:
> On Tue, Oct 22, 2002 at 09:08:26PM +0200, ziga_(_dot_)_huskic_(_at_)_zejn_(_dot_)_si said:
> > Hi,
> > I have 2 ADSL lines as uplink for small office, how can I set OpenBSD
> > to use both of those for outgoing/incomming traffic?
> > links etc would be great if not default soultion
> Suggest you search the archives; this question (load balancing traffic) comes
> up periodically. You may also want to check out altq(9), and keep in mind
> that balancing ingress traffic is not possible with the setup you have.
> Balancing egress traffic may be possible, in a way, through use of
> altq/pf/nat and a pair of gateways.
First normaly you should not have excessive ingress traffic on ADSL
because this will also reduce the egress traffic.
A simple way to load balance ingress traffic would be bgpdns
(http://www.bgpdns.org). Have a look at the RIPE 41 Presentation for more
For egress traffic a bgpnat is in development but bgpnat uses FreeBSD and
their userland natd because complex loadbalancing does not belong into the
kernel. The upcomming natd form FreeBSD has already simple round robin
based egress load balancing. See http://diehard.n-r-g.com/stuff/freebsd/
It should be no big problem to add a similar balancing extension to pf but
I did not have time to dig through the pf code.
Visit your host, monkey.org