Sebastian Reitenbach wrote:
Hi,
Vinicius Vianna <[EMAIL PROTECTED]> wrote:
Hi,
It's possible using multipath, take a look at
http://www.openbsd.org/faq/faq6.html#Multipath please.
But I needed to use some pf "route-to" rules to re-route the packets
between the multiple gateways. It takes some work to make right, but i
know it works if done correctly.
thanks, I need to read up that chapter.
Remember that you will be splitting the outgoing connections between the
two gateways (adsl lines in your case), so a single connection will have
the bandwidth of only one of the adsl, in this case the speed advantage
will be on multiple connections (like multiple users behind a NAT, or
download managers to split a downloading in multiple simultaneous parts).
actually, I more or less, have one connection. And when I watch from my
side, its an incoming connection. Otherwise, its more or less a
point-to-point connection, so I have the possibility to setup OpenBSD boxes
on both sides, and I need to see, whether I can split the transfer in
smaller chunks, to be able to use both routes.
Someone else also suggested to use VPN tunnels between the two endpoints,
and on my side, one tunnel per DSL line, and then route the traffic via some
kind of multipath routing, what I need to read up, between the two hosts.
Or maybe I could just add a trunk interface on top of tun0 and tun1
interfaces?
thanks
Sebastian
Another possibility if trunk or mpath don't work out as you'd like, is
user ppp(8) in multilink mode.
I don't quite have a clear vision of your setup, if the adsl lines are
presented as two plain ethernet interfaces on each end, you could do
multilink pppoe, if they are only IP links, you could do multilink ppp
over tcp or udp. Downsides to this method include reduced mtu if you are
unable to increase the mtu on your dsl lines, and you now have a
userland process directly involved in networking. On the upside, you
should get pretty darn close to 32Mbit with a single TCP connection.
If your adsl lines are truly point to point and give you the equivalent
of two long crossover cables presenting two ethernet interfaces on each
end to the OpenBSD servers, trunk in roundrobin or loadbalance seems
like the method I would prefer.
Have fun testing!