Access through Vmware and Ubuntu

Source: Internet
Author: User
After the vmwarevm is installed, two default virtual NICs (VMnet8 (192.168.65.1) and VMnet1 (192.168.19.1) are added to "Network Neighbor"-"view network link ), of course, the IP addresses of these two NICs may be different on different machines. In windows, the two virtual network cards can be set to automatically obtain IP addresses. In this case, enter ipconfig in the command line to view the IP addresses assigned to them. At the same time, we also need to select VMware with two Network Connection Methods

After the vmwarevm is installed, two default virtual NICs (VMnet8 (192.168.65.1) and VMnet1 (192.168.19.1) are added to "Network Neighbor"-"view network link ), of course, the IP addresses of these two NICs may be different on different machines. In windows, the two virtual network cards can be set to automatically obtain IP addresses. In this case, enter ipconfig in the command line to view the IP addresses assigned to them. At the same time, we also need to select VMware with two connection network methods, that is, using the Bridged (bridging) and NAT methods. The former requires the XP broadband connection (ADSL) to use the shared mode.

The VMNet8 Nic used in NAT mode mainly needs to know two important IP addresses: Gateway and DNS:

The first static address (192.168.83.1) is allocated to the VMware Network Adapter VMnet8 Adapter of the host machine Xp;

The second static address (192.168.83.2) is allocated to the NAT device.

(192.168.83.3 to 192.168.83.127) static address, retained. (192.168.83.128 to 192.168.83.254): IP address range of DHCP scope, allocated to virtual machines

NAT shared Internet Settings

I am using the campus network and log on to the client as shenzhoudigital. After Ubuntu 7.1 is installed in VMware 10.04, you want to use NAT sharing to access the Internet. For more information about how to configure NAT shared Internet access, see:

Windows Settings:

1. "Network Neighbor" of the Host: local connection --> properties ---> "advanced" ---> 'Internet Connection Sharing '-- allow other network users to connect through the Internet connection of this computer: VMware Network Adapter VMnet8)

Vmware settings:

2. "Network Neighbor" of the Host: VMware Network Adapter VMnet8 --> properties ---> check whether the host is set to a fixed IP address, for example, IP Address: 192.168.65.1; subnet mask: 255.255.255.0; other Blank

3. Click "edit" in the VM --> virtual NetWork Editor... (edit Virtual Network) ", view VMnet8 In the NAT item in the network Settings (select WMnet8, and then click" NAT Settings... "), check the" Gateway IP ", which is usually 192.168.X.2/255.255.255.0. This address is the NAT Gateway of VMnet8.

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.