[asterisk-users] load balance with 2 wan connections

Sebastian shop at open-t.co.uk
Sun Jan 2 00:10:02 UTC 2011


Hi,

One possibility that you might want to explore is OpenVPN. If your VoIP 
clients support OpenVPN (either through a local Openvpn client on the 
clients network being used as an OpenVPN gateway, or through individual 
clients supporting OpenVPN (laptops with softphones, or I've heard of 
one particular hardphone supporting OpenVPN - but can't remember which).

Once you are using OpenVPN - it is a bit easier to setup a failover 
scenario - or even load-balancing - as Openvpn has some inbuit 
functionality in this direction. There has been some recent discussion 
on the OpenVPN list about load balancing and failover setups if I 
remember correctly.

Just a thought,

Sebastian


On 12/25/2010 11:01 PM, Dave George wrote:
>
> Server will have two fix public ips.
>
>
>
> Dave
>
>  > -------- Original Message --------
>  > Subject: Re: [asterisk-users] load balance with 2 wan connections
>  > From: Alejandro Imass
>  > Date: Sat, December 25, 2010 1:58 pm
>  > To: Asterisk Users Mailing List - Non-Commercial Discussion
>  >
>  >
>  > On Sat, Dec 25, 2010 at 1:18 PM, dave george wrote:
>  > > Need some advise or paid help on running asterisk on two WAN
> connection. �I
>  > > need load balancing and failover support.
>  > >
>  > > WAN: 1 DSL + 1 Cable ISP.
>  > >
>  >
>  > There are _many_ issues. First outgoing and incoming traffic is
>  > completely different for what you want to do.
>  >
>  > Second SIP is hard enough to NAT and route with a single IP let alone
>  > 2 or more and probably dynamic!
>  >
>  > Third, load balancing/fail-over is not a simple matter even doing by
>  > hand with Linux or BSD, there will still be issues with static routing
>  > and such. There are some cheap hw that may claim it does, but most
>  > probably it will not be meant for VoIP, SIP or IAX.
>  >
>  > Depending on your budget and needs, if you need reliability and high
>  > bandwidth, probably a better solution is to host your main pbx in a
>  > reliable server on a fixed and public IP and then route the calls to a
>  > local Asterisk using IAX and even SIP. If local bandwidth is limited
>  > IAX is a better bet. By having a public box routing calls to local
>  > box(es) on your private LAN, you could load balance with multiple
>  > local Asterisk servers (easy balance by dialplan, for example). To
>  > save on hardware, you could use virtualization or FreeBSD Jails for
>  > example. Dunno how the telephony hw works with virtualization or jails
>  > (yet, thoug I do have a single Asterisk running on a FBSD jail).
>  >
>  > Good luck,
>  > Alejandro Imass
>  >
>  > >
>  > > Dave
>  > >
>  > >
>  > > --
>  > > _____________________________________________________________________
>  > > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>  > > New to Asterisk? Join us for a live introductory webinar every Thurs:
>  > > � � � � � � � http://www.asterisk.org/hello
>  > >
>  > > asterisk-users mailing list
>  > > To UNSUBSCRIBE or update options visit:
>  > > � http://lists.digium.com/mailman/listinfo/asterisk-users
>  > >
>  >
>  > --
>  > _____________________________________________________________________
>  > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>  > New to Asterisk? Join us for a live introductory webinar every Thurs:
>  > http://www.asterisk.org/hello
>  >
>  > asterisk-users mailing list
>  > To UNSUBSCRIBE or update options visit:
>  > http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                 http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list