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 192.168.0.34 ifconfig eth0 netmask 255.255.255.0
Sources:
- http://www.tecmint.com/ifconfig-command-examples/
- http://christophermaier.name/blog/2010/09/01/host-only-networking-with-virtualbox