A virtual machine is called a client and a physical machine is called a host.
Purpose: The client can connect to the host. The client is a static IP address, and the client can access the Internet.
Configuration process:
1. Select the NAT network configuration of the Virtual Machine
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/46/10/wKioL1PtvIuChj41AADiuCAVP6I751.jpg "Title =" 1.jpg" alt = "wkiol1ptviuchj41aadiucavp6i751.jpg"/>
2. Select network configuration on the Virtual Machine Interface
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/46/0F/wKiom1PtvDjR5BByAADoiu2p4BQ171.jpg "Title =" 1.jpg" alt = "wkiom1ptvdjr5bbyaadoiu2p4bq171.jpg"/>
3. The key here is to set up DNS and gateway, and then the client needs to use the gateway and DNS
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/46/0F/wKiom1PtvQrjas25AAKYc2BMg6E670.jpg "Title =" 1.jpg" alt = "wkiom1ptvq1_as25aakyc2bmg6e670.jpg"/>
4. Go to the NAT settings option, set DNS, and view the Gateway
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/46/11/wKioL1Ptvn_h2m_pAAFtFgiJ-TA613.jpg "Title =" 1.jpg" alt = "wKioL1Ptvn_h2m_pAAFtFgiJ-TA613.jpg"/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/46/11/wKioL1PtvqmxGSViAADzrL7KagY980.jpg "Title =" 1.jpg" alt = "wkiol1ptvqmxgsviaadzrl7kagy980.jpg"/>
5. Finally, set the IP gateway on the VM.
This article is from the "ideal hometown of emrys_li" blog, please be sure to keep this source http://9162220.blog.51cto.com/9152220/1540683