Ubuntu11.04Server configure the network in the vmwarevm

Source: Internet
Author: User
When VMware is installed, there will be two more virtual NICs VMnet1 and VMNet8 on the system host. Today we will focus on the setting of the virtual system using the NET method and the shared Internet access on the host. The VMNet8 Nic used in NAT mode mainly needs to know two important IP addresses: Gateway and DNS. The first address (192.168.83.1) is a static address allocated to the VMwareNetworkAdapterVMnet8 adapter of the host Xp. Second address (192

When VMware is installed, there will be two more virtual NICs VMnet1 and VMNet8 on the system host. Today we will focus on the setting of the virtual system using the NET method and the shared Internet access on the host.

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

The first address (192.168.83.1) is a static address allocated to the VMware Network Adapter VMnet8 Adapter of the host computer Xp.

The second address (192.168.83.2) is a static address 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.

Modify the network configuration of Ubuntu:

1) set the IP address, gateway, and mask. Vi/etc/network/interfaces, add the following content:

Iface eth0 inet static

Address 192.168.83.200

Netmask 255.255.255.0

Gateway 192.168.83.2

Auto eth0

2) Add DNS, vi/etc/resolv. conf, and add the following content:

Nameserver 192.168.83.2

3) effective:/etc/init. d/networking restart

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.