Virtual Machine Internet Settings

Source: Internet
Author: User

The "local connection" in the network connection of the virtual machine uses "automatically obtains the IP address" to be good, has the fixed IP the need to the Internet Protocol setting. (Right-click Local connection-double click Internet protocol to see if it's automatic! Fixed IP also change here!)

1. Of course, the Internet mode of the virtual machine selected as Nat slightly. Right button you want to set the virtual machine select "Settings" (because some more than virtual one), in the "Hardware" selected "Ethernet", the right network connection to nat-OK.

2. Click "Edit" in the menu bar-select "Virtual network Settings", first "automatic bridging" to remove (remove hook), and then choose "DHCP" to open the DHCP service, point "start"-application, and then the same way to open the "NAT" function.

The features of NAT in the way of internet

1. The host's virtual NIC does not have to be set (automatically obtained by default)

2. The network card in the virtual system does not have to be set (automatically obtained by default)

This two implementation assumes that the virtual DHCP server is working properly

The second way to connect to the Internet: Bridging mode

Virtual Machine Select "Bridge", after the bridge can directly access the Internet, but can not share data with the host, so I use the "shared" way, so that the virtual machine to share the host network card, so as to achieve access to the Internet and the purpose of sharing host data.

In the Network place----properties---the adsl--property---advanced----Internet Connection Sharing-----"Allow other computers ..." On the hook, then select the option below for "Local Area Connection"--------determine

The warning box appears, OK, then disconnect ADSL, then re-ADSL, Internet, ok!

Service network Restart can access the Internet.

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.