How to setup local IP on cent os for not changable.
Step -1. Open terminal or ssh and check you local IP using ifconfig command.
this is my local IP and i use to change this IP.
Step 2. Type nmtui command in terminal
Step 3. Select Edit connection and hit enter
Step 4. select your ethernet and go to edit.
Select ipv4 manual configuration and add your local ip address which you want.
Also add gateway for your router address and dns are same as showing in image.
Then select ok on bottom and click on back and quite.
Step 5. Then reboot your system using reboot command