<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Openstack neutron : accessing openstack managed servers from the network host in OpenStack Discussions</title>
    <link>https://community.netapp.com/t5/OpenStack-Discussions/Openstack-neutron-accessing-openstack-managed-servers-from-the-network-host/m-p/145352#M374</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;I have a distributed OpenStack setup -- one controller and three compute instances. The "network node" is the same as the controller. I have a flat external network and VLAN provider network which has been assigned tag 775.&lt;/P&gt;
&lt;P&gt;I have a router connecting the vlan network to the external network. All the plumbing works as expected. I can log into an OpenStack server and ping outside. Networks are isolated as expected and so forth.&lt;/P&gt;
&lt;P&gt;On the controller/network node, I see a qrouter namespace that openstack created for the router and another one for DHCP.&lt;/P&gt;
&lt;P&gt;I create a server on a public VLAN-enabled network. I need to reach the server from the controller. I tried some hacks by creating a veth pair and pushing one end to the qrouter namespace but that did not work.&lt;/P&gt;
&lt;P&gt;I finally tried the following ugly hack (which worked):&lt;/P&gt;
&lt;PRE&gt;ovs-vsctl show 

  # Look for the mapping that openstack is using

  ovs-ofctl dump-flows br-int -O openflow13 | grep 775

  # discover that tag 6 is used by openstack on my integration bridge.
  # corresponding to vlan 775

  # Create a veth pair so the root namespace can access the bridge.


  ip link ip link add veth0 type veth peer name veth1

  # put one end on the bridge. 
  # assign a tag of 6 so it can access the server.

  ovs-vsctl add-port br-int veth1 tag=6



  # Finally I can assign an address to veth0 and ping a host on 
  # the openstack managed vlan network

  ifconfig veth0 10.0.40.39 &lt;/PRE&gt;
&lt;P&gt;After doing the steps above I am able to ping a server on my openstack managed network from my controller.&lt;/P&gt;
&lt;P&gt;I had to do several manual steps to figure out the internal tag that openstack was using on the integration bridge. I did this by dumping flow rules on the integration bridge to see how the tags were being managed. I then did the steps outlined above. I think there must be an openstack (neutron) set of commands which I can use rather than having to go through this.&lt;/P&gt;
&lt;P&gt;Seeking a better solution. I should not need to look at internal tags and figure out mappings etc. Is there an open stack command line base set of commands to achieve this?&lt;/P&gt;
&lt;P&gt;Thank You.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 13:01:46 GMT</pubDate>
    <dc:creator>Lianamelissa</dc:creator>
    <dc:date>2025-06-04T13:01:46Z</dc:date>
    <item>
      <title>Openstack neutron : accessing openstack managed servers from the network host</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Openstack-neutron-accessing-openstack-managed-servers-from-the-network-host/m-p/145352#M374</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;I have a distributed OpenStack setup -- one controller and three compute instances. The "network node" is the same as the controller. I have a flat external network and VLAN provider network which has been assigned tag 775.&lt;/P&gt;
&lt;P&gt;I have a router connecting the vlan network to the external network. All the plumbing works as expected. I can log into an OpenStack server and ping outside. Networks are isolated as expected and so forth.&lt;/P&gt;
&lt;P&gt;On the controller/network node, I see a qrouter namespace that openstack created for the router and another one for DHCP.&lt;/P&gt;
&lt;P&gt;I create a server on a public VLAN-enabled network. I need to reach the server from the controller. I tried some hacks by creating a veth pair and pushing one end to the qrouter namespace but that did not work.&lt;/P&gt;
&lt;P&gt;I finally tried the following ugly hack (which worked):&lt;/P&gt;
&lt;PRE&gt;ovs-vsctl show 

  # Look for the mapping that openstack is using

  ovs-ofctl dump-flows br-int -O openflow13 | grep 775

  # discover that tag 6 is used by openstack on my integration bridge.
  # corresponding to vlan 775

  # Create a veth pair so the root namespace can access the bridge.


  ip link ip link add veth0 type veth peer name veth1

  # put one end on the bridge. 
  # assign a tag of 6 so it can access the server.

  ovs-vsctl add-port br-int veth1 tag=6



  # Finally I can assign an address to veth0 and ping a host on 
  # the openstack managed vlan network

  ifconfig veth0 10.0.40.39 &lt;/PRE&gt;
&lt;P&gt;After doing the steps above I am able to ping a server on my openstack managed network from my controller.&lt;/P&gt;
&lt;P&gt;I had to do several manual steps to figure out the internal tag that openstack was using on the integration bridge. I did this by dumping flow rules on the integration bridge to see how the tags were being managed. I then did the steps outlined above. I think there must be an openstack (neutron) set of commands which I can use rather than having to go through this.&lt;/P&gt;
&lt;P&gt;Seeking a better solution. I should not need to look at internal tags and figure out mappings etc. Is there an open stack command line base set of commands to achieve this?&lt;/P&gt;
&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:01:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Openstack-neutron-accessing-openstack-managed-servers-from-the-network-host/m-p/145352#M374</guid>
      <dc:creator>Lianamelissa</dc:creator>
      <dc:date>2025-06-04T13:01:46Z</dc:date>
    </item>
  </channel>
</rss>

