Author |
Message |
TmpAcct Brekeke Newbie
Joined: 26 Jan 2009 Posts: 4
|
Posted: Mon Jan 26, 2009 11:53 am Post subject: Which IP do Brekeke SIP server use? |
|
|
1. Brekeke Product Name and version: Version 2.2.6.2
2. Java version: Java 6 update 5
3. OS type and the version: Windows Server 2003 w/SP2
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html : Pattern 4
6. Your problem:
My Server has 6 IPs assigned to the server's NIC:
192.168.10.10
192.168.10.11
192.168.10.12
192.168.10.13
192.168.10.14
192.168.10.15
IP 192.168.10.12 is assigned to the Interface as primary and the rest are added by using the 'add' button.
In version 2.1.x, when our SIP clients connected to the SIP server, they used the primary IP (192.168.10.12) to send RTP traffic; however, once we upgraded SIP Server to 2.2.6.2, our SIP clients use the first IP in the range which is 192.168.10.10 to send RTP traffic. I tried to hard-code the IP 192.168.10.12 to the 'Interface address 1' field in the SIP server, but it still doesn't work.
So how do we configured it so the SIP server would use only the IP we specified?
Thanks!
TA |
|
Back to top |
|
lakeview Brekeke Master Guru
Joined: 15 Nov 2007 Posts: 319
Location: Florida
|
Posted: Tue Jan 27, 2009 12:42 pm Post subject: |
|
|
Hi
Is the client running on the same computer of the SIP server? |
|
Back to top |
|
TmpAcct Brekeke Newbie
Joined: 26 Jan 2009 Posts: 4
|
Posted: Tue Jan 27, 2009 3:43 pm Post subject: |
|
|
No, SIP clients are on different machines.
I just want to use ONLY one IP to do all the SIP related stuff although the SIP server's NIC has multiple IPs. |
|
Back to top |
|
lakeview Brekeke Master Guru
Joined: 15 Nov 2007 Posts: 319
Location: Florida
|
Posted: Wed Jan 28, 2009 6:13 pm Post subject: |
|
|
Add the variables below in the [Configuration] > [Advanced] page.
---------------------------------
net.bind.interface=192.168.10.12
net.net1.interface=192.168.10.12
net.net1.interface-restrict=192.168.10.10
net.net2.interface-restrict=192.168.10.11
net.net3.interface-restrict=192.168.10.13
net.net4.interface-restrict=192.168.10.14
net.net5.interface-restrict=192.168.10.15
--------------------------------- |
|
Back to top |
|
TmpAcct Brekeke Newbie
Joined: 26 Jan 2009 Posts: 4
|
Posted: Wed Jan 28, 2009 6:51 pm Post subject: |
|
|
Thanks you very much!
Before I try it, I want to fully understand the following lines:
net.net1.interface-restrict=192.168.10.10
net.net2.interface-restrict=192.168.10.11
net.net3.interface-restrict=192.168.10.13
net.net4.interface-restrict=192.168.10.14
net.net5.interface-restrict=192.168.10.15
Since I only have 1 physical network interface but assigned multiple IPs, should I use net.net1.interface-restrict for all the IP addresses?
Like the lines below?
net.net1.interface-restrict=192.168.10.10
net.net1.interface-restrict=192.168.10.11
net.net1.interface-restrict=192.168.10.13
net.net1.interface-restrict=192.168.10.14
net.net1.interface-restrict=192.168.10.15
Thanks! |
|
Back to top |
|
lakeview Brekeke Master Guru
Joined: 15 Nov 2007 Posts: 319
Location: Florida
|
Posted: Fri Jan 30, 2009 1:12 pm Post subject: |
|
|
Hi TmpAcct
>> Since I only have 1 physical network interface but assigned multiple IPs, should I use net.net1.interface-restrict for all the IP addresses?
No.
You need to define the restrictions like a following.
net.net1.interface-restrict=192.168.10.10
net.net2.interface-restrict=192.168.10.11
net.net3.interface-restrict=192.168.10.13
net.net4.interface-restrict=192.168.10.14
net.net5.interface-restrict=192.168.10.15 |
|
Back to top |
|
TmpAcct Brekeke Newbie
Joined: 26 Jan 2009 Posts: 4
|
Posted: Tue Mar 03, 2009 12:27 pm Post subject: |
|
|
Thank You!
I tried it the same way you showed me above; however, my SIP Server now stopped working. It doesn't start.
Error message:
"Can not open the listen port. Try restarting the machine."
I restarted the machine, but it still doesn't work.
Thanks! |
|
Back to top |
|
voipwell.com Partner PBX
Joined: 20 Sep 2005 Posts: 528
Location: Tannersville, Pennsylvania
|
Posted: Tue Mar 03, 2009 4:45 pm Post subject: |
|
|
Lakeview is correct with the the suggestion to use bind and restrict. I would suggest that you leave off the bind and try again and then start deleting the restricts one by one to see the behaviour.
Nick |
|
Back to top |
|
|