Which IP do Brekeke SIP server use?

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
TmpAcct
Posts: 4
Joined: Mon Jan 26, 2009 11:36 am

Which IP do Brekeke SIP server use?

Post by TmpAcct »

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/ ... terns.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
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

Hi

Is the client running on the same computer of the SIP server?
TmpAcct
Posts: 4
Joined: Mon Jan 26, 2009 11:36 am

Post by TmpAcct »

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.
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

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
---------------------------------
TmpAcct
Posts: 4
Joined: Mon Jan 26, 2009 11:36 am

Post by TmpAcct »

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!
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

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
TmpAcct
Posts: 4
Joined: Mon Jan 26, 2009 11:36 am

Post by TmpAcct »

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!
voipwell.com
Posts: 528
Joined: Tue Sep 20, 2005 9:10 am
Location: Tannersville, Pennsylvania

Post by voipwell.com »

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
Post Reply