The virtual machine is connected to the external network through a bridge

虚拟机的桥接模式上网。

There are three network modes for virtual machines, namely, bridge mode, NTA mode and golden host mode. In the three modes, the NTA mode and the bridge mode can access the Internet, and the bridge mode can also directly link to other physical machines or virtual machines on the physical machine.
The virtual machine is connected to the external network through a bridge
Preparation: 1. Turn off the firewall of the physical machine and virtual machine
2. Set the virtual network card IP address
3. Set the first three digits of the virtual machine's IP address
Steps:
Enter the virtual machine's network and sharing center,
The virtual machine is connected to the external network through a bridge
open the local link,
The virtual machine is connected to the external network through a bridge
open the properties,
The virtual machine is connected to the external network through a bridge
open IPv4,
The virtual machine is connected to the external network through a bridge
select manual IP, and
The virtual machine is connected to the external network through a bridge
enter the first three digits of the physical machine's IP address. Note: The last digit cannot be the same as the physical machine the same.
The virtual machine is connected to the external network through a bridge
When the icon becomes like this, it means that the network is connected.
The virtual machine is connected to the external network through a bridge
Next, on the virtual machine, we ping the physical machine and Baidu
win+R to open the command prompt, enter ping 192.168.43.100, and the following character appears to indicate
The virtual machine is connected to the external network through a bridge
ping baidu.com
The virtual machine is connected to the external network through a bridge

Guess you like

Origin blog.51cto.com/15011741/2553091