Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Multiple Subnets


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
nas at nas.lv
Guest





PostPosted: Tue Sep 29, 2009 12:19 pm    Post subject: [Freeswitch-users] Multiple Subnets Reply with quote

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
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Sep 29, 2009 12:27 pm    Post subject: [Freeswitch-users] Multiple Subnets Reply with quote

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:
Quote:
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

Back to top
frank at carmickle.com
Guest





PostPosted: Tue Sep 29, 2009 12:32 pm    Post subject: [Freeswitch-users] Multiple Subnets Reply with quote

On Tue, Sep 29, Andrey Nepomnyaschih wrote:
Quote:
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
Back to top
nas at nas.lv
Guest





PostPosted: Tue Sep 29, 2009 12:54 pm    Post subject: [Freeswitch-users] Multiple Subnets Reply with quote

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
Back to top
nas at nas.lv
Guest





PostPosted: Tue Sep 29, 2009 1:01 pm    Post subject: [Freeswitch-users] Multiple Subnets Reply with quote

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:
Quote:
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

_______________________________________________
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
Back to top
frank at carmickle.com
Guest





PostPosted: Tue Sep 29, 2009 1:32 pm    Post subject: [Freeswitch-users] Multiple Subnets Reply with quote

On Tue, Sep 29, Andrey Nepomnyaschih wrote:
Quote:
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
Back to top
nas at nas.lv
Guest





PostPosted: Tue Sep 29, 2009 1:40 pm    Post subject: [Freeswitch-users] Multiple Subnets Reply with quote

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:
Quote:
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Sep 30, 2009 11:18 am    Post subject: [Freeswitch-users] Multiple Subnets Reply with quote

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:

Quote:
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
Back to top
nas at nas.lv
Guest





PostPosted: Wed Sep 30, 2009 11:20 am    Post subject: [Freeswitch-users] Multiple Subnets Reply with quote

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:
Quote:
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

_______________________________________________
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
Back to top
frank at carmickle.com
Guest





PostPosted: Wed Sep 30, 2009 11:30 am    Post subject: [Freeswitch-users] Multiple Subnets Reply with quote

On Wed, Sep 30, Andrey Nepomnyaschih wrote:
Quote:
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

_______________________________________________
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
Back to top
nas at nas.lv
Guest





PostPosted: Wed Sep 30, 2009 11:54 am    Post subject: [Freeswitch-users] Multiple Subnets Reply with quote

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:

Quote:
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

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services