LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   split traffic over 2 nics (https://www.linuxquestions.org/questions/linux-networking-3/split-traffic-over-2-nics-864972/)

ilvista 02-25-2011 07:10 AM

split traffic over 2 nics
 
hi
I'm running 2 asterisk box (Centos) ,and the two servers are connected through 2 iax trunks.on one server i have 2 nics ,each one is connected to internet,now i want to use isp 1 for the first trunk and isp 2 for the second trunk.
iax 1 is listening on 12345
iax 2 is listening on 11223

is there a way to split traffic on both nic using ports (netfilter iptables)?

mpapet 02-25-2011 05:58 PM

Quote:

Originally Posted by ilvista (Post 4270847)
hi
I'm running 2 asterisk box (Centos) ,and the two servers are connected through 2 iax trunks.on one server i have 2 nics ,each one is connected to internet,now i want to use isp 1 for the first trunk and isp 2 for the second trunk.
iax 1 is listening on 12345
iax 2 is listening on 11223

is there a way to split traffic on both nic using ports (netfilter iptables)?

I consulted the Magic 8 ball and it replied "most likely." Is it worth the complexity? No. Future changes would be very, very complicated.


All times are GMT -5. The time now is 10:40 PM.