Operating System: 64-bit Virtual Machine for Windows 7 flagship edition: VMwareworkstation8Linux Operating System: shared Internet access method selected by RedHatLinux5.5 Server Edition: Local win7 adopts ADSL Internet access mode, and virtual machines use NAT to share Internet access. Vmware shared Internet knowledge reserve: 1. Two Vmware virtual network adapters VMnet1 and VMnet will be automatically installed after the virtual machine is installed
Operating System: Windows 7 flagship edition 64 bit
Virtual Machine: VMware workstation 8
Linux: RedHat Linux 5.5 Server
Shared Internet access: the local computer win7 adopts the ADSL Internet access mode, and the virtual machine uses the NAT Internet access mode.
Vmware shared Internet knowledge reserve:
1. After the virtual machine is installed, two Vmware virtual network adapters VMnet1 and VMnet8 will be automatically installed.
2. By default, the VMnet1 virtual adapter is used for NAT Internet access and the VMnet8 virtual video player is used for hostonly Internet access.
3. After using NAT to access the Internet, the IP address is generally allocated as follows by default:
192.168.XXX.1: IP address of the host machine VMware Network Adapter VMnet8 Adapter.
192.168.XXX.2: NAT gateway IP Address
192.168.XXX.3 to 192.168.XXX.127: IP address pool that can be set when the Virtual Machine Sets static IP Address Allocation
192.168.XXX.128 to 192.168.XXX.254: the dynamic address pool when the Virtual Machine Sets DHCP to automatically allocate IP addresses
192.168.203.255: broadcast address (Reserved address, unavailable ).
Configuration process:
1. Host Configuration
1. first, make sure that the host machine ADSL can access the Internet normally and start the "VMware DHCP Service" and "VMware NAT Service" (because the VMware Service slowed down the system, I changed the Service to manual, start again when needed)
2. For Internet shared bandwidth connections, right-click ADSL Broadband connections and select the Properties tab.
3. Select the "share" tab, select "Local Connection" in the home network connection, and select "allow other network users to connect through the Internet connection of this computer"
4. The following dialog box is displayed automatically. Click "OK"
5. Click "OK" on the "share" tab. The following dialog box is displayed automatically. Then, click "OK"
The IP address of the local connection is set to 192.168.137.1, And the subnet mask is 255.255.255.0.
Note that this IP address is the DNS of Linux. How can this problem be solved? It will be explained at the end of this Article