<div dir="ltr">We face similar issues, we had 1 * server per VLAN, where each * had the same IP address, we achieve this with NAT.<div><br></div><div>                             <----> Asterisk 1 </div><div>                             <----> Asterisk 2</div><div>SIP LB <---> NAT <----> Asterisk 3</div><div><br></div><div>Your NAT device needs to be SIP aware, in our case we use Cisco ASA appliance device/ I know there is a ASA virtual device now which runs in VMware. </div><div><br></div><div>Hope it helps</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 12, 2017 at 4:02 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Mar 12, 2017 at 10:48:37PM +0100, przeqpiciel wrote:<br>
<br>
> Thank you for your respond. Obviously, I could set a port range per<br>
> instance of Asterisk but I though about something more dynamic. But when I<br>
> think on it more deep there is no any other solution.<br>
<br>
</span>Trying to run concurrent instances of something like Asterisk on a<br>
single host is very challenging for this, among other reasons.<br>
<br>
I recommend containerisation of some sort, e.g. OpenVZ. Give it a very<br>
lightweight "host" environment of its own, with distinct networking.<br>
Then the full range of ports will be available to every instance.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Alex Balashov | Principal | Evariste Systems LLC<br>
<br>
Tel: <a href="tel:%2B1-706-510-6800" value="+17065106800">+1-706-510-6800</a> / <a href="tel:%2B1-800-250-5920" value="+18002505920">+1-800-250-5920</a> (toll-free)<br>
Web: <a href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div></div></blockquote></div><br></div>