Virtual Linux under VMware Workstation sharing Internet via NAT mode

Source: Internet
Author: User

Under the VMware Workstation virtual machine, Linux virtual confidential Internet, is generally bridged mode, but my own computer internet environment is different, too lazy to always configure the Linux network card information, so, set to NAT mode to share the real computer network card to the Internet.
There are mistakes or other big and small problems, welcome Dashin pointed out
The premise is that your virtual machine is a virtual machine created with VMware Workstation, and when you install VMware Workstation, you add two network cards to your system, a VMware network Adapter VMnet1 , a VMware network Adapter VMNET8, where VMware network Adapter VMnet8 is used.
Steps:
1. Change the network card VMware network Adapter VMNET8 to DHCP to obtain IP automatically.
2. Connect the network card of the Linux virtual machine to the VMware network Adapter VMnet8 NIC, such as:
3. Share the network card (wired network card or wireless network card) to the VMware Network Adapter VMnet8 network card; Open the NIC properties and share it. Such as:
4. When viewing the connection details of the VMware Network Adapter VMNET8 network card, this network card has automatically acquired a 192.168.137.1/24 IP address, changed it to manual, and set DNS as DNS for physical machine access, such as:

5, you can configure the network card IP address of the Linux virtual machine to the IP address of this segment of 192.168.137.X/24, the gateway is configured as the DNS address of 192.168.137.1;dns configured as the VMware Network Adapter VMNET8 network card , the Linux virtual machine should be able to ping the physical machine and the external network.
To this, the Linux virtual machine on the external network configuration complete!!!

Virtual Linux under VMware Workstation sharing Internet via NAT mode

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.