CentOS重启网卡的方法

CentOS 6

service network restart

CentOS 7

systemctl restart network