centOS 8 nmcli - jjcaful/Tech-Journal GitHub Wiki
To edit a connection with nmcli: nmcli con mod ens192 ipv4.method manual nmcli con mod ens192 ipv4.address 10.0.5.234/24 nmcli con mod ens192 ipv4.gateway 10.0.5.2 nmcli con mod ens192 ipv4.dns 10.0.5.5 nmcli con edit ens192 activate These commands will successfully change the IP address for a machine running CentOS 8 using the nmcli tool. (make sure to re-connect using the new ip address after activating the connection!)