步骤一:cd /etc/sysconfig/network-scripts/


步骤二: ls

centos7 connect: Network is unreachable

这时候你会发现没有教程上说的ifcfg-eth0文件,打开第一个即可。

有的教程找不到就新建一个,肯定是错的。


步骤三:vi ifcfg-eno167777736


步骤四:修改ONBOOT为yes 保存退出(参考vi使用方法)

centos7 connect: Network is unreachable


步骤五:service network restart


原文:http://blog.csdn.net/think_ycx/article/details/50240757

相关文章:

  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2022-02-10
猜你喜欢
  • 2021-07-08
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2021-11-17
相关资源
相似解决方案