首页 > 代码库 > CentOS Linux change IP Address

CentOS Linux change IP Address

1.change network card configure

edit:

  vi /etc/sysconfig/network-scripts/ifcfg-eth0

ps:notice HWADDR!

 

2.restart network service

executive command:

  service network restart  or   /etc/init.d/network restart

CentOS Linux change IP Address