Configure static IP on CentOS/Redhat/Fedora

In this short article i will show you how to configure a static ip on Centos and Redhat in cli mode and not via the GUI.