Hi all, I would like to know if there is a solution to this question. Scenario: Two asterisk servers connected across the Intenet ( in SIP or IAX mode, no matter) with both of them having static ip addresses Then I add a second link (with another provider), with another NIC at both side, and again both of them having static ip addresses. Is there a way to tell asterisk to use both of these link, i.e. doing a load balancing ? Or just better (in my case) to use only one link, and to use the second link as a backup link in the event the first link went down ? thanks in advance, Andrea Chi ricevesse questa mail per errore e' gentilmente pregato di cancellarla. Visitate il sito http://www.frameweb.it
Hi,> Two asterisk servers connected across the Intenet ( in SIP or IAX mode, no > matter) with both of them having static ip addresses > > Then I add a second link (with another provider), with another NIC at both > side, and again both of them having static ip addresses. > > Is there a way to tell asterisk to use both of these link, i.e. doing a > load balancing ? > > Or just better (in my case) to use only one link, and to use the second > link as a backup link in the event the first link went down ?this is a routing problem, not an asterisk one. you can do some ip policy based routing , but imho if you implement this is better to have another box between the * one and the 2 isp links that do the load balance, or the switch to the bkp isp if the first one goes down. my idea is: asterisk box(one nic) -> router(3 nics) -> isp1 -> isp2 the on router you can play with ip policy based routing or simply failover routing. cya, Matteo. -- Come to visit us @ CeBit 2006>From 9 to 15 March 2006Hall 13 Stand no. E25/1 Matteo Brancaleoni System Administrator Tel +39.02.70633354 Sip matteo@sip.voismart.it Iax2 matteo@iax.voismart.it
Have you checked http://www.voip-info.org/wiki/view/Asterisk+High+Availability+Solutions Regards, Evert asterisk@frameweb.it wrote:> Hi all, > I would like to know if there is a solution to this question. > > Scenario: > > Two asterisk servers connected across the Intenet ( in SIP or IAX mode, no > matter) with both of them having static ip addresses > > Then I add a second link (with another provider), with another NIC at both > side, and again both of them having static ip addresses. > > Is there a way to tell asterisk to use both of these link, i.e. doing a > load balancing ? > > Or just better (in my case) to use only one link, and to use the second > link as a backup link in the event the first link went down ? > > thanks in advance, > > Andrea > > > Chi ricevesse questa mail per errore e' gentilmente pregato di cancellarla. > > Visitate il sito http://www.frameweb.it > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >