[CentOS] nmcli

Tue Mar 30 20:41:39 UTC 2021
Jerry Geis <jerry.geis at gmail.com>

under CentOS 7 - I use "alias" like eth1:0 for an alias network. Remove the
file restart network - and back to normal. Now I am trying to us
NetworkManager.

I can 'add' the network fine. however - when I remove the network
nmcli connection delete "Wired connection 2" ipv4.addr  192.168.1.58/22

it remove BOTH address and removes the "Wired connection 2" config file -
and it reverts to DHCP not the other static address I had associated with
"Wired connection 2".

how do I just remove the single ADDRESS I added as an alias ? not the whole
thing ?

Thanks

Jerry