Page 1 of 1

Multiple extern ip

PostPosted: Fri Nov 22, 2013 9:59 pm
by Yamazaki
I installed and configured the goautodial server 2.1, all work perfect
Prob that i have 3 gateways ( routers adsl lines )
1- 192.168.0.1
2-192.168.0.2
3- 192.168.0.3
I want to know how to use them simultane, ant configuration on sip or route ?? Coz now i use only 1 gw 192.1 and work.

Re: Multiple extern ip

PostPosted: Sun Nov 24, 2013 12:16 am
by williamconley
As a rule that is far outside the realm of the Vicidial forums. You COULD purchase a multi-cast capable router (so the router would be a single gateway, but would utilize multiple networks to send/receive packets).

To do this with your Vicidial server, your problem is that you'll need to determine which traffic belongs on which gateway. IE: If you have three carriers, you could configure your server's network (not related to vicidial, the OS networking package) to send packets to one carrier on 0.1 and a second carrier on 0.2 and a third carrier on 0.3, thus spreading your packets among the three gateways based on carrier usage. In each case, the networking system would be given the instructions that "packets for IP XX.xx.XX.xx go to this gateway" or "packets for network yy.yy.yy.yy/ZZ".

Otherwise, you have to understand that the ability to "load balance" across multiple dsl lines is not actually something I've even heard of being done (would be fun to try, but no time for that right now, LOL). You may have much more luck on a networking forum for the operating system you're on (CentOS) or just linux networking packages in general. If you get some hints, bring them back and perhaps we can help you incorporate them into your system.

I *do* know that one method is to move the Vicidial server to an external location with better internet, and use the multiple DSL Lines to gain access to vicidial with a few agents on each DSL until each one fills up. We've had several rooms use this technique to use our Colocation facility to maximize their local bandwidth. You would locate your server in an external colo (like ours, which has Lots of Bandwidth available, the main purpose of colocation facilities), and then each agent need only connect to that server. Then the server (with lots of bandwidth available), can connect to the world (and even multiple call center locations ... which it will connect into a single Vicidial instance!)

About 100k is required per agent to get from your DSL location to the Vicidial server in this situation, uncompressed. You can usually double it with compression but then you have to pay up front for the Codec g729 to be installed or try gsm which is free but not as good at compression.

Re: Multiple extern ip

PostPosted: Wed Nov 27, 2013 9:27 pm
by Yamazaki
Thanks for u detailled reply, is pfsense balancing wan a right solution??

Re: Multiple extern ip

PostPosted: Wed Nov 27, 2013 10:01 pm
by williamconley
To date we have only had ONE client use pfsense and actually make it "work" happily.

And we had to configure pfsense for them.

However, we have had a rather large quantity of clients who believed they had huge problems (trying for days to get their systems to work ...) and as soon as I told them to remove pfSense and use a generic router, everything worked perfectly.

That being said: pfSense is a powerful and relatively easy to use firewall system. But ... I'm not going to recommend it for any Vicidial installations unless you have the ability to remove it and replace it with something generic (for testing at least) easily. Just in Case.

I presume you were referring to using pfSense to manage multiple ISP connections to maximize your networking throughput (similar to bonding multiple connections ...)?

Re: Multiple extern ip

PostPosted: Thu Nov 28, 2013 7:25 pm
by Yamazaki
good, which router u recommand for me ? Easy to configure ?

Re: Multiple extern ip

PostPosted: Sat Nov 30, 2013 8:28 pm
by williamconley
Anything but Belkin. (No joke)

Consumer grade is usually just fine until you exceed 100 agents. Don't get a monster Cisco that has a compicated configuration method. If it does not have a web interface on the local network ... you likely need certification to configure it! Beware.

I do not, however, recommend the Vicidial server be connected through a router. Our usual recommendation is that you have at least two IP addresses from your ISP. Connect Vicidial to one of them and a router to the other.

Then you put two network cards in the Vicidial server. One will have this external IP in it, and the other will have a local IP address for agents to get to the server locally.

Then you put a whitelist firewall on the Vicidial system to secure it. Iptables with Dynamic Good Guys if you want easy management, but just iptables purely as a white list for a simple installation ... instructions are in the Dynamic Good Guys published installation instructions for either version. For simple whitelist ... stop when you get to the DGG install (lockdown occurs before DGG installation).

The result of this configuration is agents with full speed, uninterruptible access to the Vicidial server and Vicidial ONLY visible to local agents, carriers and other "known good IPs". No one except whitelisted IPs will have any access to the server at all.