Home  >  Article  >  Is the IP address of the virtual machine the same as the host machine?

Is the IP address of the virtual machine the same as the host machine?

王林
王林Original
2021-04-13 15:42:2827698browse

The IP of the virtual machine and the local IP of the host are different for the intranet (LAN). The host's IP is real. Although the virtual machine's network card is virtualized by the host, it may be different from the real IP.

Is the IP address of the virtual machine the same as the host machine?

#The operating environment of this article: windows10 system, thinkpad t480 computer.

The IP of the virtual machine and the local IP of the host are different for the intranet (LAN).

The IP of the host is real. Although the network card of the virtual machine is virtualized by the host, it may be different from the real IP. A virtual machine is like a bridge to another computer, so the two systems are two complete entities under network conditions.

Virtual machine technology is a new technology developed based on the host that cannot meet the needs of use. It is actually equivalent to an image file similar to the GHSOT package on the PC, allowing multiple virtual systems to be installed on a real PC and switched between each other, which is convenient and practical. In practical applications, it is mainly used for multi-user operation or testing.

And the virtual machine has its own independent firewall. When testing in the virtual machine, if there are some files that are harmful to the computer or contain viruses, if the virtual machine system is infected by the virus, you can close the sharing File, or allow the virtual machine to only read files in the shared folder on the host but not write, so that the host is not implicated or affected.

Free learning video sharing: php video tutorial

The above is the detailed content of Is the IP address of the virtual machine the same as the host machine?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn