A tenant virtual machine does not answer ping

ICMP from the bastion to a tenant virtual machine fails, although SSH works, because the default security group blocks inbound ICMP.

A ping from the bastion interface on the external VLAN to a tenant virtual machine times out, although SSH to the machine through the bastion works.

The default security group blocks inbound ICMP. A security group that opens only inbound TCP port 22 allows SSH but not ping.

Test from inside the machine or allow ICMP

  1. Test ICMP and the MTU outbound from inside the virtual machine with ping -M do -s 1472 <bastion-external-address>.
  2. Alternatively, add an ICMP rule to the security group.
    openstack security group rule create --proto icmp --remote-ip 0.0.0.0/0 <security-group-id>