No IP address allocated to VM

asked 2017-03-07 03:35:30 -0600

ShubhamMeshram gravatar image

I fired a VM and after typing ifconfig it shows (This) I don't see my VM getting an IPv4 address. It gets an IPv6 address. And i am not able to ping anything

edit retag flag offensive close merge delete



The link to the google drive document is broken. Your instance probably gets the autoconfiguration IPv6 address and doesn't get anything from DHCP. Check two things: Is DHCP service is up? Inside the instance, set the address manually. Can you access the router's IP?

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-07 04:02:41 -0600 )edit

Thank you, I had forgotten to check the Enable DHCP box.

ShubhamMeshram gravatar imageShubhamMeshram ( 2017-03-07 05:16:44 -0600 )edit

@Bernd I can ping to the router, but I cannot ping to the host or external internet. How do I solve that?

ShubhamMeshram gravatar imageShubhamMeshram ( 2017-03-07 05:19:11 -0600 )edit