OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Claudio Jeker (cjeker_at_diehard.n-r-g.com)
Date: Tue Oct 22 2002 - 15:44:09 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Tue, Oct 22, 2002 at 12:54:39PM -0700, Scott Francis wrote:
    > On Tue, Oct 22, 2002 at 09:08:26PM +0200, ziga.huskiczejn.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
    info.
    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.

    -- 
    :wq Claudio