I've replaced the motherboard on this machine. Most things worked on start-up, but there's a problem with ethernet connections. Before the change, the ethernet connection was enp2s0, statically linked to 192.168.1.9.
Now ip addr tells me the connection is enp4s0, dynamically linked to 192.168.1.188. When I try to reconfigure it to static/192.168.1.9, I'm
told that "that address is already used by a connection that starts on
boot (enp2s0) and that I have to configure it not to start at boot."
I don't understand where enp2s0 is declared, because ip adsdr makes no mention.
Help!
I've replaced the motherboard on this machine. Most things worked on start-up, but there's a problem with ethernet connections. Before the
change, the ethernet connection was enp2s0, statically linked to
192.168.1.9.
Now ip addr tells me the connection is enp4s0, dynamically linked to 192.168.1.188. When I try to reconfigure it to static/192.168.1.9, I'm
told that "that address is already used by a connection that starts on
boot (enp2s0) and that I have to configure it not to start at boot."
I don't understand where enp2s0 is declared, because ip adsdr makes no mention.
Help!
On Tue, 02 Sep 2025 08:27:58 -0400, Grimble <grimble@nomail.afraid.org> wrote:Thanks, David, that did it.
I've replaced the motherboard on this machine. Most things worked on
start-up, but there's a problem with ethernet connections. Before the
change, the ethernet connection was enp2s0, statically linked to
192.168.1.9.
Now ip addr tells me the connection is enp4s0, dynamically linked to
192.168.1.188. When I try to reconfigure it to static/192.168.1.9, I'm
told that "that address is already used by a connection that starts on
boot (enp2s0) and that I have to configure it not to start at boot."
I don't understand where enp2s0 is declared, because ip adsdr makes no
mention.
Help!
The old one is still referred to in a file /etc/sysconfig/network- scripts/ifcfg-enp2s0 that
was created when that nic existed.
Either delete the file from that directory manually, or you can delete
it using draknetcenter.
Instead of deleting it though, you may want to move it to /root so you
can check it's values later.
Regards, Dave Hodgins
On Tue, 02 Sep 2025 08:27:58 -0400, Grimble <grimble@nomail.afraid.org> wrote:
The old one is still referred to in a file /etc/sysconfig/network- scripts/ifcfg-enp2s0 thatOn a not-unrelated matter, I am logging many "IPv4: martian source
was created when that nic existed.
Either delete the file from that directory manually, or you can delete
it using draknetcenter.
Instead of deleting it though, you may want to move it to /root so you
can check it's values later.
Regards, Dave Hodgins
On a not-unrelated matter, I am logging many "IPv4: martian source
messages from 192.168.1 196 on dev enp5s0". Although ifcfg-enp5s0 has "BOOTPROTO=static,IPADDR=192.168.1.10", I can see from a network scan
that it has also picked up a DHCP address, which is the ...196 one. How
can I prevent that?
Sysop: | Luis Silva |
---|---|
Location: | Lisbon |
Users: | 764 |
Nodes: | 10 (0 / 10) |
Uptime: | 25:47:57 |
Calls: | 546 |
Calls today: | 1 |
Files: | 46,973 |
Messages: | 13,609 |