进入网卡配置目录/etc/sysconfig/network-scripts

centos下使用ifconfig命令无法得到ip地址的解决方案

编辑网卡配置文件ifcfg-ens33,把 ONBOOT 设为 yes

centos下使用ifconfig命令无法得到ip地址的解决方案

保存后使用 service network restart命令重新启动网络服务即可。

centos下使用ifconfig命令无法得到ip地址的解决方案

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
  • 2021-12-20
  • 2021-10-07
  • 2021-12-04
  • 2022-12-23
猜你喜欢
  • 2021-12-16
  • 2021-12-07
  • 2021-05-19
  • 2021-08-26
  • 2021-05-16
  • 2021-04-19
  • 2021-12-04
相关资源
相似解决方案