It seems like most of you may be using Vmware workstation/Player, Virtualbox, etc. and running Windows OS. Many of you may be encountering known issue “Internet not working”. Well here are the steps to resolve that issue.
-Make sure that your virtual machine’s network adapters are connected (Check that the vmnet1 and vmnet8 are connected)
Launch your VMware and clcik on edit virtual machine settings for the Windows OS
Click Network adapter and select NAT
Play your virtual Windows OS
Disable the firewall for the Windows OS as well as your host machine
Click on network connections (Open the network adapters)
Select properties under the VMware adapter
Open the properties TCP/IPv4 (TCP/IP in XP and Vista)
Check IPconfig command from CMD and capture your default gateway (For instance I am taking mine as 192.168.24.2)
Click use the following IP address
*IP address- 192.168.24.XXX (Enter the last set between 100-254)
*Subnet mask= Let Windows decide it
*Default gateway= Enter the default gateway you captured from CMD
Click use the following DNS servers
*preferred DNS servers=8.8.8.8
*Alternate DNS servers=4.2.2.2
(Note-the above DNS servers helps to remove any security blocks)
Click OK
Fire up your browser and check if it’s working, if not restart your virtual OS
Your steps are all reasonable,
but are only one person’s “cookbook.”
There are many things that can result in a non-working Internet connection and some require even more testing and configuration than what is described.
@abhijeet1301
If you’re interested in creating a comprehensive approach to network troubleshooting in a virtualized environment, I’m all for it.
I’d recommend for starters setting up your own wiki page to provide a starting point. Creating your own wiki pages here is free and easy to do and can be edited by any other openSUSE member without special effort.
Your wiki page for example would start at the following page, when you browse to the URL it will say the page does not exist and would you like to create a page. Say “Yes” and start building your page. Decide how you’d like to organize the information on the page and in particular your cookbook steps so that they can provide the framework for something that might grow. https://en.opensuse.org/User:abhijeet1301