bar top left
bar top right
left curve
right curve
Welcome, Guest

Routing Traffic between two ISPs - 2 NICs
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Routing Traffic between two ISPs - 2 NICs
#44724
Routing Traffic between two ISPs - 2 NICs 2 Years, 3 Months ago Karma: 0
Hi,

I have a new elastix setup which acts as a complete communications server. Since the elastix server is on 24/7 I have also installed torrentflux for downloading torrents etc. The current problem is since elastix runs emails, torrents and also phone sip trunks, the internet connection is utilized to the maximum and when a voip / sip call is taking place, it breaks up due to the lack of bandwidth for the call. The primary purpose of the elastix server is lost when call quality is suffering due to to other apps utilizing the badnwidth with very little for phone / voip service.

What I have done is I have taken 2 Internet connections from 2 ISPs and want to dedicate one ISP for the voip/phon service where as use the 2nd ISP connection for torrentflux and other apps. I have installed 2 NICs on the elastix server which are conencted to 2 different routers form 2 different ISPs.

I want to be able to route voice traffic from the 1st NIC (ISP 1) and the the torrent and other traffic via 2nd NIC (ISP 2). Please let me know how I can go about doing this. I have webmin installed. If there is an easy to use GUI to do the same I can also install it. Though would have to install X windows too with minimal installtion.

The setup is as follows:

---------- --------- ------------ ------------------
|Internet|---| ISP 1 |-<--| Router 1 |-<--| Network Card 1 |--<---
---------- --------- ------------ ------------------ |
192.168.2.1 192.168.2.100 |
-----------
| ELASTIX |
| SERVER |
-----------
|
---------- --------- ------------ ------------------ |
|Internet|---| ISP 2 |-<--| Router 2 |-<--| Network Card 2 |--<---
---------- --------- ------------ ------------------
192.168.3.1 192.168.3.100

Summary:
Want to route Voip traffic via Network Card 1 and Torrent traffic via Network Card 2.


Thanks,
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
husaints
Fresh Boarder
Posts: 45
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#44788
Re:Routing Traffic between two ISPs - 2 NICs 2 Years, 3 Months ago Karma: 39
You can do that with iptables, but is not very simple. Maybe you can install a machine that act as a router and install something like ebox or endean (those are similar to Elastix but for firewalls. )

regards,

Rafael
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
rafael
Free Software is all about freedom
Developer
Posts: 1458
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Elastix Location: Ecuador Birthday: 10/11
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: Bob, jgutierrez
Protected by Spam Fighter