1. Virtual machine settings
Virtual machine settings, network adapter, select Host-only: Share a private network with the host
Description of Bridge, NAT, host-only three network modes:
(1) Bridging: Represents a real system within the LAN, at which time Linux has its own IP address.
(2) Nat:windows a common IP address with Linux.
(3) VM1 as a switch in the Host-only:windows network attribute is inaccessible in the LAN and can only be accessed by the current host.
2. Virtual Machine Linux Settings
First, in the Virtual Machine menu, select Edit-and-edit virtual machine parameters to see the subnet address used by Host-only VMnet1, for example, my is 192.168.221.0
Then set the virtual machine Linux network parameters, the IP address is 192.168.221.***, the subnet mask is 255.255.255.0, the gateway is 192.168.221.1
Finally open Putty.exe, enter the Linux IP address 192.168.221.*** port number 22 connection type SSH (with encryption function), open and then enter the username password.
Putty terminal emulation Telnet virtual machine Linux