mark 

ifconfig命令在net-tools.x86_64包里。直接安装即可。

yum -y install net-tools.x86_64