How to access MicroStack VM instance from external network

3k views Asked by At

I have installed MicroStack and started a Cirros instance as it is described in MicroStack docs. Everything works as expected. The Cirros instance at 10.20.20.202:22 is available from the host where MicroStack is installed. The host IP/LAN is 192.168.56.103/24.

However, MicroStack install created a virtual network interface br-ex with IP 10.20.20.1 and the network 10.20.20.0/24 is used as external network in MicroStack/OpenStack, which is available only from the host. I thought that external network and floating IPs should be on a physical interface of the host so that the floating IPs are accessible from 'outside', that is, floating IPs should be from 192.168.56.103/24.

How could I access instances with floating IP from other computers than the host MicroStack is installed on?

1

There are 1 answers

1
Dan On

I ran in to the same problem today and found I had to add a static route via my Hyper-V virtual switch address.

So for me route add 10.20.20.0/24 172.20.192.1 allowed me to access OpenStack from my Windows machine while Ubuntu/Microstack was running inside a VM.