How to Configure OpenStack Network to Enable Access to OpenStack Instances

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

13 Responses

  1. Rob says:

    Following this to a tee, my “router” is selecting an external address, and an internal one, but I can’t ping the external address from the host running OpenStack, or any other host on the subnet – I can’t see the address assigned anywhere using ifconfig or ‘ip addr‘ either – is there a step missing here?

  2. maikel says:

    I cannot fix this with a hetzner subnet I lose connection and need to reinstall the server, is there anyone to help me with this?

  3. Rahul says:

    This manual could work only on bridge interface in virtual box,but will not work in host only network. If you don’t have internet connection in later stage,you will not be able be to access the instance using floating IP.

  4. kostya_h says:

    Hello author,
    Why did not you tell that users need to install ovs bridge first? Without it your manual does not work and service network shows an error: network is unavailable! I have wasted two days to find the root cause of this error!

    You should understand that there not all users are so much experienced like you that is why you need mention all details in your manual to avoid any questions why it does not work who followed it but did not do that you did not write but what should be done in order to make it work!

    • Chinmay says:

      Hello kostya_h, I am facing same issue, i am new to Linux can you tell me how have you resolved this issue ?

      • kostya_h says:

        Sorry for the last answer. Just already have noticed your reply.
        I was not able to make it work (ovs-bridge) using this manual.

        I used little bit another config files for interfaces (here they are):


        IPADDR= -your IP
        GATEWAY= -your GATEWAY ( check it with “route -n”, it will be it the 1-st output line under the GATEWAY column)



        I have used the following command to make it work:

        sudo ovs-vsctl add-port br-ex ens33; systemctl restart network –general command which adds port to the mentioned bridge
        (this command does not work for me and i was forced to do next):

        sudo ovs-vsctl del-port ens33 –delete existing port

        systemctl restart network —–restart network to apply changes

        sudo ovs-vsctl del-br br-ex –delete existing bridge

        systemctl restart network —–restart network to apply changes

        sudo ovs-vsctl add-br br-ex —–adding ovs bridge

        systemctl restart network —–restart network to apply changes

        and finally:
        sudo ovs-vsctl add-port br-ex ens33 —–adding port to mentioned bridge where ‘ens33’ is my network interface. In your case it may be another, for example etho, enp123 e.t.c, it depends of VM that you are using. VmWare default naming is like this one.

        sudo service network restart —-aplying changes again.

        ip a —- checking network configuration. you should see something like this:
        2: ens33: mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000

        [[email protected] network-scripts]$ route -n
        Kernel IP routing table
        Destination Gateway Genmask Flags Metric Ref Use Iface UG 0 0 0 br-ex U 1002 0 0 ens33 U 1013 0 0 br-ex U 0 0 0 br-ex

        if everything is fine you can open openstack dashboard and be able to ‘ping’
        When i followed tecmint guide my network stopped to work and i lost external internet connection until i founded another working solution.

        I hope it will help you.

  5. Sarang Kher says:

    You are a superstar, long live tecmint.

  6. Rahul Joshi says:

    Hello Matei,

    You are awesome..

    I have one query. Can we create multiple routers & multiple networks (Priv/Pub) on the above same setup.

    Like Priv1 Pub1 & Priv2 Pub2
    Public network range is our local subnets/ vlans .

    Any idea??
    Appreciate your efforts in above tutorial.


  7. Matei Cezar says:

    Investigate your logs (mysql, keystone, glance) maybe there’s a clue on what might went wrong and post a topic on openstack specialized forums. Also, try a system reboot.

  8. brnf says:

    At the end of step 3.3 I lost access to the dashboard. I got the following message on the browser: “Unable to establish connection to keystone endpoint.” I’ve double checked interfaces config, and it seems right. Can you share any ideas to what might be wrong? Thanks! Keep up the good work!

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.