By default, When you give the Manual IP address in the Centos and after every restart it will deactivate the network interface and you have to activate the network connection manually after every reboot of the system.
The reason it happens is that you have not configured the onboot system.
Now let’s see, How you can do that . Only you have to change the onboot=no to onboot=yes.
[root@localhost /]# vi /etc/sysconfig/network-scripts/ifcfg-enp1s0 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=none DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=enp1s0 UUID=92dd2450-f660-403a-98a9-d06ede076acc DEVICE=enp1s0 ONBOOT=yes IPADDR=100.1.1.10 PREFIX=24 GATEWAY=100.1.1.1 DNS1=8.8.8.8 DNS2=4.2.2.2 [root@localhost /]#
You you will change onboot=no to onboot=yes , You have to restart the network manager once.
[root@localhost /]#systemctl restart network