Shared adsl dial-up Internet access settings for Linux virtual machines

Source: Internet
Author: User
Shared adsl dial-up Internet access settings under a Linux Virtual Machine-Linux general technology-Linux technology and application information, the following is a detailed description. I installed a Red Hat Enterprise Linux 5 on vmware today. After the installation, I want to share my adsl dial-up Internet access on the VM. The setting process is as follows (relatively simple ):
1. allow Internet Connection Sharing on the adsl connection attribute first:
2. After doing so, a dialog box will pop up, telling you to set the IP address of the local connection to 192.168.0.1
3. Set the Virtual Machine network connection mode to NAT
4. vmware comes with the nat service, which provides address translation from vmnet8 to the Internet. Therefore, in the VM host Virtual Network ing, select the NIC for VMnet8.
5. Set the network connection in Linux as follows:
Virtual Machine IP Address: 192.168.0.2 mask: 255.255.255.0
Virtual Machine DNS: 192.168.0.1 Gateway: 192.168.0.1
6. In this case, you can ping the Virtual Machine on windows.
7. You can find that you can access the Internet on Linux.
Related 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.