jzhvymetal Posted September 13, 2024 Posted September 13, 2024 I use USB network adapters for Docker and VMs. I found out today that if I leave one connected without an Ethernet cable, Unraid will switch and make it the main network adapter. It took a good day to figure out why Unraid would have status lights on the main adapter but would not connect to the main IP address. Is there any way to block all USB adapters from being used for Unraid at boot? Quote
JorgeB Posted September 13, 2024 Posted September 13, 2024 You should be able to select with NIC is eth0 in Settings - Network Settings - Interface Rules, then reboot. Quote
jzhvymetal Posted September 13, 2024 Author Posted September 13, 2024 (edited) I do not see in the setting a way to set the rules that will force a Adapter/Mac to use eth0. Below is my network settings with one USB adapter connected after boot. If I boot with USB network adapter connected but no cable it will not ping 192.168.10.175 which is the MB ethernet adapter always connected. Edited September 13, 2024 by jzhvymetal Quote
JorgeB Posted September 14, 2024 Posted September 14, 2024 It's not listing the NICs, please post the diagnostics. Quote
jzhvymetal Posted September 14, 2024 Author Posted September 14, 2024 It is listing the MAC's....I just block out the MAC addresses. The problem is that if I boot with the USB Ethernet adapter with cable connected to main LAN, it will ping 192.168.10.175, but the web interface will no longer work, and SSH will be unavailable. Additionally, the main Ethernet adapter will not receive an IP address from my DHCP server. This locks me out because the graphic adapter is dedicated to a Windows VM, so once fully booted, it will not be used for the console. The only solution is to remove all USB Ethernet adapters and reboot. The USB adapters are connected via a USB hub that is normally passed to the Windows VM when fully booted. The USB adapters are not always connected. They are used for IT work on other devices using a different LAN's. Quote
JorgeB Posted September 14, 2024 Posted September 14, 2024 You are missing the interface rules section, like this: Quote
jzhvymetal Posted September 14, 2024 Author Posted September 14, 2024 Could it be that it does not show when not booted with 2 nics? I can not get access when usb nic are connect as described above. I can only add the usb nic after it boots. Is not the interface rules only created when it detect more than one nic at boot? It there way to force the interface rules always when there is even one nic? Quote
JorgeB Posted September 14, 2024 Posted September 14, 2024 1 hour ago, jzhvymetal said: Could it be that it does not show when not booted with 2 nics? It's possible, but I don't know how to fix the issue without being able to select which NIC is eth0 on the Interface Rules section. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.