[CentOS] Question on nmcli CentOS 8

Fri Dec 11 21:14:17 UTC 2020
Peter Larsen <peter at peterlarsen.org>

On 12/11/20 3:19 PM, Jerry Geis wrote:
> So now I need to "remove" both or all and add the 1 I want as static ? how
> do I do that?


You have to remove the addresses and then add a new one. The 
ipv4.addresses is plural and additional when you set it. So to override 
you need to first remove all addresses, and add those you want to keep. 
Once you change method to manual, dhcp should be disabled.

You do need to reactivate the connection once you've save the changes 
(same/typical nmcli procedure).


-- 
Regards
   Peter Larsen