<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Amit Kumar</b> <span dir="ltr"><<a href="mailto:kumaramit124@gmail.com">kumaramit124@gmail.com</a>></span><br>Date: Sat, Jul 29, 2017 at 2:39 PM<br>Subject: Re: [Openstack] Fwd: Unable to reach the vm from outside[from qrouter unable to reach both internal and external network]<br>To: Brian Haley <<a href="mailto:haleyb.dev@gmail.com">haleyb.dev@gmail.com</a>><br>Cc: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>, chandra kumar <<a href="mailto:chandr20@gmail.com">chandr20@gmail.com</a>><br><br><br><div dir="ltr"><div><div><span class=""><div><div><div>Hi,<br></div>     From the qrouter able to ping external and dhcp ip but vm is not getting <br></div>dhcp ip address when I use interface_driver =neutron.agent.linux.interface<wbr>.OVSInterfaceDriver the dhcp-agent.ini.<br><br></div>if I use neutron.agent.linux.interface.<wbr>BridgeInterfaceDriver as my interface driver vm is getting the ip address <br><div><br></div><div>but unable to reach the vm from the qrouter.<br><br><br><br></div><div>in l3-agent.ini if i use interface_driver = neutron.agent.linux.interface.<wbr>OVSInterfaceDriver (qr interface is getting vlan tag as 1) and<br></div><div>I am able to reach the external network from qrouter but unable to ping the vm.<br></div><div><br></div><div>but if I use interface_driver = neutron.agent.linux.interface.<wbr>BridgeInterfaceDriver(qr interface is set with dead vlan tag 4095)<br><br></div></span>if this is the case I am able to reach the vm from qrouter but from qrouter unable to reach the external network.<br><br><br></div>Thanks & Regards<br></div>Amit K<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 28, 2017 at 9:27 PM, Brian Haley <span dir="ltr"><<a href="mailto:haleyb.dev@gmail.com" target="_blank">haleyb.dev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 07/28/2017 05:54 AM, Amit Kumar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Recently i have installed the openstack newton on Ubuntu 16.04. Brought up one controller and 2 compute nodes. All services are up and running unable to reach the vm from outside<br>
<br>
<br>
I have logged in to the qrouter tried pinging the internal network as well the br-ex  unable to reach either side<br>
</blockquote>
<br></span>
Did you update the security groups to allow ICMP?<br>
<br>
-Brian<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-116391799428018274h5">
ip netns<br>
<br>
qrouter-3dbfca3a-1e95-43db-890<wbr>1-4ee90d44e3f3<br>
qdhcp-87453284-bf21-4c17-bddf-<wbr>0742dd394573 (id: 2)<br>
qdhcp-2faf6ae5-21bc-4c2a-8c8f-<wbr>9bbec5cf2ae6 (id: 1)<br>
<br>
<br>
ip netns exec qrouter-3dbfca3a-1e95-43db-890<wbr>1-4ee90d44e3f3 ifconfig<br>
<br>
lo        Link encap:Local Loopback<br>
           inet addr:127.0.0.1  Mask:255.0.0.0<br>
           inet6 addr: ::1/128 Scope:Host<br>
           UP LOOPBACK RUNNING  MTU:65536  Metric:1<br>
           RX packets:200 errors:0 dropped:0 overruns:0 frame:0<br>
           TX packets:200 errors:0 dropped:0 overruns:0 carrier:0<br>
           collisions:0 txqueuelen:1<br>
           RX bytes:21596 (21.5 KB)  TX bytes:21596 (21.5 KB)<br>
<br>
qg-3b436f92-71 Link encap:Ethernet  HWaddr fa:16:3e:cd:62:dd<br>
           inet addr:172.24.4.5  Bcast:172.24.4.255  Mask:255.255.255.0<br>
           inet6 addr: fe80::f816:3eff:fecd:62dd/64 Scope:Link<br>
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>
           RX packets:84 errors:0 dropped:0 overruns:0 frame:0<br>
           TX packets:161 errors:0 dropped:0 overruns:0 carrier:0<br>
           collisions:0 txqueuelen:1<br>
           RX bytes:2972 (2.9 KB)  TX bytes:7558 (7.5 KB)<br>
<br>
qr-9aeaa6a2-c2 Link encap:Ethernet  HWaddr fa:16:3e:0c:21:43<br>
           inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0<br>
           inet6 addr: fe80::f816:3eff:fe0c:2143/64 Scope:Link<br>
           UP BROADCAST RUNNING MULTICAST  MTU:1450  Metric:1<br>
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
           TX packets:84 errors:0 dropped:0 overruns:0 carrier:0<br>
           collisions:0 txqueuelen:1<br>
           RX bytes:0 (0.0 B)  TX bytes:4148 (4.1 KB)<br>
<br>
<br></div></div>
_ovs- configuration at network node_<span><br>
<br>
e0c37f1f-4c88-419d-a703-9f6b84<wbr>325c08<br>
     Manager "ptcp:6640:127.0.0.1"<br>
         is_connected: true<br>
     Bridge br-tun<br></span>
         Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">127.0.0.1:6633</a> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>>"<span><br>
             is_connected: true<br>
         fail_mode: secure<br>
         Port "gre-0a00001f"<br>
             Interface "gre-0a00001f"<br>
                 type: gre<br>
                 options: {df_default="true", in_key=flow, local_ip="10.0.0.100", out_key=flow, remote_ip="10.0.0.31"}<br>
         Port br-tun<br>
             Interface br-tun<br>
                 type: internal<br>
         Port patch-int<br>
             Interface patch-int<br>
                 type: patch<br>
                 options: {peer=patch-tun}<br>
     Bridge br-int<br></span>
         Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">127.0.0.1:6633</a> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>>"<span><br>
             is_connected: true<br>
         fail_mode: secure<br>
         Port int-br-ex<br>
             Interface int-br-ex<br>
                 type: patch<br>
                 options: {peer=phy-br-ex}<br>
         Port "qg-3b436f92-71"<br>
             Interface "qg-3b436f92-71"<br>
                 type: internal<br>
         Port "qr-9aeaa6a2-c2"<br>
             tag: 1<br>
             Interface "qr-9aeaa6a2-c2"<br>
                 type: internal<br>
         Port patch-tun<br>
             Interface patch-tun<br>
                 type: patch<br>
                 options: {peer=patch-int}<br>
         Port br-int<br>
             Interface br-int<br>
                 type: internal<br>
     Bridge br-ex<br></span>
         Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">127.0.0.1:6633</a> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>>"<span><br>
             is_connected: true<br>
         fail_mode: secure<br>
         Port br-ex<br>
             Interface br-ex<br>
                 type: internal<br>
         Port phy-br-ex<br>
             Interface phy-br-ex<br>
                 type: patch<br>
                 options: {peer=int-br-ex}<br>
     ovs_version: "2.6.1"<br>
<br>
ovs-configuration at compute node<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
Thanks & Regards<br>
Amit Kumar<br>
<br>
<br></span>
______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="m_-116391799428018274gmail_signature" data-smartmail="gmail_signature">Thanks & Regards<br>Amit Kumar </div>
</div>
</div></div></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Thanks & Regards<br>Amit Kumar </div>
</div>