Ask Your Question

Devstack, connect virtual network to external

asked 2019-03-28 10:31:44 -0500

madslu gravatar image

I'm currently trying to make it possible to SSH into my Vms that are running on openstack. Currently there are two VMs running, and they can both ping each other through three different virtual links. One of these virtual links are to the pre-made public network (made by openstack). It says that this network is external, however I can't reach it on my ubuntu (which is running the openstack). How do I connect to this external network from my ubuntu?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2019-03-28 16:51:13 -0500

I don’t know what do you mean by “virtual link”, but I understand that one instance can ping the other via public network adresses, i.e. via floating IPs. However, you are unable to ssh into the instances from the server that runs Devstack. Is that correct?

To ssh into your instances, you need to

  • attach them to a network that is connected to public with a router
  • assign floating IPs to them
  • add ssh rules to their security groups
  • launch the instances with a key
  • log on with ssh using the corresponding private key and the instance’s default user

The default user depends on the image you launch an instance from. Ubuntu images have a user named ubuntu, Fedora images have fedora etc.

The cirros user on Cirros images has a password, so that you can log on without a key.

Finally, note that the public network is a fake external network. It can only be reached from the server running Devstack. You can, however, connect it to the outside network following these instructions:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-03-28 10:30:21 -0500

Seen: 17 times

Last updated: Mar 28