[asterisk-users] Binding asterisk to two static IPs

Jim Lucas lists at cmsws.com
Wed Oct 12 18:05:46 CDT 2011


On 10/12/2011 3:55 PM, georg at riseup.net wrote:
>> After reading your original message, this is clear, yes. Sorry for being
>> sloppy.
> 
> np ;)
> 
> Anyone else?
> Would be really really great...
> 

I solved it by having two physical connections to my network.

PBX E0 IP 192.168.100.36
       NM 255.255.255.0
       GW 192.168.100.1
    E1 IP 192.168.101.254
       NM 255.255.255.0
       GW n/a

All the phones reside withing the 192.168.101.0/24 network.

I still have bindaddr=0.0.0.0 so I can talk to my provider and my phones.  But
on two different interfaces.  That forces the communication to always come from
the correct source IP addr.

-- 
Jim Lucas

http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/

C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219



More information about the asterisk-users mailing list