<div dir="ltr">On Sat, Mar 16, 2013 at 2:17 AM, Roberto Aloi <span dir="ltr"><<a href="mailto:prof3ta@gmail.com" target="_blank">prof3ta@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div><div>I have an EC2 instance running inside a VPC. I need to run a service inside a LXC container started in that instance and to make the service available to the outside world.</div>
</div></div></blockquote><div><br></div><div style>Short version: don't bother</div><div style><div><br></div><div>I'm pretty sure EC2 only allows one IP address, so you can't arbitrarily use another one, even on the same segment.</div>
<div><br></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>
The problem here is that I cannot reach the LXC container, which has IP address `10.0.3.2`:</div><div><br></div><div> user@ip-10-0-67-62:~$ ping 10.0.3.2</div>
<div> PING 10.0.3.2 (10.0.3.2) 56(84) bytes of data.</div><div> From 10.0.67.62 icmp_seq=1 Destination Host Unreachable</div><div> ...</div><div><br></div><div>Any hint or suggestion on how to debug this would be much appreciated.</div>
<span class=""><font color="#888888">
<div><br></div></font></span></div></div></blockquote><div><br></div><div><br></div><div style><br></div><div style>In your case however, I'd examine the output of "netstat -nr" and "brctl show". The ping packets should've been sent from 10.0.3.1 (the bridge), so it's odd that 10.0.67.72 complains about "Destination Host Unreachable". At first glance that indicates routing or interface setup error on your bridge.</div>
<div style><br></div><div style>-- </div><div style>Fajar</div></div></div></div>