Being new to Linux, settings things up in CentOS it’s pain in the arse :o) Here some things I learned. If you have more than a few months Linux experiences, there might be nothing new for you here…

IFCONFIG does not work…

Apparently ifconfig has been depreciated. You can still install the package if needed:

yum -y install net-tools

It’s new replacement is IP

ip a

If you want to learn more about it just use

ip help

Another way to setup IPs etc, I found handy are:

# List installed ethernet cards
nmcli d 

# Open NetworkManager 
nmtui

# Set static IP
# e.g. "nmtui edit eth0"
nmtui edit <connection>

# Restart Network service after setting IP as needed
service network restart