Jump to content

Dual LAN Setup


Stephen Durr

Recommended Posts

We're trying to get a Snom One server setup and we have an interesting dilemma. The server has 2 NIC's, one for our LAN and the other for SIP trunks. Our provider brings us Internet and SIP on fiber, each on a separate port. The SIP port has a private address of 10.0.0.0/30 which is fine. But the return SIP traffic has to go back through the private network and the return address is 24.0.0.0. The problem is that the Snom box will not send the return traffic through the private NIC but instead it routes it out through the LAN NIC. I've tried IP replacement to no avail. anybody have any suggestions?

Link to comment
Share on other sites

You have to make sure that the operating system has the right IP routing setup. "route print" is your friend here. The OS sometime chooses kind of random routes, which make life difficult. But once that you have routable IP addresses and the routing is right, it should be working smoothly. Routable IP addresses don't have to be public, as long as every associated party is able to "ping" the PBX directly without NAT port forwarding tricks.

Link to comment
Share on other sites

You have to make sure that the operating system has the right IP routing setup. "route print" is your friend here. The OS sometime chooses kind of random routes, which make life difficult. But once that you have routable IP addresses and the routing is right, it should be working smoothly. Routable IP addresses don't have to be public, as long as every associated party is able to "ping" the PBX directly without NAT port forwarding tricks.

 

Let's say that the PBX on the LAN side had an IP of 192.168.123.4/24 and a gateway og 192.168.123.1/24. The second NIC on the PBX (and the NIC the SIP traffic has to go back to) has an IP of 10.36.1.18/30. If the return SIP traffic has to go through the gateway on the 30 network back to say 24.96.139.160, what route would you add?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...