[CentOS] Question on nmcli CentOS 8

Fri Dec 11 20:19:57 UTC 2020
Jerry Geis <jerry.geis at gmail.com>

I am trying to modify the current eth0 with nmcli

I ran this:
nmcli con mod eth0 ipv4.addr gw4 ipv4.dns

and now nmcli shows (two ipv4) addresses.


I think the original connection was DHCP... the 2.212 item listed.

So I want to change the original DHCP to a static network - how do I do
I only want the one address not two.

So now I need to "remove" both or all and add the 1 I want as static ? how
do I do that?