<p dir="ltr">You lost me at AWS.</p>
<p dir="ltr">--Skyler</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Sep 16, 2016 3:47 AM, "Barry Flanagan" <<a href="mailto:barry@flanagan.ie">barry@flanagan.ie</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>We are trying to move our SPCE dev platform to AWS. It works fine for external endpoints out of the box, using the advertised_address for the main interface.</div><div><br></div><div>However, we also have some other endpoints in the same VPC and I can't get SPCE to not used the advertised_ip when it is communicating with the VPC-internal endpoints - it always advertises its elastic IP.</div><div><br></div><div>I have created a second, eth1 interface for use with the VPC hosts, and my network.yml is as follows:</div><div><br></div><div><div>    eth0:</div><div>      advertised_ip:</div><div>        - <My Elastic IP></div><div>      ip: 172.31.24.242</div><div>      netmask: 255.255.240.0</div><div>      type:</div><div>        - web_ext</div><div>        - sip_ext</div><div>        - rtp_ext</div><div>        - web_int</div><div>        - ssh_ext</div><div>    eth1:</div><div>      ip: 172.31.58.136</div><div>      netmask: 255.255.240.0</div><div>      type:</div><div>        - web_ext</div><div>        - sip_ext</div><div>        - rtp_ext</div><div>        - web_int</div><div>        - ssh_ext</div><div>    interfaces:</div><div>      - lo</div><div>      - eth0</div><div>      - eth1</div><div><br></div><div><br></div><div>SPCE is communicating with the VPC hosts over eth1 as expected, but it is advertising the Elastic IP instead of 172.31.58.136. I tried adding an advertised_ip of 172.31.58.136 to eth1 as well to force it, but no go.</div><div><br></div><div>If I were able to specify a hostname in advertised_ip I could make it work by manipulating DNS, but this does not seem to work as rtpengine complains "Invalid interface specification: ext"</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div><div>-Barry Flanagan<br><br><br><br><br><br></div></div>
</div></div>
<br>______________________________<wbr>_________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/<wbr>listinfo/spce-user</a><br>
<br></blockquote></div></div>