Ask Your Question

Ping between VMs

asked 2016-09-07 05:20:35 -0500

Ravi.Prasad gravatar image


I have following topology (created from OpenStack Dashboard):


VMA- VMC- LAN-A Subnet - LAN-B Subnet - LAN-C Subnet -

I am trying to ping VMA from VMC. I am able to ping VRouter2 interface ( from VMC . But VMA is not reachable from VMC. Please let me know how to make this work. Do I need to do some additional configuration(like static route etc.) ? I am using Mitaka.

I am able to Ping VMs if they are connected through single router, but not able to ping if there are multiple router connected in series as in above topology.

Thanks and Regards, Ravi

edit retag flag offensive close merge delete


Can you provide the tenant network type where these two vms are running.Similar option under image

Mohit gravatar imageMohit ( 2016-09-07 22:44:08 -0500 )edit

Hi Mohit,

I am using Mitaka, and I cant see "Provider Network Type" option under "Create Network". Is there any CLI available to check this ?

edit : I was looking for network type in Projest->Network>Networks>Create Network. As I created network using this.

Ravi.Prasad gravatar imageRavi.Prasad ( 2016-09-08 00:37:01 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2016-09-08 00:10:03 -0500

wangxf gravatar image

Is have the firewall rules in the default group?

edit flag offensive delete link more


Does allow to the ICMP protocol in the default group(firewall)?

wangxf gravatar imagewangxf ( 2016-09-08 00:12:13 -0500 )edit

I am new to Openstack, can you please let me know how to verify firewall rules. However I just spawned a new VM in LAN B. VMA and VMC are able to ping LAN B VM (say VMB). But only ping between VM A and C is failing.

Ravi.Prasad gravatar imageRavi.Prasad ( 2016-09-08 00:40:31 -0500 )edit

answered 2016-09-07 17:58:41 -0500

Saminder13 gravatar image

Use some routing protocol if supported by your OS version. Otherwise add static route on Router 1 for network send traffic to VRouter2 and on VRouter2 add a static route to send traffic to VRouter1 for network . Then, it should work.

edit flag offensive delete link more


Can you please let me know CLI command to add static route ? I used following cmnd : neutron router-update vrouter2 --routes type=dict list=true destination=,nexthop=

but it throws error : Unrecognized attribute(s) 'routes'

Ravi.Prasad gravatar imageRavi.Prasad ( 2016-09-08 00:48:11 -0500 )edit

it should work. Can you please let me know which OpenStack version you are using? Try: neutron router-update ROUTER_UUID --router_rules type=dict list=true source=any,destination=any,action=permit

Saminder13 gravatar imageSaminder13 ( 2016-09-08 11:31:44 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-09-07 05:20:35 -0500

Seen: 240 times

Last updated: Sep 08 '16