Change Centos IP address

In common situation, "system ip address" is the ETH0 address.
So edit /etc/sysconfig/network-scripts/ifcfg-eth0 with your favourite text editor and run service network restart

ps
 don't forget to change default gw also,  it's located in /etc/sysconfig/network.
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
Yes0
No0