Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I currently have added another ISP to our Data Center and have decided to setup an additional ethernet alias on our Trixbox for the 2nd ip address of our new provider. From what I have read you can just edit the sip_general_custom.conf file and add the following information:

bindport = 5060 ; Port to bind to (SIP is 5060)

bindaddr = ; Address to bind to (all addresses on machine)**

I cannot find anything else on Freepbx site besides this so I am just asking if this is the correct way to bind 2 ip address to Trixbox. I of course have also setup an additional A record for the new provider in case you ask.

share|improve this question
The bigger question you have to probably figure out is how will you deal with routing. If you adding a second address from a different range what are you going to do to make the sure the correct gateway is selected. – Zoredache Jul 28 '10 at 18:47
Will for the gateway you config the adapter. My question more or less I guess is how to setup SIP, my bad for not making that more pronounced. I have a data center with some Linux boxes with 15 eth aliases with different providers I can handle the network part per say but the sip config I am not sure of. You have to tell Trixbox how to listen to multiple ip's and so I am just validating the how to...Thanks for your response. – Digital Sniper Jul 29 '10 at 10:18

Yes you are correct. Once you define as the listener, then trixbox will listen on both interface IP addresses for incoming connections.

This is the default behaviour. It is actually the opposite option that you would need to change the config. If you had two interfaces and only wanted to listen on one, then you would update bindaddr to have the specific IP address you wanted to listen on.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.