Internet is a lot, even if Baidu experience pits are written, the code is as follows:
BROWSER_ONLY=no BOOTPROTO=static DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_PEERDNS=yes IPV6_PEERROUTES=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=ens33 UUID=d5f170b2-24a1-43b6-b0c0-e28428e6ddfc DEVICE=ens33 ONBOOT=yes IPADDR=192.168.154.129 NETMASK=255.255.255.0 PREFIX=24 GATEWAY=192.168.154.1 DNS=192.168.154.1
A comprehensive look, the point is
BOOTPROTO=static
= ONBOOT yes
IPADDR = 192.168.154.129
NETMASK = 255.255.255.0 GATEWAY = 192.168.154.1 the DNS = 192.168.154.1
where ip is the IP address dhcp view on the virtual machine network settings come just between dhcp assigned IP on the line