I’ve been looking at this subject for some time with no joy. I’d really like to get to a success on this with this post.
My objective: have multiple wan links serving my asterisk
What for: clients can register from one or the other link, to load balance, and possibly fail over. Minimlal functionality would be assigning specific customers to a specific nic (I have customer with their own VPN that want to provide their own link to my server)
My setup: asterisk running on a dell with 4 NIC, each of them NATed (192.168.0.x, .1.x, etc…) and a public IP.
So far… ETH0 is the main nic. externip is set to its public IP. Any customer registering through this IP gets service (signalling & media). When they send REGISTER through ETH1 public address, the packet reaches asterisk, but asterisk replies using ETH0. I’ve tried to play with ip rules / ip route tables, no joy.
So, assuming minimal functionality: assign customers to certain public IP, hence, NIC, what do I need to do to have multiple wan links on my asterisk ?
external router ? external proxy ? has anyone succeeded in doing this ? how ?
thanks for the help - if you want to point me to some googling, I’ve done a lot of it, I’d appreciate if you could be specific !