Big data actual combat Linux Xshell connection failure troubleshooting

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.
Insert picture description here
Insert picture description here

If the ping fails, check the gateway and dns of the configuration file.
cd /etc/netplan
vi 00-installer-config.yaml is
Insert picture description here
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
Insert picture description here
Insert picture description here

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.
Insert picture description here
Virtual network adapter
Insert picture description here

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

Insert picture description here

Insert picture description here
Click to change adapter options.
Insert picture description here
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.
Insert picture description here

Double-click ipv4, change the ip address to 172.25.0.1 and assign an address to VNwarenet8.
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_45059457/article/details/108871541