Changing NIC's - Routing table broken

Hi all

Wondering if there is any way to fix my issue without console access. My NAS has an onboard Realtek NIC which has been flaky, this is set up as re0. I have just added an Intel 10gbe NIC which is configured as ix0. Even though both NIC’s will get an IP address happily on the 192.168.1.0/24 network, if I unplug re0 (Or boot up with it unplugged), I cannot ping the TrueNAS box.

The route table shows 192.168.1.0/24 via re0

Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
localhost          link#4             UHS         lo0
192.168.1.0/24     link#3             U           re0
192.168.1.101      link#1             UHS         lo0
192.168.1.120      link#3             UHS         lo0

Any way to fix this without connecting a keyboard/monitor. As a last resort I can do that, but it’s going to be a pain to do.

Just to add. I have no static routes defined.

Do you have GUI access? You can do it through the GUI. Can’t be on same network segment. Only one port can have DHCP. Is the Intel 10Gbe replacing the Realtek?

Just to verify, you are on CORE? TrueNAS-13.0-U6.2?

Hi, yes on TrueNAS-13.0-U6.2

The 10gbe will be replacing the Realtek (But the Realtek will just be disabled/left with no IP. Can’t remove it as it’s integrated.

Please disregard. The re0 obviously had a higher metric (Maybe because it had static IP). Removing the IP from the interface fixed the issue

From the menu, Network, Interfaces.
You should be able to turn off dhcp on the RealTek and turn it on the Intel. You end up having to TEST and Verify.

Docs section that may help. If you don’t confirm changes during test, it reverts, if I remember.