Fixed ip computer Virtual Machine Internet access settings
Source: Internet
Author: User
Set the local connection in the network connection of the virtual machine of a fixed ip to automatically obtain the IP address. (Right-click local connection and double-click Internet protocol to see if it is automatic! Change the fixed IP address here !) Www.2...
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.
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