INSTALLATION CENTOS 7

pannau

# hostnamectl set-hostname centos8.srv.word
# nmcli connection modify ens192 ipv4.addresses 192.168.1.XXX/24
# nmcli connection modify ens192 ipv4.gateway 192.168.1.254
# nmcli connection modify ens192 ipv4.dns 192.168.56.1
# nmcli connection modify ens192 ipv4.search srv.word
# nmcli connection modify ens192 ipv4.method manual
# nmcli connection down ens192
# nmcli connection up ens192
# nmcli device show ens192

# vi /etc/sysconfig/network-scripts/ifcfg-ens192

 » 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=ens192
UUID=7146aa2e-f177-4b00-b292-28d520c80e66
DEVICE=ens192
ONBOOT=yes
IPV6_PRIVACY=no
IPADDR=192.168.1.101
NETMASQUE=255.255.255.0
PREFIX=24
GATEWAY=192.168.1.254
DNS1=192.168.56.1
DNS2=8.8.8.8  »

# systemctl enable NetworkManager
# systemctl restart NetworkManager
# reboot