Ask Your Question
-1

Not able to ping windows VM

asked 2013-10-10 06:30:44 -0500

amit dwivedi gravatar image

VM is getting launched successfully and while running "nova list" command, status of VM becomes "Active". But after attaching the floating IP, it is not getting pinged neither any console log gets generated.

edit retag flag offensive close merge delete

Comments

there are lots of answers here to questions about VMs not responding to pings. Please have a look at them and add more details here if you believe your case is different.

smaffulli gravatar imagesmaffulli ( 2013-10-11 17:39:28 -0500 )edit

What Windows version you are using? Would it be Windows firewall or OpenStack security group drop the ping request packet?

tcheung gravatar imagetcheung ( 2013-10-14 23:44:28 -0500 )edit

we followed below step to launch windows 2008 server in our grizzly environment:- 1.kvm-img create -f raw windowsr2.img 20G (Create the image file) 2.Install winows 2008 server using command "kvm -m 2048 -no-reboot -boot order=d -drive file=windowsr2.img,if=virtio,boot=off -drive file=windows-2008r2.iso,media=cdrom,boot=on -drive file=virtio-win-0.1-65.iso,media=cdrom,boot=off -net nic,model=virtio -nographic -vnc :1 -usbdevice tablet" 3.Disable firewall and enable RDP in windows image. 4.Add in glance this windows image. 5.nova secgroup-add-rule default tcp 3389 3389 0.0.0.0/0 6.Launch Vm using that windows image. After launching vm Status of Vm is active .but, no console log is generated and also not able to ping vm (not even from floating ip).

amit dwivedi gravatar imageamit dwivedi ( 2013-10-22 23:56:32 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-11 22:12:34 -0500

updated 2014-02-11 22:21:12 -0500

I just tried this, I could not ping my Windows 7 VM, but after adding a Ping security rule to my windows box and shutting off the firewall ping works fine. Go into security groups and add a rule for ping with ICMP set to -1 -1 then add that group to your windows instance. It will work, I just did it.

bills-mbp:Demo_Scripts Harper$ ping 38.84.67.215
PING 38.84.67.215 (38.84.67.215): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
^C
--- 38.84.67.215 ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss bills-mbp:Demo_Scripts Harper$ ping 38.84.67.215 PING 38.84.67.215 (38.84.67.215): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 ^C --- 38.84.67.215 ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss
bills-mbp:Demo_Scripts Harper$ ping 38.84.67.215
PING 38.84.67.215 (38.84.67.215): 56 data bytes
64 bytes from 38.84.67.215: icmp_seq=0 ttl=116 time=77.580 ms
64 bytes from 38.84.67.215: icmp_seq=1 ttl=116 time=76.635 ms
64 bytes from 38.84.67.215: icmp_seq=2 ttl=116 time=75.577 ms
64 bytes from 38.84.67.215: icmp_seq=3 ttl=116 time=74.451 ms
--- 38.84.67.215 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 74.451/76.061/77.580/1.169 ms
bills-mbp:Demo_Scripts Harper$

edit flag offensive delete link more

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: 2013-10-10 06:30:44 -0500

Seen: 859 times

Last updated: Feb 11 '14