Question on nmcli CentOS 8

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



I am trying to modify the current eth0 with nmcli

I ran this:
nmcli con mod eth0 ipv4.addr 192.168.1.15/22 gw4 192.168.1.1 ipv4.dns
192.168.1.14

and now nmcli shows (two ipv4) addresses.

       inet4 192.168.1.15/22
        inet4 192.168.2.212/22

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
that?
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?

Thanks,

Jerry
_______________________________________________
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