How to change IP address on CentOS Linux

A few weeks back I needed to change my IP address on a Linux CentOS installed in a VirtualBox machine. Here is how to do it:

ifconfig eth0
ifconfig eth0 netmask



Leave a Comment

Your email address will not be published. Required fields are marked *