Posted: Thu May 28, 2009 11:35 pm Post subject: [asterisk-dev] Feature request: Ability to assign which nic
On Thu, May 28, 2009 at 4:08 AM, Kaloyan Kovachev <kkovachev@varna.net> wrote:
Quote:
If each trunk is using diferent router IP - you don't need any changes in
Asterisk, but configuring the routing on the machine.
Example:
trunk 1 uses src IP 1.1.1.1 on eth0 and router 2.2.2.2
trunk 2 uses src IP 1.1.1.2(but the same as on eth0 will also work) on eth1
and router 2.2.2.3
ip a a dev eth0 1.1.1.1
ip a a dev eth1 1.1.1.2
ip r a 2.2.2.2 dev eth0 src 1.1.1.1
ip r a 2.2.2.3 dev eth1 src 1.1.1.2
with this setup Asterisk will pickup the outgoing IP for each trunk properly
This is true, and you can of course make this dramatically more
complicated by adding more physical NICs, or virts on the same system,
or ethernet bridging techniques.
I second that you are trying to solve a solveable problem using a much
harder approach than what to me and the other poster is the obvious
solution already supported by asterisk.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum