Dual Asterisk instances with dual NIC's

Hi.

I want to run dual NIC’s, one to public Internet and one to our internal network (not private).
I then want to run dual instances of Asterisk and have them each use a unique set of .conf files.

How do I do this?

I assume I must bind the port in sip.conf to whatever IP each NIC has. But what about outgoing calls? I do not use “registration”. How does Asterisk know that instance 2 is for NIC 2? Maybe the binding works on the outbound path as well?

Rgds

PAtrick Arkley
patrick@arkley.se

forums.digium.com/viewtopic.php?p=61204#61204

Only way this is really possible at this time is using virt machines like VMWare or something