Solve the problem of virtual machine using campus network to not get online

Source: Internet
Author: User
This document uses the system for win 7,ubuntu12.04.
for the Campus network virtual machine Internet settings: 1, right-click on the computer, select "Manage", double-click "Services and Applications" and then double-click "Services"; 2. Find the VMware DHCP service to turn it on; 3. Find the VMware NAT service to turn it on;



4, in the settings setting of the VM item, the virtual machine nic is selected to connect the network mode to NAT (Campus network use);


5, in the terminal Input command vi/etc/network/interfaces, open the file, the content editing becomes:
Auto Lo
Iface lo inet Loopback auto eth0
Iface eth0 inet DHCP 6, after saving, perform/etc/init.d/networking Restart restart the network card or restart the virtual machine, you can surf the Internet.



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.