Stephen Durr Posted March 2, 2011 Report Share Posted March 2, 2011 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? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted March 2, 2011 Report Share Posted March 2, 2011 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. Quote Link to comment Share on other sites More sharing options...
Stephen Durr Posted March 2, 2011 Author Report Share Posted March 2, 2011 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? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted March 3, 2011 Report Share Posted March 3, 2011 Looks like you just have to set the default route. Probably the OS randomly picked the wrong interface for this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.