Ask Your Question
0

Can not ping VM's floating ip [closed]

asked 2014-08-31 07:12:47 -0600

CarlFeng gravatar image

updated 2014-08-31 07:29:12 -0600

dbaxps gravatar image

I am a fresh man in openstack, I install openstack using devstack in a server(192.168.4.185), when use the default configuration, that is FlatDHCP mode, it works well. But now i need to change the network mode to Vlan, and I've created two vms, one with fixed ip10.0.151.3, the other with fixed ip 10.0.151.4 and floating ip 192.168.4.160. Two vms can ping each other, but I can't ping 192.168.4.160. Could someone give me some advice? Thanks in advance! Here is part of my nova.conf:

[DEFAULT]
flat_interface = eth0
flat_network_bridge = br100
vlan_interface = eth1
public_interface = eth0
network_manager = nova.network.manager.VlanManager

Here is my /etc/network/interface:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.4.185
netmask 255.255.255.0
gateway 192.168.4.1
dns-nameservers 124.16.136.254

auto eth1
iface eth1 inet manual
up ifconfig eth1 up
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by CarlFeng
close date 2014-08-31 19:52:20.405701

Comments

Aha~That's the reason, when I in tenant admin, i've added the secgroup, but now I'm using tenant test, i need to add the secgroup again. Thank you two guys~

CarlFeng gravatar imageCarlFeng ( 2014-08-31 19:51:39 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-08-31 12:53:01 -0600

SGPJ gravatar image

check you have icmp rule for both in/ eggres

edit flag offensive delete link more
0

answered 2014-08-31 07:48:21 -0600

dbaxps gravatar image

updated 2014-08-31 21:58:38 -0600

Could you source keystonerc_tenant  &&  run :-<br>
$ nova secgroup-list-rules default
Add security group rules if needed
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-31 07:12:47 -0600

Seen: 523 times

Last updated: Aug 31 '14