It should be the same as win’s dual network card. If the two networks are disconnected, requests to access the external network cannot go through your host-only gateway. You can set the gateway of the host-only network card to empty and try it, or set up routing. Accept.
Ha, it turns out that everyone is busy celebrating the Spring Festival!
This problem is indeed a bit strange. Later, I tried to modify the network card to use bridge link mode and then used the dhclient command. Everything was normal. But the problem was still not solved, so I just waited for the expert.
In fact, after Linux is installed, do not configure it manually. Just select "Connection Mode" as "Bridged Network Card" in the VM. If it doesn't work, you can try restarting Linux.
It should be the same as win’s dual network card. If the two networks are disconnected, requests to access the external network cannot go through your host-only gateway. You can set the gateway of the host-only network card to empty and try it, or set up routing. Accept.
Ha, it turns out that everyone is busy celebrating the Spring Festival!
This problem is indeed a bit strange. Later, I tried to modify the network card to use bridge link mode and then used the
dhclient
command. Everything was normal. But the problem was still not solved, so I just waited for the expert.In fact, after Linux is installed, do not configure it manually. Just select "Connection Mode" as "Bridged Network Card" in the VM. If it doesn't work, you can try restarting Linux.
In system settings, network. Try setting up the network card bound to nat and host only.