Difference bridging, NAT, and only the host mode

bridging:

And it can communicate with other Linux systems, but may cause ip conflict. Equivalent to between physical hosts and virtual machine network card to set up a bridge, which can access the Internet through the network card physical host.

NAT:

Network address translation, Linux can access the Internet, ip will not cause conflict. That allows VM virtual machine network service router role to play, so that the host virtual machine software simulation of the physical host can access the Internet through the physical network adapter in the real machine in the corresponding virtual machine NIC NAT is VMnet8.

Only the host:

Your Linux is an independent host, you can not access the Internet. I.e., only the physical host for the host to communicate with external network can not access the virtual machine, the real machine in the analog mode only the host physical NIC card corresponds VMnet1.

Published 32 original articles · won praise 11 · views 6191

Guess you like

Origin blog.csdn.net/Cai1010110/article/details/103115219