1. Connect Xshell
1.1 Check the node machine
IP address, gateway, whether you can ping the external network, and whether the host's IP address can be pinged.
Note:
The ip address of the virtual machine here is 172.25.0.11, the
gateway is 172.25.0.254, the
dns is 192.168.43.1, and
qq is used to ping the external network. .com, the
host's IP address is 192.168.43.127.
If the ping fails, check the gateway and dns of the configuration file.
cd /etc/netplan
vi 00-installer-config.yaml is
mainly about indentation.
If the host IP address cannot be pinged, check the virtual network editor.
The address pool is 172.25.0.0.
Does not use dhcp
gateway is 172.25.0.254
1.2 Check the host
IP address, gateway, whether you can ping the external network, whether you can ping the IP address of the virtual machine host
In the prompt window, enter ipconfig/all to
connect to wifi to find wireless LAN, and to connect to the network cable to find Ethernet.
Virtual network adapter
Look at the IP address of the host, and whether the IP address of the virtual network adapter is consistent with the IP address of the virtual network adapter of VNWare.
ping 172.25.0.11 means whether the ip of the virtual machine can be pinged, if not, proceed to the next step.
1.2.2 Open "Network and Internet" settings
Click to change adapter options.
If VMnet1 and VNnet8 are disabled in the above figure, one point must be enabled.
Select, right-click, and enable.
If you still cannot ping the network, select VNnet8 and right-click Properties.
Double-click ipv4, change the ip address to 172.25.0.1 and assign an address to VNwarenet8.