My asterisk machine has 2 nic's. One nic (ETH0) is connected to a cable modem. The other nic (ETH1) is connected to an internal lan. The internal lan also has access to the internet. The cable service, Time-Warner RoadRunner, is great when up, but is not reliable. And sip connections are excellent. The connection through the internal lan (Verizon DSL) is reliable but lousy. Sigh. When the cable is down, the interface connection to the cable modem stays up. An ifconfig shows ETH0 as up. The only way to tell is to ping an outside address. I thought of bonding. But that won't work since it will see ETH0 as up, even if the cable service is down. Is there a way to implement network failover that actually checks for true internet connection? This way I can keep my sip connection up, even if degraded. sean
Sherwood McGowan
2010-Oct-29 06:01 UTC
[asterisk-users] How to have failover sip interface?
On Sun, Oct 24, 2010 at 12:02 PM, sean darcy <seandarcy2 at gmail.com> wrote:> My asterisk machine has 2 nic's. One nic (ETH0) is connected to a cable > modem. The other nic (ETH1) is connected to an internal lan. The > internal lan also has access to the internet. > > The cable service, Time-Warner RoadRunner, is great when up, but is not > reliable. And sip connections are excellent. The connection through the > internal lan (Verizon DSL) is reliable but lousy. Sigh. > > When the cable is down, the interface connection to the cable modem > stays up. An ifconfig shows ETH0 as up. The only way to tell is to ping > an outside address. > > I thought of bonding. But that won't work since it will see ETH0 as up, > even if the cable service is down. > > Is there a way to implement network failover that actually checks for > true internet connection? This way I can keep my sip connection up, even > if degraded. > > sean > > > > -- > _____________________________________________________________________ > -- 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 >To be honest, I'm not sure Asterisk could do that, but I could be wrong. I've tried to fool with multiple interfaces in the past and as I recall Asterisk can only bond to 1 interface. However, if anyone else knows different I'd LOVE to find that they changed that :D