Home router change ip daily ventilation leads to xshell off, it was replaced by a static ip ping nowhere attention to first prepare a normal ip ping -c 5
View cmd ipconfig to see your Windows
vim /etc/sysconfig/network-scripts/ifcfg-ens33
Original:
Adding modified
BOOTPROTO=static
IPADDR=192.168.1.111
NETMASK=255.255.255.0 GATEWAY=192.168.1.1
重启
systemctl restart network.service
Add temporary ip: ip addr ad 192.168.1.112/22 dev ens33