Re: nmcli

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

You first remove all ipv4.addresses and then add the one you want. Then you
save/activate.

On Tue, Mar 30, 2021 at 4:41 PM Jerry Geis <jerry.geis@xxxxxxxxx> wrote:

> 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
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux