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, because the Internet environment is different, so, set to NAT mode to share the real machine's Internet access card to the Internet. 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:650) this.width=650; "title=" clipboard "style=" border-top:0px; border-right:0px; 729px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clipboard "src=" http://s3.51cto.com/wyfs02/M02/97/29/ Wkiom1kpnumceiiiaafsm-tyto8857.png "width=" 907 "height=" 591 "data-attr-org-src-id=" BAD18F9A105F4D93AF69FCCE5BAA5C08 "data-media-type=" image "/>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:650) this.width=650; "title=" clipboard "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clipboard "src=" http://s3.51cto.com/wyfs02/M01/97/2A/ Wkiol1kpnurauzz7aacuivqhu5c653.png "" 373 "height=" 436 "data-attr-org-src-id=" 10150fb9c50e46f2b3e5cc0d87f73c67 " Data-media-type= "Image"/>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: 650) this.width=650; "title=" clipboard "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clipboard "src=" http://s3.51cto.com/wyfs02/M02/97/2A/ Wkiol1kpnuvxmzbzaab-rninkvy577.png "" 374 "height=" 412 "data-attr-org-src-id=" 6137C14468A741B7A0D315E54E4DAEAA " Data-media-type= "Image"/>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, and the gateway is configured as 192.168.137.1;dns to be configured as VMware network Adapter The DNS address of the VMNET8 network card, at which point 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.