背景

  使用ifconfig无效

解决方案

     通过yum安装,只需要一个命令

yum install net-tools.x86_64 -y