Ask Your Question
0

Ping between VMs

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

Ravi.Prasad gravatar image

Hi,

I have following topology (created from OpenStack Dashboard):

VMA---LAN-A---VRouter1---LAN-B----VRouter2---LAN-C---VMC

VMA-192.168.3.4 VMC-192.168.1.4 LAN-A Subnet - 192.168.3.0/24 LAN-B Subnet - 192.168.2.0/24 LAN-C Subnet - 192.168.1.0/24

I am trying to ping VMA from VMC. I am able to ping VRouter2 interface (192.168.1.1) 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

Comments

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
0

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 192.168.1.0/24 send traffic to VRouter2 and on VRouter2 add a static route to send traffic to VRouter1 for network 192.168.3.0/24 . Then, it should work.

edit flag offensive delete link more

Comments

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=192.168.3.0/24,nexthop=192.168.2.4

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
0

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

Comments

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

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

Stats

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

Seen: 165 times

Last updated: Sep 08 '16