Linux主机ping出现无效的参数解决方法

环境查看

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)
# uname -a
Linux local-kingbase-003064 4.18.0-80.nk7.12.x86_64 #1 SMP Wed Jul 31 10:20:07 CST 2019 x86_64 x86_64 x86_64 GNU/Linux

错误

ping的时候报错如下

# ping 192.168.3.1
connect: 无效的参数

原因未知

解决方法

重启network即可

systemctl restart network
posted @ 2022-04-06 14:30  minseo  阅读(689)  评论(0编辑  收藏  举报