重装vps
之后ping
不通记录原因及解决方案
现象
vps
重装为centos7
后出现如下问题
From x.x.x.x icmp_seq=150 Destination Host Unreachable
From x.x.x.x icmp_seq=151 Destination Host Unreachable
From x.x.x.x icmp_seq=152 Destination Host Unreachable
From x.x.x.x icmp_seq=153 Destination Host Unreachable
From x.x.x.x icmp_seq=154 Destination Host Unreachable
From x.x.x.x icmp_seq=155 Destination Host Unreachable
From x.x.x.x icmp_seq=156 Destination Host Unreachable
排查
通过VNC
进入后台发现网卡未启动,并且相关工具未安装
yum install net-tools
修改/etc/sysconfig/network-scipts/ifcfg-eth0
中onboot=yes
,开机启动网卡
修改之后重启网卡service network restart