[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eno16777736
TYPE=Ethernet
BOOTPROTO=staticNAME=eno16777736
ONBOOT=yes
IPADDR=172.16.146.115
NETMASK=255.255.255.0
GATEWAY=172.16.146.1
DNS1=192.168.252.3
[root@localhost ~]# systemctl restart network