How to resolve VMware Workstation no Internet connection

When I was logging into the virtual machine via SSH connection, I was not prompted to enter the password and the connection terminated with the Connection timed out message.

At first, I thought maybe the IP address had changed, but it’s not possible because I have set the static address, even though the firewall is not implemented on the system. Still, I pinged the network and found the connection was unreachable.

So, I directly logged in to the VMware machine and checked the IP address. I found the IP address was the same. Then why is it not getting connected through SSH? Therefore, again, I tried to ping Reddit and found it was also not working.

$ ping
ping: Name or service not known

Maybe static configuration has some problems, so I have changed the connection with DHCP settings, but the problem persists.

If you are also having a similar kind of issue, then this guide will be enough to restore the internet connection to your VMware Workstation.

FIX Network issue in VMware Workstation

I believe you have already spent much time resolving this issue, but nothing worked, so I will directly jump to the point of resolving this network issue in VMware.

When you open the VMware Workstation, did you notice a red cross mark on the ethernet port icon? No, this indicates the connection is not established, so you can click on the ethernet port and choose to connect.

VMware network not connected
Click on the red cross Ethernet icon

This will resolve the network issue in the VMware Workstation, to check the connection you can ping if it is pingable then your issue is resolved else you need to follow the next available methods.

Modify VMware network configuration

And sometimes, even if the network symbol doesn’t show a red cross mark on the ethernet icon, you will still not be able to access the internet, so in that case, you need to check the VMware network settings.

You can find Settings options in VM->Settings or you can use the shortcut Ctrl+D to access setting options.

Select Setting from VMware Workstation Menu
Go to VMware Machine Settings

In a Virtual Machine, Settings click on Network Adapter options and check whether your VMware Machine configuration looks like the below image, if it is not then make the possible changes and click save to reload changes.

Check default network setting value
Check default network setting

If the configuration file is similar to the above file and after that also, it’s not working, then you need to remove the network adapter and add the new network adapter hardware from the next window. 

Remove and Add a new VMware network adapter

You can follow the number sequence to remove and add new network hardware.

Remove and add network hardware from VMware Workstation
Remove and Add network hardware from VMware Workstation

Once you click the Add.. button, this will open the Add Hardware Wizard window. From here you can add a network adapter and, after that, click on Finish to go back to the VMware settings windows.

Click on Network Adapter
Click on Network Adapter to add a new Network Adapter

Lastly, click on the Save button to append the new changes.

New changes are applying
New changes are applying

Once the machine gets into a usable state, you can check whether the network is pingable or not. As you can see, I can ping and you can also see the red cross mark on the ethernet port icon no longer exists.

Network connection restored in VMware
Network connection restored in VMware

If the problem persists, then try to follow these steps once more, and if it’s not fixed, then you need to re-install VMware.

Wrap up

That’s all to resolve VMware Workstation’s no Internet connection.

In this article, you have found multiple ways to rescue yourself from the no internet connection issue.

If the above method didn’t work, then I advise you to re-install the VMware workstation from scratch by following our guide on How to Install VMware Workstation 16 Pro on Ubuntu.

Leave a Reply