IP address on centos 7 can be configured using NMTUI. NMTUI is a GUI application that can be run on Centos CLI. By using NMTUI the configuration of a dhcp or static IP address is easier. Here's how to configure it.
1. Type after clicking enter. then click edit connection
2. Select the network interface that will be used. Then click edit
3. Click IPv4 configuration and change to manual. Then fill in the IP address, subnet, gateway and also DNS server. After finished scrolling down and clicking ok
4. After that, click back
5. Select the Actiavate a connection menu
6. Then activate the connection that was made earlier by pressing the space bar on the keyboard
7. After clicking click quit
8. Check whether the configuration has been done successfully or not by typing IP a
Tags:
Linux