NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to use two WAN connections at once?



"link balancing" sometimes referred as "poor man's BGP4" for outbound internet 
is in principle simple: you NAT your private IP#s into two or more public IPs, 
and either policy route or weight the routes.  It gets trickier when you add in 
the other ingredients: health-checking the ISP links and connection stickiness; 
for example a home-banking web app that suddenly sees your source IP change.  
It would be a cool appliance/app to have handy though.

----- Original Message -----
From: "Frank Wille" <frank%phoenix.owl.de@localhost>
To: "Andy Ball" <ball%grex.org@localhost>
Cc: netbsd-users%NetBSD.org@localhost, tech-net%NetBSD.org@localhost
Sent: Thursday, November 15, 2012 3:51:43 AM
Subject: Re: How to use two WAN connections at once?

On Wed, 14 Nov 2012 10:29:12 -0500 (EST)
Andy Ball <ball%grex.org@localhost> wrote:

>   FW> I have two WAN connections (e.g. ADSL), which I both
>     > want to use transparently from my LAN. A kind of load-
>     > balancing would be nice, because the first WAN port is
>     > slower than the second, but more stable.
> 
>     I've been thinking about a scenario something like this
> for a while.  If a branch office had a wired connection (T1,
> cable or DSL) and a second connection via satellite, it
> would seem logical to send latency-sensitive datagrams
> (VoIP, videoconferencing, RDP) down the wire and balance
> other traffic between the wired and satellite connections
> depending on available bandwidth.  Obviously if one
> connection went down we would want to fail over to the
> other.

Yes, that's exactly what I want to achieve! My second conncetion is
via LTE (4G), which is not so reliable as DSL (maybe it disconnects on a
misty winter day?), and has a limited monthly volume, but is much faster.


>  I'm told this is an example of "traffic shaping"
> but I have yet to look at how this is done in practice on
> a router that runs NetBSD.

But where to look?
Any help is welcome.


-- 
Frank Wille


Home | Main Index | Thread Index | Old Index