Routing calls to different (external) nics

moljac

Joined
Jul 17, 2009
Messages
1
Likes
0
Points
0
#1
Hi

In order to save come money customer decided to run 1 asterisk server (plain old asterisk,
Trixbox, Elastix) for several smaller companies. Due to the fact that one VoIP service
provider does billing based on source IP address of the IP PBX the question came up regarding
routing (I belive this would be layer 5 routing):

Let say we have two internal subnets sn1=192.168.1.0/24 and sn2=192.168.2.0/24 and
two external IP addresses (on physical or virtual nics) ip1 on eth1 (eth1:0) and ip2
on eth2 (eth1:1).

Is it possible to route calls from certain internal subnet sn1 to specific external
(outgoing) network interface eth1 (eth1:0) with ip1 so that provider can distinguish
internal "company"?


What would be solutions:
1. trunk setup
2. routing (static routes) I would kindly ask You for sample
3. virtualization


Thanks and best regards

mel
 

gmonsalvo

Joined
Aug 5, 2008
Messages
8
Likes
0
Points
0
#2
Hi! maybe some ideas thats come to me helps you:
In the Elastix side:
there is a chapter in the book Elastix without tears about Multi-Tenants this involves the use of the module FreePBX custom-contexts.
In the router side: you could make routing based policy to route the connection over the two nics more info at
http://lartc.org/

I hope this helps you.
Gabriel.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,898
Messages
130,879
Members
17,560
Latest member
manuelc
Top