1.重启network网卡

service NetworkManager stop chkconfig NetworkManager off 永恒敞开Manager网卡service network restart 重启network网卡

2.获取ip

ip addr