First, LZ should understand how your virtual machine accesses the Internet through NAT, bridging, or host-only.
Bridging Network: in this way, the IP address of the virtual system can be set to the same network segment as the local system. The virtual system is equivalent to an independent machine in the network and is inserted into a switch together with the local machine, other machines in the network can access the virtual system, and the virtual system can also access other machines in the network. Of course, two-way access to the local system is not a problem.
Nat can achieve two-way access between the local system and the virtual system. however, other machines in the network cannot access the virtual system. The virtual system can use the NAT protocol to access other machines in the network.
Host-only network: in this way, only the network communication between the virtual machine and the host can be performed. Other machines in the network cannot access the virtual system or other machines.
In LZ, the virtual machine IP address is 192.168.1.2 and the gateway is 192.168.1.3. Are you sure the IP address 192.168.1.3 exists?