Hello, I have some problems running a FreeSWITCH with endpoints located in different subnets. For example a FS is listening at 192.168.50.14/32 and endpoints from the same (192.168.50.0/24) subnet work as expected. But when I try to receive a media from an endpoint located at different subnet, let's say 192.168.60.0/24 the RTP stream cannot be bridged. FS sends an INVITE message asking endpoint to send media to external interface. Can anyone give me a hint where to look on how to overcome such behavior? Kind Regards, Andrey Nepomnyaschih
Maybe your router isn't really a router and is doing NAT behind NAT? Need logs and sip traces because we would only be guessing at this point. /b On Sep 29, 2009, at 10:52 AM, Andrey Nepomnyaschih wrote:
Hello,
I have some problems running a FreeSWITCH with endpoints located in different subnets. For example a FS is listening at 192.168.50.14/32 and endpoints from the same (192.168.50.0/24) subnet work as expected. But when I try to receive a media from an endpoint located at different subnet, let’s say 192.168.60.0/24 the RTP stream cannot be bridged. FS sends an INVITE message asking endpoint to send media to external interface.
Can anyone give me a hint where to look on how to overcome such behavior?
Kind Regards, Andrey Nepomnyaschih
Hello Brian, I don't think there is NAT relation between these two subnets (192.168.50/24 and 192.168.60/24) because hosts that reside inside 192.168.60/24 are accessible from 192.168.50/24. I've attached a sofia_trace.zip file with output with sofia loglevel all 9 enabled. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Tuesday, September 29, 2009 8:04 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Multiple Subnets Maybe your router isn't really a router and is doing NAT behind NAT? Need logs and sip traces because we would only be guessing at this point. /b On Sep 29, 2009, at 10:52 AM, Andrey Nepomnyaschih wrote: Hello, I have some problems running a FreeSWITCH with endpoints located in different subnets. For example a FS is listening at 192.168.50.14/32 and endpoints from the same (192.168.50.0/24) subnet work as expected. But when I try to receive a media from an endpoint located at different subnet, let's say 192.168.60.0/24 the RTP stream cannot be bridged. FS sends an INVITE message asking endpoint to send media to external interface. Can anyone give me a hint where to look on how to overcome such behavior? Kind Regards, Andrey Nepomnyaschih
On Tue, Sep 29, Andrey Nepomnyaschih wrote:
Hello,
I have some problems running a FreeSWITCH with endpoints located in different subnets. For example a FS is listening at 192.168.50.14/32 and endpoints from the same (192.168.50.0/24) subnet work as expected. But when I try to receive a media from an endpoint located at different subnet, let's say 192.168.60.0/24 the RTP stream cannot be bridged. FS sends an INVITE message asking endpoint to send media to external interface.
Can anyone give me a hint where to look on how to overcome such behavior?
Are we talking about different interfaces, physical or virtual? If so you must use separate profiles for each. If not then set the netmask on the interface to /16. --FC
Hello Frank, There is only one interface on FS box, it has an IP address 192.168.50.14/24 and the 192.168.60/24 is accessible through 192.168.50.3. Correct me if I'm wrong, but if I set the mask to be /16, then 192.168.60/24 will be unreachable from FS as it will be treated at local connected network. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Frank Carmickle Sent: Tuesday, September 29, 2009 8:08 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Multiple Subnets On Tue, Sep 29, Andrey Nepomnyaschih wrote:
Hello,
I have some problems running a FreeSWITCH with endpoints located in different subnets. For example a FS is listening at 192.168.50.14/32 and endpoints from the same (192.168.50.0/24) subnet work as expected. But when I try to receive a media from an endpoint located at different subnet, let's say 192.168.60.0/24 the RTP stream cannot be bridged. FS sends an INVITE message asking endpoint to send media to external interface.
Can anyone give me a hint where to look on how to overcome such behavior?
Are we talking about different interfaces, physical or virtual? If so you must use separate profiles for each. If not then set the netmask on the interface to /16. --FC _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Tue, Sep 29, Andrey Nepomnyaschih wrote:
Hello Frank,
There is only one interface on FS box, it has an IP address 192.168.50.14/24 and the 192.168.60/24 is accessible through 192.168.50.3. Correct me if I'm wrong, but if I set the mask to be /16, then 192.168.60/24 will be unreachable from FS as it will be treated at local connected network.
You are correct. So I guess we'll wait for Brian to look at the trace to see what your router is doing with the bits. If you have access to the router maybe having a look at it's configuration may show you what is the issue. --FC
Yeah, I've been working with Network Admin on this issue, and he says that the router simply routes the packets without doing any translation stuff. Although he couldn't answer where exactly the RTP stream is going to, so we agreed to switch from one software to another tomorrow and see if makes any difference. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Frank Carmickle Sent: Tuesday, September 29, 2009 8:53 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Multiple Subnets On Tue, Sep 29, Andrey Nepomnyaschih wrote:
Hello Frank,
There is only one interface on FS box, it has an IP address 192.168.50.14/24 and the 192.168.60/24 is accessible through 192.168.50.3. Correct me if I'm wrong, but if I set the mask to be /16, then 192.168.60/24 will be unreachable from FS as it will be treated at local connected network.
You are correct. So I guess we'll wait for Brian to look at the trace to see what your router is doing with the bits. If you have access to the router maybe having a look at it's configuration may show you what is the issue. --FC _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
No luck. These networks (192.168.50/24 and 192.168.60/24) are now connected through another transit network (10.15.118.252/30) without using any firewall or tunneling software. But FS still asks that endpoint to send RTP media to external IP address and I'm really lost with this problem. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Andrey Nepomnyaschih Sent: Tuesday, September 29, 2009 9:19 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Multiple Subnets Yeah, I've been working with Network Admin on this issue, and he says that the router simply routes the packets without doing any translation stuff. Although he couldn't answer where exactly the RTP stream is going to, so we agreed to switch from one software to another tomorrow and see if makes any difference. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Frank Carmickle Sent: Tuesday, September 29, 2009 8:53 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Multiple Subnets On Tue, Sep 29, Andrey Nepomnyaschih wrote:
Hello Frank,
There is only one interface on FS box, it has an IP address 192.168.50.14/24 and the 192.168.60/24 is accessible through 192.168.50.3. Correct me if I'm wrong, but if I set the mask to be /16, then 192.168.60/24 will be unreachable from FS as it will be treated at local connected network.
You are correct. So I guess we'll wait for Brian to look at the trace to see what your router is doing with the bits. If you have access to the router maybe having a look at it's configuration may show you what is the issue. --FC _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Its because your local-network-acl doesn't include that other network please correct that and it'll work. /b On Sep 30, 2009, at 10:57 AM, Andrey Nepomnyaschih wrote:
No luck.
These networks (192.168.50/24 and 192.168.60/24) are now connected through another transit network (10.15.118.252/30) without using any firewall or tunneling software. But FS still asks that endpoint to send RTP media to external IP address and I'm really lost with this problem.
Thanks. That did the trick and now FS sends the correct address. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, September 30, 2009 7:11 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Multiple Subnets Its because your local-network-acl doesn't include that other network please correct that and it'll work. /b On Sep 30, 2009, at 10:57 AM, Andrey Nepomnyaschih wrote:
No luck.
These networks (192.168.50/24 and 192.168.60/24) are now connected through another transit network (10.15.118.252/30) without using any firewall or tunneling software. But FS still asks that endpoint to send RTP media to external IP address and I'm really lost with this problem.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Wed, Sep 30, Andrey Nepomnyaschih wrote:
No luck.
These networks (192.168.50/24 and 192.168.60/24) are now connected through another transit network (10.15.118.252/30) without using any firewall or tunneling software. But FS still asks that endpoint to send RTP media to external IP address and I'm really lost with this problem.
Please show us your config. Vars.xml and your sofia profiles. --FC
participants (3)
-
Andrey Nepomnyaschih
-
Brian West
-
Frank Carmickle