Unable to find the ip address in vm machine running ip addr show

Unable to find the in vm machine running ip addr show

Also, running ping www.google.com is not connecting to the site

Hello, @dineshm
Can you please tell me what steps you followed to setup VM?

I have followed the same steps mentioned in the video installing VMS on mac.

downloaded the virtual box
downloaded the 64bit centos vdi.
added the vm as mentioned in the video.

I’m also having trouble with this, I followed all the steps. The second VM I made did not get an IP address.

Please how did any of you solve this problem? I’m having the same issue and I’m losing my mind. Googled answers but nothing works.

Hello, @Keicee
Are you able to ping? In VM, maybe your internet connection is off. If it is, then make it ON.

Run nmcli con and check if the interface (enp0s3/enp0s8) is connected or disconnected.

If the interface is connected, run nmcli con up enp0s3 to bring it back up.

If the interface is disconnected, you need to add the interface as Ethernet connection in nmtui and activate it. I followed this link - How to Solve No IP Address for NAT Adapter Virtualbox in Linux CentOS VM - Just Another Sharing Site ...

4 Likes

It helps me, thanks bro

it HELPFUL!!!
thank you bill!

Thanks, @billstephen it’s helpful for me too. :blush: