VMware on ubuntu14.04 Internet problem

Source: Internet
Author: User
There are 2 modes of virtual machine surfing, Nat and bridging.

NAT-Mode Internet configuration process

This is provided that the host Windows is connected via wireless WiFi (or Windows is available via wired Internet access).

Then configure the following:

1. Select the virtual machine for NAT mode;

2. Configure the use of DHCP in Ubuntu/etc/network/inerfaces files;

Append the input in the Inerfaces file:

Auto Eth0

Iface eth0 inet DHCP//static is static

Address 192.168.1.100

Netmask 255.255.255.0

Gateway 192.168.1.1 NOTE: DHCP automatically assigns DNS server addresses, and once a static IP is set, there is no automatically acquired DNS server to set one yourself.

3. Third Restart network card: Ifdown eth0 and then ifup eth0 can be confirmed, the IP address can be online.


The process of network configuration on Bridge connection mode

The premise is that the host Windows through wireless WiFi internet access (host through the wired network card configuration is different).

Then configure the following:

1. Select the virtual machine to connect to the bridge;

2. Configure the virtual machine bridge to the wireless network card (if the host Windows is via wired Internet, bridge to the wired network card);

3. Configure the use of DHCP in Ubuntu/etc/network/inerfaces files;

4. Then restart the network card, confirm that the IP address can be online.

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.