<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div><span class="Apple-tab-span" style="white-space:pre">   </span>I think you just have to add a dns-nameserver on the private network. Like 8.8.8.8 .</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span class="Apple-tab-span" style="white-space:pre">    </span>I hope it helps.</div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Yongsheng Gong <gongysh@unitedstack.com><br> <b><span style="font-weight: bold;">To:</span></b> OpenStack Development Mailing List
 <openstack-dev@lists.openstack.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, September 27, 2013 2:15 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [openstack-dev] VM instances Can not connect to external<br> </font> </div> <div class="y_msg_container"><br><div id="yiv1221726707"><div dir="ltr">have u enable the port interface of br-ex? For example ifconfig eth1 up</div><div class="yiv1221726707gmail_extra"><br><br><div class="yiv1221726707gmail_quote">On Fri, Sep 27, 2013 at 7:26 PM, Jeff Cai <span dir="ltr"><<a rel="nofollow" ymailto="mailto:Jeff_Cai@symantec.com" target="_blank" href="mailto:Jeff_Cai@symantec.com">Jeff_Cai@symantec.com</a>></span> wrote:<br>
<blockquote class="yiv1221726707gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US"><div><div class="yiv1221726707MsoNormal"><span style="font-size:11.0pt;color:#1f497d;">I did all that the doc tells me to do, which includes<u></u><u></u></span></div>
<div class="yiv1221726707MsoNormal"><span style="font-size:11.0pt;color:#1f497d;">setting up a bridge in the network node.<u></u><u></u></span></div><div class="yiv1221726707MsoNormal"><span style="font-size:11.0pt;color:#1f497d;"><u></u> <u></u></span></div>
<div class="yiv1221726707MsoNormal"><span style="font-size:11.0pt;color:#1f497d;">Just like <a rel="nofollow" target="_blank" href="http://docs.openstack.org/grizzly/basic-install/apt/content/basic-install_network.html#basic-install_network-services">http://docs.openstack.org/grizzly/basic-install/apt/content/basic-install_network.html#basic-install_network-services</a><u></u><u></u></span></div>
<div class="yiv1221726707MsoNormal"><span style="font-size:11.0pt;color:#1f497d;"><u></u> <u></u></span></div><div class="yiv1221726707MsoNormal"><span style="font-size:11.0pt;color:#1f497d;">I did the Procedure 2.2-4 and 2.2-5.<u></u><u></u></span></div>
<div class="yiv1221726707MsoNormal"><span style="font-size:11.0pt;color:#1f497d;"><u></u> <u></u></span></div><div class="yiv1221726707MsoNormal"><span style="font-size:11.0pt;color:#1f497d;">Jeff<u></u><u></u></span></div>
<div class="yiv1221726707MsoNormal"><span style="font-size:11.0pt;color:#1f497d;"><u></u> <u></u></span></div><div class="yiv1221726707MsoNormal"><b><span style="font-size:10.0pt;">From:</span></b><span style="font-size:10.0pt;"> Ashok Kumaran [mailto:<a rel="nofollow" ymailto="mailto:ashokkumaran.b@gmail.com" target="_blank" href="mailto:ashokkumaran.b@gmail.com">ashokkumaran.b@gmail.com</a>] <br>
<b>Sent:</b> Friday, September 27, 2013 6:33 PM<br><b>To:</b> OpenStack Development Mailing List<br><b>Subject:</b> Re: [openstack-dev] VM instances Can not connect to external<u></u><u></u></span></div><div><div class="yiv1221726707h5">
<div class="yiv1221726707MsoNormal"><u></u> <u></u></div><div><div class="yiv1221726707MsoNormal">You have IP forwarding enabled?<u></u><u></u></div><div><div class="yiv1221726707MsoNormal"><u></u> <u></u></div></div><div><div class="yiv1221726707MsoNormal">Did you create br-ex bridge and associated the external as a port to it?<u></u><u></u></div>
</div><div><div class="yiv1221726707MsoNormal" style="margin-bottom:12.0pt;"><u></u> <u></u></div><div><div class="yiv1221726707MsoNormal">On Fri, Sep 27, 2013 at 3:33 PM, Jeff Cai <<a rel="nofollow" ymailto="mailto:Jeff_Cai@symantec.com" target="_blank" href="mailto:Jeff_Cai@symantec.com">Jeff_Cai@symantec.com</a>> wrote:<u></u><u></u></div>
<div><div><div class="yiv1221726707MsoNormal">Hi,<u></u><u></u></div><div class="yiv1221726707MsoNormal"> <u></u><u></u></div><div class="yiv1221726707MsoNormal">I set up openstack environment on Ubuntu 12.0.4 with 3 nodes according to the starter guide on <a rel="nofollow" target="_blank" href="http://docs.openstack.org/">docs.openstack.org</a>. Everything works well except that the VM instances cannot connect to outside. Among VM instances they can connect to each other.<u></u><u></u></div>
<div class="yiv1221726707MsoNormal"> <u></u><u></u></div><div class="yiv1221726707MsoNormal">Attached the network diagram:<u></u><u></u></div><div class="yiv1221726707MsoNormal"> <u></u><u></u></div><div class="yiv1221726707MsoNormal"><img border="0" width="582" height="625" src="cid:1.582973481@web162905.mail.bf1.yahoo.com"><u></u><u></u></div>
<div class="yiv1221726707MsoNormal"> <u></u><u></u></div><div class="yiv1221726707MsoNormal">In VM, it can ping the demo-router address 10.5.5.1 (internal) and 10.200.29.33 (external). But it cannot ping out the other external addresses.<u></u><u></u></div>
<div class="yiv1221726707MsoNormal"> <u></u><u></u></div><div class="yiv1221726707MsoNormal">Both the public and demo-net network work normally:<u></u><u></u></div><div class="yiv1221726707MsoNormal"> <u></u><u></u></div><div class="yiv1221726707MsoNormal">Project   Network Name      Subnets Associated                         Shared         Status           Admin State<u></u><u></u></div>
<div class="yiv1221726707MsoNormal">admin    public                           public-subnet <a rel="nofollow" target="_blank"  href="http://10.200.29.0/24">10.200.29.0/24</a>      No                  Active              Up<u></u><u></u></div><div class="yiv1221726707MsoNormal">
demo    demo-net                  demo-net-subnet <a rel="nofollow" target="_blank"  href="http://10.5.5.0/24">10.5.5.0/24</a>     No                  Active              Up<u></u><u></u></div><div class="yiv1221726707MsoNormal"> <u></u><u></u></div><div class="yiv1221726707MsoNormal">
But the port where the demo router is DOWN<u></u><u></u></div><div class="yiv1221726707MsoNormal"> <u></u><u></u></div><div class="yiv1221726707MsoNormal"> <u></u><u></u></div><div class="yiv1221726707MsoNormal">(bd10e227)               10.200.29.33     network:router_gateway              DOWN           UP<u></u><u></u></div>
<div class="yiv1221726707MsoNormal"> <u></u><u></u></div><div class="yiv1221726707MsoNormal"> <u></u><u></u></div><div class="yiv1221726707MsoNormal">The port info:<u></u><u></u></div><div class="yiv1221726707MsoNormal"> <u></u><u></u></div><h4>Port<u></u><u></u></h4><div class="yiv1221726707MsoNormal" align="center" style="text-align:center;">
<hr size="2" width="100%" align="center"></div><div class="yiv1221726707MsoNormal">Name<u></u><u></u></div><div class="yiv1221726707MsoNormal" style="margin-left:.5in;">None<u></u><u></u></div><div class="yiv1221726707MsoNormal">ID<u></u><u></u></div><div class="yiv1221726707MsoNormal" style="margin-left:.5in;">
bd10e227-8f83-4804-9f68-a0e643e451e5<u></u><u></u></div><div class="yiv1221726707MsoNormal">Network ID<u></u><u></u></div><div class="yiv1221726707MsoNormal" style="margin-left:.5in;"><a rel="nofollow" target="_blank"  href="http://10.200.29.31/horizon/project/networks/d415febb-b387-40e0-9416-32c1b19d5b46/detail">d415febb-b387-40e0-9416-32c1b19d5b46</a><u></u><u></u></div>
<div class="yiv1221726707MsoNormal">Project ID<u></u><u></u></div><div class="yiv1221726707MsoNormal" style="margin-left:.5in;">-<u></u><u></u></div><div class="yiv1221726707MsoNormal">Fixed IP<u></u><u></u></div><div class="yiv1221726707MsoNormal" style="margin-left:.5in;"><b>IP address:</b> 10.200.29.33, <b>Subnet ID</b> 6781dfdc-508b-46c3-89ce-5624f95448d0<u></u><u></u></div>
<div class="yiv1221726707MsoNormal">Mac Address<u></u><u></u></div><div class="yiv1221726707MsoNormal" style="margin-left:.5in;">fa:16:3e:e2:b2:b3<u></u><u></u></div><div class="yiv1221726707MsoNormal">Status<u></u><u></u></div><div class="yiv1221726707MsoNormal" style="margin-left:.5in;">
DOWN<u></u><u></u></div><div class="yiv1221726707MsoNormal">Admin State<u></u><u></u></div><div class="yiv1221726707MsoNormal" style="margin-left:.5in;">UP<u></u><u></u></div><div class="yiv1221726707MsoNormal">Attached Device<u></u><u></u></div><div class="yiv1221726707MsoNormal" style="margin-left:.5in;">
<b>Device Owner</b>: network:router_gateway<u></u><u></u></div><div class="yiv1221726707MsoNormal" style="margin-left:.5in;"><b>Device ID</b>: 5d43330d-c0ee-4bd5-a76f-b15daad1df2e<u></u><u></u></div><div class="yiv1221726707MsoNormal"> <u></u><u></u></div><div class="yiv1221726707MsoNormal">
 <u></u><u></u></div><div class="yiv1221726707MsoNormal">Could anyone please give me some clues to solve this problem?<u></u><u></u></div><div class="yiv1221726707MsoNormal"><span style="font-size:10.0pt;"> </span><u></u><u></u></div>
<div class="yiv1221726707MsoNormal"><span style="font-size:10.0pt;">Best Regards</span><u></u><u></u></div><div class="yiv1221726707MsoNormal"><b><span style="font-size:10.0pt;color:#888888;"> </span></b><span style="color:#888888;"><u></u><u></u></span></div>
<div class="yiv1221726707MsoNormal"><b><span style="font-size:10.0pt;color:#888888;">Jeff Cai</span></b><span style="color:#888888;"><u></u><u></u></span></div><div class="yiv1221726707MsoNormal" style="margin-bottom:12.0pt;">
<span style="color:#888888;"><u></u> <u></u></span></div></div></div><div class="yiv1221726707MsoNormal" style="margin-bottom:12.0pt;"><br>_______________________________________________<br>OpenStack-dev mailing list<br><a rel="nofollow" ymailto="mailto:OpenStack-dev@lists.openstack.org" target="_blank" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></div></div><div class="yiv1221726707MsoNormal"><br><br clear="all">
<u></u><u></u></div><div><div class="yiv1221726707MsoNormal"><u></u> <u></u></div></div><div class="yiv1221726707MsoNormal"><u></u> <u></u></div></div></div></div></div></div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a rel="nofollow" ymailto="mailto:OpenStack-dev@lists.openstack.org" target="_blank" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div><br>_______________________________________________<br>OpenStack-dev mailing list<br><a ymailto="mailto:OpenStack-dev@lists.openstack.org" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br><br><br></div> </div> </div>  </div></body></html>