Able to ping VM's fixed ip's from network node, not from controller node

Asked by Ashok kumaran B

Hi,

i have a 3 node setup (controller,network and compute). i am able to launch instances and instances are getting fixed dhcp ip's no issues on that part. But i am unable to ping those fixed vm ip's from controller node except the gateway ip(50.50.1.1) in that subnet. i have already added a route for that subnet(50.50.1.0/24) through router gateway. Also Nat'ed ip's also doesnt seem to be pinging.

all iptables Nat rules looks good. i am wondering what could be the problem. please let me know what log is needed.

Question information

Language:
English Edit question
Status:
Solved
For:
neutron Edit question
Assignee:
No assignee Edit question
Solved by:
Ashok kumaran B
Solved:
Last query:
Last reply:
Revision history for this message
Ashok kumaran B (ashokkumaran-b) said :
#1

I figured out some configuration issue and solved the problem. sorry

Revision history for this message
Jorge (jluzuria2001) said :
#2

Hello Ashok, How you solve this problem, what configuration file you touch?
Thanks in advance.

Revision history for this message
Ashok kumaran B (ashokkumaran-b) said :
#3

Jorge add the security rule for icmp in access security group . I guess that's the change I have done let me know if that helps

Revision history for this message
Jorge (jluzuria2001) said :
#4

Yes, I have configured the rule to security group, I tried with:
    nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
    nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0
But I continue with the same problem
My instance has:
vmnet=10.0.0.10
but I can't access to them:
$ ping 10.0.0.10
From 10.0.0.254 icmp_seq=1 Destination Host Unreachable
100% packet loss

In your oppinion that suggest me..

Revision history for this message
Ashok kumaran B (ashokkumaran-b) said :
#5

strange!!
can you confirm me if you have added the route(in the controller node) for your vm private network through the router gateway.?

Revision history for this message
Jorge (jluzuria2001) said :
#6

the routes are:
Destino Pasarela Genmask Indic Métric Ref Uso Interfaz
0.0.0.0 10.0.2.2 0.0.0.0 UG 100 0 0 eth0
10.0.0.0 0.0.0.0 255.255.255.192 U 0 0 0 br100
10.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

Revision history for this message
Ashok kumaran B (ashokkumaran-b) said :
#8

your controller node seems missing the route
add a route like below in your controller node

route add -net 10.0.0.0/24 gw $router_gateway

I assume 10.0.0.0/24 is your vm network , if not so add the correct subnet, and also specify your router gateway ip

Revision history for this message
Jorge (jluzuria2001) said :
#9

This route is the same that you mentioned:

ip route show
10.0.0.0/26 dev br100 proto kernel scope link src 10.0.0.1

ip route -n
10.0.0.0 0.0.0.0 255.255.255.192 U 0 0 0 br100

Revision history for this message
Ashok kumaran B (ashokkumaran-b) said :
#10

10.0.2.2 is the router's IP of your external subnet?

Revision history for this message
Jorge (jluzuria2001) said :
#11

yes, Its correct.

Revision history for this message
Venkata Seshadri (seshu9398) said :
#12

yes,can i get this exact solution i did all the things above and agiin the same problem