Fixed ip Computer Virtual Machine Internet access settings

Source: Internet
Author: User


Set the "local connection" in the network connection of the virtual machine to access the Internet by using the virtual machine with a fixed ip address. (Right-click "Local Connection" and double-click "Internet Protocol" to see if it is automatic! Change the fixed IP address here !) Www.2cto.com
1. Of course, the VM's Internet access method is selected as NAT. Right-click the virtual machine you want to set and select "set" (because there are more than one virtual machine), select "Ethernet" in "hardware", and change the network connection on the right to "NAT-OK. 2. click "edit" in the menu bar and select "Virtual Network Settings". Remove the "Automatic bridging" and select "DHCP" to enable the DHCP service, click "start"-application, and then enable the "NAT" function in the same way. Features of NAT Internet access 1. you do not need to set the virtual network card of the host (automatically obtained by default. the NIC in the virtual system does not need to be set (automatically obtained by default). The premise is that the virtual dhcp server works normally. The second method is to access the Internet: The Bridge mode is used for the Virtual Machine to select "bridge ", after bridging, you can directly access the Internet, but you cannot share data with the host. Therefore, I use the "share" method to share the host Nic so that the VM can access the Internet and share the host information. In the network neighbor ---- attribute --- ADSL -- attribute --- advanced ---- Internet Connection Sharing ----- "allow other computers ...... then, select the option "Local Connection" -------- confirm the warning box appears, OK, disconnect ADSL, re-connect ADSL, and access the internet. OK! Service network 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.