host-only mode to connect to the external network
1. Configure the subnet network segment where the virtual machine network is located
2. Configure VMware Network Adapter VMnet1 (that is, the virtual network card of the host, used to communicate with the virtual machine)
3. Shared local connection
4. Set the network configuration item of network properties to hostonly
5, virtual machine Linux configuration ip
or interface modification