VMware uses Nat for Internet access settings

Source: Internet
Author: User

 

1 Platform

HOST: Windows XP SP3

VMware 7.1.2 in Chinese

Ubuntu 10.04

 

2 configuration method

2.1 install VMware 7 by yourself and install Ubuntu 10.04 on it. Before installing Ubuntu 10.04, You need to configure a Ubuntu Virtual Machine. When configuring the virtual machine, you will be prompted about the network connection method. Here, select the NAT method.

Of course, this networking method can also be set in "Virtual Machine-" Settings "in" Virtual Machine-"Virtual Machine" 7 menu after Ubuntu 10.04 is installed. After the "Virtual Machine Settings" panel is opened, there is a "network adapter" option in the "hardware" column. After you select it, the "Network Connection" option appears on the right side of the Panel, select "Nat. :

Click Open Link

2.2 On the Virtual Machine menu bar, select "edit-" Edit Virtual Network "to open the following panel and select vmnet8 in the panel, at this time, the "vmnet" column below will also have relevant changes. Remove the "use local DHCP service to assign Virtual Machine IP addresses" option.

Click Open Link

You can set the IP address on your own. By default, the virtual opportunity is assigned a CIDR block that switches to 192.168. In this case, I set the subnet to 172.20.99.0, and modify the corresponding "nat Settings.

2.3 modify the virtual network card vmnet in the "Network Connection" on the host, that is, your XP system, and set its DNS to the same as that on your host's XP system.

2.4 configure the corresponding IP address in Ubuntu 11.04, and configure its DNS to the same Internet DNS as your host XP system. The default gateway is consistent with the gateway settings in "nat Settings.

2.5 restart the Ubuntu 11.04 network. The command is sudo/etc/init. d/networking restart.

2.6 as a result, you should be able to access the Internet using NAT.

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.