NAT, the difference between bridging and host only
1. Difference between nat, bridge and host-only
nat: Internet connection possible
Virtual host---> Host----> Internet (Virtual host and host are parent-child relationship (Virtual host has no autonomy, if host has problems, virtual host cannot communicate with the outside world, inheritance relationship))
Pros: Virtual hosts are less likely to cause IP address conflicts
Disadvantages: Virtual hosts need to rely on host machines to be able to access external networks, and their independence is relatively poor.
Bridging: Internet connectivity
Virtual host---> Host----> Internet (Virtual host and host are parent-child relationship (Virtual host has autonomy, if there is a problem with the host, virtual host can contact the outside world by itself, cooperative relationship))
Advantages: Virtual hosts can communicate with the outside world without the help of host machines, and are relatively independent.
Disadvantages: Virtual hosts have the ability to communicate independently with the outside world, so it is easy to cause IP conflicts.
Host only: Can connect to a local area network
2. Some common tips for virtual machines
2.1. When you are operating, you can suspend the virtual machine without shutting it down.
2.2. When you need to turn on/off/suspend n virtual machines, you can find the cursor virtual machine displayed by the system process under windows. Right click, you can see multiple virtual machines operating.
2.3. Virtual machine snapshot shooting (snapshot function is to be able to restore the specified place, equivalent to the game inside the save mechanism)
2.4. How to delete obsolete virtual machines