Nmcli
From DWIKI
Examples
Show connection names
nmcli connection show
First field is connection name, eg "System eth0"
Links
Set nameservers
nmcli con mod ens01 ipv4.dns "127.0.0.1 192.168.12.6 62.212.131.101"
Disable ipv6
For example when getting errors about do-add-ip6-address
nmcli device modify eth0 ipv6.method "disabled"