(re) Assign network interface

Running Scale, 24.02.02. I just finished upgrading my CPU/motherboard (AMD Ryzen 9 5900X, MSI MAG B550 Tomahawk). The MB has a 1Gb and a 2.5Gb interfaces. Both are seen via lspci -vvvv. When I brought box back up after the hardware swap, I had the ethernet cable plugged into the 1GB interface, and let it assign my IP address there. I was showing (4) total interfaces, and was a little confused about which one was which.I deleted two that seemed extraneous/leftover. I think that part went OK.

Now, I want to switch the cable and IP interface over to the 2.5GB interface, but the system won’t let me… it keeps complaining that I have five Kubernetes apps using that IP. I have tried stopping the apps, but that still doesn’t seem to let me move the IP around. I am on the VGA console, and also have SSH/web connectivity.

I’m stuck. What should I try?

A rubber hammer works well for me when I find myself in a computer situation.

All joking aside, do you have a 2.5 GbE network? If you only have a 1 Gbit network then I would not mess with it.

What type of controller is the 2.5GbE NIC? Hopefully a well compatible one.

Have you done an internet search for “truenas scale 2.5 nic” ? There are a lot of items which pop up. Take a look at those first and if you do not find a solution that works, then post exactly what you have tried to fix it so we can provide good advice to you.

I have a multigig switch. The controller is a Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller. Unfortunately, not an Intel, but it is acknowledged by others as working in TrueNAS.

I think my issue is not the NICs, but rather re-assigning the IP address. As recommended elsewhere, I have removed the Node IP, Route v4 interface Route v4 gateway referencing that address/subnet in the Kubernetes settings, have stopped/disabled my apps and single VM, then rebooted. Interface enp5s0 is holding the 192.168.x.x address I’m trying to move to interface enp42s0. When I try to edit the enp5s0 network inteface from the console, I get the message “*enp5s0.aliases: ‘192.168.x.x’ is being consumed by Applications, please use a different node IP in applications configuration.”

As far as I can tell, no applications are using host networking, and they are all stopped anyhow.

Did you read this thread?

OK, I had to unset the pool for apps, make the addressing change, then reset the pool. All good. Thanks for your help joeschmuck.

1 Like