[asterisk-users] Binding asterisk to two static IPs

Dale Noll dnoll at wi.rr.com
Thu Oct 13 11:46:42 CDT 2011


On 10/13/2011 10:53 AM, georg at riseup.net wrote:
>
> Just tested this, doesn't work. Asterisk ist still replying using the
> main-address associated to the NIC.
>

In a previous posting, Jim Lucas proposed...

--- snip ---
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

--- snip ---
This has two different subnets for eth0 and eth1.
Do you have different IP subnets for eth0 and eth0.42?
If you do, I do not know the reason for the problem.

Perhaps you could post the output of:
/sbin/ifconfig -a
/bin/netstat -rn




More information about the asterisk-users mailing list