情况一: 查看网卡配置文件 vi /etc/sysconfig/network-scripts/ifcfg-eth0 完成后 重启网卡服务即可 转载于:https://blog.51cto.com/longhun/1320369