[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using multiple DSL internet connections and load balancing
- To: <misc@openbsd.org>
- Subject: Using multiple DSL internet connections and load balancing
- From: "Ivan Montoro" <ivanm@knowgate.com>
- Date: Sun, 17 Feb 2002 23:08:00 +0100
Hi everybody,
I've just installed my fresh copy of OpenBSD in my old internet gateway,
and I'm wondering if it's possible to buy a second internet connection
(DSL in my case) and load balance traffic in some way. Well, I don't
even need a *true* load balance, just use one connection for Web/FTP
and leave the other one for mail and other not-so-bandwidth-intensive
applications.
Here goes the schema of the network:
# +---------+
# LAN 192.168.1.0/24 ------| OpenBSD +--- Primary DSL
# .254 +----+----+ (62.9.10.252, gw 62.9.10.193)
# |
# | Secondary DSL
# | (62.4.11.147, gw 62.4.11.129)
I've set up the gateway with the first DSL, leaving the second down.
Everything works fine, NAT, remote access via SSH, FTP, etc...
Now I don't know what's next. I've seen that Squid has a directive
"tcp_outgoing_address" that could help me (default gw for LAN is the
box and I'll setup a transparent proxy). Another option is use the
"divert" option in PF to forward traffic from LAN to any DSL I want.
By now I haven't done anything, since I don't know which option should
I choose or what commands should I issue to make this work. Please
consider that I'm barely newbie on this, so detailed explainations will
be largely appreciated ;)
Thanks
Ivan Montoro