Install Linux on VMware and share the Internet with local clients through ADSL

Source: Internet
Author: User
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

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.