Bindaddr=0.0.0.0 Doesnt work?


#1

I have two servers, one running Centos3 and one running Centos4. Both of them have two IPs on one NIC. If I use 0.0.0.0 for Bindaddr, Asterisk only allows connections on the Primary IP. If I specify the Secondary IP for Bindaddr, it allows connections on the Secondary IP.

Does this mean that 0.0.0.0 doesnt work? Or is there some hidden config I have yet to locate? :wink:

I have started Asterisk with both IPs up and tried connecting to both with Bindaddr commented out. It only works on Primary.

;Bindaddr=0.0.0.0 <-- Doesnt work
Bindaddr=0.0.0.0 <-- Doesnt work
Bindaddr=192.168.0.101 <-- Works fine

I need to have two IPs on the Asterisk server and connections coming in to both. Anyone have any ideas?