VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
fdelawarde at wireless... Guest
|
Posted: Tue Oct 13, 2009 5:20 am Post subject: [Freeswitch-users] sofia gateways and linux multipath routin |
|
|
Hello all,
I'm interested in using mod_sofia with multiple Internet connections
(configured as a unique load-balancing route using multipath).
One solution would be to define a different profile for each connection,
but it would be more practical having a unique external profile that
would automatically handle everything (detecting multiple public IPs and
selecting the right one for a call, being able to select the router for
gateway registration...).
Routing table:
192.168.10.0/24 dev eth0 proto kernel scope link src 192.168.10.1
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.2
192.168.2.0/24 dev eth2 proto kernel scope link src 192.168.2.2
default proto static
nexthop via 192.168.1.1 dev eth1 weight 1
nexthop via 192.168.2.1 dev eth2 weight 1
Both default routers (192.168.1.1 and 192.168.2.1) would have a distinct
public IP.
Several questions cross my mind:
- Can a unique sofia profile be bound to multiple IPs (not 0.0.0.0)?
- How would FS behave with a unique external profile in that situation?
* Would FS reply to an incoming call using the same router it came
from forcing packet source address?
* Would FS stick to a unique router for all flows of an outgoing call
(SIP, RTP, UDPTL)?
* Can I force a gateway to use a given router (for calls,
registration, ...)?
* Would the NAT system (using stun or auto-nat) work in that
situation, or does it assume only one default router (and a unique
public IP) exists per profile?
- Knowing the above, would it be necessary to use a different profile
for each router/interface, and define the same gateway in each of these?
- Tricky question: What if multiple routers are on the same
network/interface (192.168.1.1, 192.168.1.2, ...)?
Thanks in advance,
François.
_______________________________________________
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 |
|
|
mike at jerris.com Guest
|
Posted: Mon Oct 19, 2009 8:39 am Post subject: [Freeswitch-users] sofia gateways and linux multipath routin |
|
|
You need a sofia profile for each identity, if your using multiple
external ip addresses, you will need a profile for each. If you are
using bgp or something of the sort and only using one external ip, you
can use a single profile and route using standard routing.
Mike
On Oct 13, 2009, at 6:09 AM, François Delawarde wrote:
Quote: | Hello all,
I'm interested in using mod_sofia with multiple Internet connections
(configured as a unique load-balancing route using multipath).
One solution would be to define a different profile for each
connection,
but it would be more practical having a unique external profile that
would automatically handle everything (detecting multiple public IPs
and
selecting the right one for a call, being able to select the router
for
gateway registration...).
Routing table:
192.168.10.0/24 dev eth0 proto kernel scope link src 192.168.10.1
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.2
192.168.2.0/24 dev eth2 proto kernel scope link src 192.168.2.2
default proto static
nexthop via 192.168.1.1 dev eth1 weight 1
nexthop via 192.168.2.1 dev eth2 weight 1
Both default routers (192.168.1.1 and 192.168.2.1) would have a
distinct
public IP.
Several questions cross my mind:
- Can a unique sofia profile be bound to multiple IPs (not 0.0.0.0)?
- How would FS behave with a unique external profile in that
situation?
* Would FS reply to an incoming call using the same router it came
from forcing packet source address?
* Would FS stick to a unique router for all flows of an outgoing
call
(SIP, RTP, UDPTL)?
* Can I force a gateway to use a given router (for calls,
registration, ...)?
* Would the NAT system (using stun or auto-nat) work in that
situation, or does it assume only one default router (and a unique
public IP) exists per profile?
- Knowing the above, would it be necessary to use a different profile
for each router/interface, and define the same gateway in each of
these?
- Tricky question: What if multiple routers are on the same
network/interface (192.168.1.1, 192.168.1.2, ...)?
Thanks in advance,
François.
_______________________________________________
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 |
|
|
|
|
|
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
|