First of all, you must have a certain understanding of the Virtual Machine. Otherwise, I may not know what happened when talking about it, as well as some basic linux commands, only by having a certain understanding of network knowledge can this problem be completed. In fact, accessing the Internet in a virtual machine linux system is very simple, provided that you know how to get it, and will find it in the summary process. After installing linux, follow our steps to check whether the installation is successful. On the menu bar of Vmwareworkstation, click Edit -- & gt; V
First of all, you must have a certain understanding of the Virtual Machine. Otherwise, I may not know what happened when talking about it, as well as some basic linux commands, only by having a certain understanding of network knowledge can this problem be completed. In fact, accessing the Internet in a virtual machine linux system is very simple, provided that you know how to get it, and will find it in the summary process.
After installing linux, you can follow our steps to check whether the installation is successful. On the menu bar of Vmware workstation, click Edit --> Virtual Network Editor. After installing linux on your Virtual machine, VMware Network Adapter1 and VMware Network Adapter8 will appear in the Network and sharing center on your computer. Generally, 8 is used in both Network connections, now let's take a look at the Virtual Network Editor we just opened. We can see that there are three Network types Vmnet0, Vmnet1, and VMnet8 under the name in it. We chose VMnet8 for others to ignore it, you can also disable it. If the corresponding type of VMnet8 is Nat, you don't need to change it. If not, you can change it to NAT. Now I will take the parameters on my VM for instance, this may not be the case for your virtual machine, but it is the same. If you select VMnet8, You can see Subnet IP: 192.168.226.0, Subnet mask: 255.255.255.0, and click DHCP Settings.
How to click NatSettings
The configuration here is very important. If you have changed the parameters in it because you didn't understand it before, you can click Restore Default to Restore the configuration, as shown in the preceding parameters, the IP address is 192.168.226.1 and the subnet mask is 255.255.255.0. The default gateway is 192.168.226.2. The configuration on the virtual machine should be similar. Another point is that when you start Linux, the Network Adapter in VM --> setting on the menu bar should select:
This is almost the same as the virtual machine,
The key is the Network settings in VMware Network Adapter VMnet8, a local Network Adapter. Its settings are as follows: