vi /etc/sysconfig/network-scripts/ifcfg-ens33
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
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=ens33
UUID=d58e7ccd-1a56-4266-8964-ac609a3ff29a
DEVICE=ens33
ONBOOT=true
IPADDR=192.168.40.130
NETMASK=255.255.255.0
GATEWAY=192.168.40.2