Summary of problems encountered by VMware Workstation

Source: Internet
Author: User

After the virtual machine is installed, the following three problems are summarized:

I. Problem 1: The Ping between the VM and the host fails.

The Virtual Machine is installed, and the default bridging is selected over Ethernet. After installation, you cannot ping the host or ping the gateway 192.168.1.1. "destination host unreachable" is displayed"

In VMware Workstation, choose Edit> virtual network settings (s) to open the "virtual network Editor". On the "summary" tab, you can see:
Virtual Network Summary
Vmnet0 (BRIDGE) bridge connected to admtek an983 10/100 PCI adapter-data packet planProgramMicro Port
Vmnet1 (host only) a private network is connected to the host
Vmnet8 (NAT) is used to share the IP address of the host.

Because we selected "bridging" in the "network connection" of Ethernet, we switched to "host Virtual Network ing" and saw the value following "vmnet0: bridge to an Automatically Selected adapter, we will change it:
Admtek an983 10/100 PCI adapter-micro port of the packet scheduler
Then "application"-> "OK"

Result: The host can ping the virtual machine, but the virtual machine cannot ping the host, but both the host and the virtual machine can ping other computers in the LAN.
Later, the VMware network adapter vmnet1 and VMWare network adapter vmnet8 in the Host "network connection" are disabled, and the virtual machine can ping the host.
This time, I finally learned the differences between the three connections in the virtual machine:

1. Bridge Mode (Bridge Mode)
This mode is selected by default when you create a VM. It bridges the virtual Nic of the VM to the physical Nic of the host, in fact, the physical Nic of the host is set to the hybrid mode to listen to multiple IP addresses. In this mode, the virtual network card of the VM is directly connected to the network where the physical network card of the host is located. It can be understood that the virtual machine and the host are in the same status, the network relationship is equal. There is no distinction between the primary and the secondary networks.

2. Nat Mode
In this mode, a virtual Nic vmnet8 (default) appears in the "Network Connection" of the host ). If you have performed a 2000/2003 Nat server experiment, you will understand that the vmnet8 virtual Nic on the host is equivalent to the NIC connected to the Intranet, and the physical Nic on the host is equivalent to the NIC connected to the Internet, the Virtual Machine itself is equivalent to a computer running on the Intranet, and the virtual network card in the virtual machine is independent of the virtual ethernet switch (vmnet8 ). In this way, the DHCP service provided by VMware is loaded to the virtual ethernet switch (vmnet8) by default, so that the virtual machine can use the DHCP service.

3. Host-only mode
This mode is a closed method and is suitable for various network experiments in an independent environment. In this way, a virtual Nic vmnet1 (default) appears in the "Network Connection" of the host ). The only difference from Nat is that there is no address translation service in this mode. In this case, the virtual machine can only access the host, which is also the name of host-only.

Ii. Question 2: cannot a virtual machine use the numeric keys in the keypad?

First, disable the use of the keypad on the host (press the numlock key to make the indicator light unavailable), and then press the numlock key in the VM to turn the indicator light on.

Iii. file sharing between hosts and virtual machines

Method 1: you can install VMware Tools for virtual machines, VMWare Workstation-> menu "virtual machines"-> "Install VMware Tools (I)" to automatically install VMware Tools. After installation, you can drag a file directly to the VM on the host.

Method 2: the host and virtual machine share the file. You can directly access another computer or copy the file through IPC $.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.