Ask Your Question

SSH to instance not working "No route to host"

asked 2019-02-07 16:18:18 -0600

Riccardo M. gravatar image

updated 2019-02-14 09:40:57 -0600

I have setup my cloud using this official guide about [OpenStack Charms Deployment Guide].(

My lab is the following:

my lab:

  • 1 IBM System 3540 M4 Maas (500GB HDD - 8GB RAM - 1 Nic)
  • 1 IBM System 3540 M4 Juju (500GB HDD - 8GB RAM -1 Nic)
  • 4 IBM System 3540 M4 Openstack (500GBx2 HDD - 16GB RAM - 2 Nic)
  • 1 Palo Alto Network Firewall

Management Network

  • Maas:
  • Juju:
  • Openstack
  • Gateway

Private Network

  • Instance: -

The problem is I can not access via SSH to new instance from my PC or Maas server,

$: ssh -i ~/.ssh/
ssh: connect to host port 22: No route to host

$: ping
PING ( 56(84) bytes of data.
From icmp_seq=1 Destination Host Unreachable
From icmp_seq=2 Destination Host Unreachable

I've have the same issue also if I try to ping the IP address assigned of Openstack to vrouter ( While I reach the lxd units and the rest of nodes.

$: ping 
PING ( 56(84) bytes of data. 
64 bytes from icmp_seq=1 ttl=64 time=0.213 ms 
64 bytes from icmp_seq=2 ttl=64 time=0.291 ms

Of following some screen about my lab: (Maas Machine) (Maas Machine Interfaces) (Maas Subnets) (Maas Fabric) (Juju) (Openstack Instance) (Openstack Network Topology) (Openstack Security Group) (Openstack Router) (Openstack Router Interface)

anyone can help me? thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-02-10 23:09:23 -0600

TijoV gravatar image

updated 2019-02-10 23:14:28 -0600

I hope you can ssh to MAAS machine, if you are, then from MAAS machine Try juju status and then

juju ssh <host_ip>
edit flag offensive delete link more


that works well...the issue is on the instance created on Openstack. The IP address, showed above, is the floating address assigned of Openstack to Vm, and if a try to make a ssh to that obtain tha error. I think the issue is on virtual router. Any idea?

Riccardo M. gravatar imageRiccardo M. ( 2019-02-11 03:53:38 -0600 )edit

Can you verify that the router is configured with the proper upstream gateway to access the internet? If you can't ping the router, I'm guessing it isn't accessible from your network.

reynoni gravatar imagereynoni ( 2019-02-14 11:15:40 -0600 )edit

from nodes, from lxd vm, maas and juju server the ping reach the gw and internet without issue. Each part has configured as gw the same IP ( I've also rebuild the empire lab using conjure-up but the issue is the same and don't know if I wrong something on Openstack or Maas

Riccardo M. gravatar imageRiccardo M. ( 2019-02-15 12:20:16 -0600 )edit

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-02-07 16:18:18 -0600

Seen: 67 times

Last updated: Feb 14