Re: [CentOS] nmcli

2021-03-31 Thread Jerry Geis
Chris, On Tue, Mar 30, 2021 at 4:41 PM Jerry Geis 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 >

Re: [CentOS] nmcli

2021-03-30 Thread Chris Adams
Once upon a time, Peter Larsen said: > >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. That's not necessary. For any setting that can be multi-valued (such as

Re: [CentOS] nmcli

2021-03-30 Thread Peter Larsen
>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 wrote: > under CentOS 7 - I use "alias" like eth1:0 for an alias network.

[CentOS] nmcli

2021-03-30 Thread Jerry Geis
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

Re: [CentOS] nmcli: unwanted secondary ip-address

2020-09-24 Thread Simon Matter
> > Actually, we fixed it by killing the dhcclient and and reconnecting > (nmcli con down ... and nmcli con up ... ). > > We are using similar configs and everything is done by using the nmcli, > but we are not facing similar issues there. > > So at this point, I really would like to understand

Re: [CentOS] nmcli: unwanted secondary ip-address

2020-09-24 Thread Felix Kölzow
Dear Mark, thanks for the additional hints. On 22/09/2020 17:26, Mark Milhollan wrote: On Tue, 22 Sep 2020, Felix Kölzow wrote: A secondary ip address seems to be automatically added to a nic which causes several issues in our setup. # nmcli con show NAME  UUID 

Re: [CentOS] nmcli: unwanted secondary ip-address

2020-09-22 Thread Mark Milhollan
On Tue, 22 Sep 2020, Felix Kölzow wrote: A secondary ip address seems to be automatically added to a nic which causes several issues in our setup. # nmcli con show NAME  UUID  TYPE  DEVICE eno4  dbd95c24-1ed7-4292-8dba-3934bd1476a0  ethernet  eno4

Re: [CentOS] nmcli: unwanted secondary ip-address

2020-09-22 Thread Radosław Piliszek
I'd just suspect some rogue dhclient running on the system. Check the process list for dhclient instances and their cmdlines. NetworkManager should not be running any dhclient for that interface with this config. -yoctozepto On Tue, Sep 22, 2020 at 3:38 PM Simon Matter wrote: > > Hi Felix > > >

Re: [CentOS] nmcli: unwanted secondary ip-address

2020-09-22 Thread Simon Matter
Hi Felix > Dear Simon, > > every second IP-address is unwanted. We restarted  eno4: > > nmcli con down eno4; nmcli con up eno4 > > and the second address vanishes. Then after a few ours, the second ip > address reappears. That's really interesting. Doesn't NetworkManager also store other

Re: [CentOS] nmcli: unwanted secondary ip-address

2020-09-22 Thread Felix Kölzow
Dear Simon, every second IP-address is unwanted. We restarted  eno4: nmcli con down eno4; nmcli con up eno4 and the second address vanishes. Then after a few ours, the second ip address reappears. This is the config-file of eno2: # cat ifcfg-eno2 TYPE=Ethernet PROXY_METHOD=none

Re: [CentOS] nmcli: unwanted secondary ip-address

2020-09-22 Thread Simon Matter
> Dear Simon, > > >> And can you diff the config of eno1 and eno4. > > # pwd > /etc/sysconfig/network-scripts Okay, nothing to find here. What about eno2, you also have two IP addresses there and even in the same subnet, is this wanted or not? Can the second address of eno2 be found in the ifcfg

Re: [CentOS] nmcli: unwanted secondary ip-address

2020-09-22 Thread Felix Kölzow
Dear Simon, And can you diff the config of eno1 and eno4. # pwd /etc/sysconfig/network-scripts # diff -u ifcfg-eno1 ifcfg-eno4 --- ifcfg-eno1    2020-09-21 17:23:25.576672703 +0200 +++ ifcfg-eno4    2020-09-22 07:18:43.160532532 +0200 @@ -3,15 +3,20 @@  BROWSER_ONLY=no  BOOTPROTO=none  

Re: [CentOS] nmcli: unwanted secondary ip-address

2020-09-22 Thread Simon Matter
> Dear CentOS-Community, > > we are facing the following issue: > > A secondary ip address seems to be automatically added to a nic which > causes several issues in our setup. Hi, Can you show as the config of eno4? And can you diff the config of eno1 and eno4. Looks like there is a difference

[CentOS] nmcli: unwanted secondary ip-address

2020-09-22 Thread Felix Kölzow
Dear CentOS-Community, we are facing the following issue: A secondary ip address seems to be automatically added to a nic which causes several issues in our setup. This server is equipped with four nics which are currently in use: # nmcli con show NAME  UUID   

[CentOS] nmcli, pppoe (ADSL login and password)

2015-05-26 Thread Mihamina Rakotomandimby
Hi all, My target is: CentOS 7 on a X less gateway My internet provider provides a pppoe connection with a login and a password On CentOS6, I used to setip it up with rp-pppoe wizzard and it works: it sets up the needed things to make the network init script launch the connection at boot. I