February 13, 20233 yr I am seeing some really weird issues with Unraid and multiple network interfaces going to separate VLANs. I am doing this before switching fully over to Unraid from my old Synology NAS which had a setup similar to what I am trying to achieve here. My Unraid box has 9 total network interfaces (2 onboard, 4 on a PCIe Card, and 2 SFP+/1 ethernet ports on another PCIe card) and have cables plugged into 5 of these currently. Each port should be on a separate VLAN. I have a Mikrotik SwOS switch (latest version 2.13) setup to hand out VLANs for the ports, it does this properly for about 12 other devices on these same VLANs so it's not a switch or router issue. DHCP is running on an OPNSense router upstream handing out IPs for each VLAN. If I keep everything on VLAN 1 then it gets an IP just fine allowing me to SSH into it and does this properly for every port. The issue is that for all of my ports, except for VLAN 1, it pulls the self-assigned IP (169.254.200.76/16) instead of pulling an IP from DHCP, as seen in attached screenshot named "Unraid SFP+ Interface." When I check "Enable VLANs" and put in the VLAN ID (16 in this case) it does the exact same thing for the VLAN sub-interface, as seen on the "Unraid SFP+ Interface with VLAN Set" screenshot. When I SSH into it and run "ip addr" then it shows the exact same thing with the interfaces being up for both the eth7 and eth7.16@eth7 interfaces having that self-assigned IP. Now the totally crazy thing I am seeing is if I turn off automatic IP assignment and give it a static IP in the range for that VLAN the UI is unavailable and I am unable to ping, SSH, or access the server from the network. It gets IP addresses from DHCP according to "ip addr" and the router, but it won't respond to any network activity whatsoever. I have spent the past 3 days trying to diagnose this. As part of this I tested out the hardware in another machine and got each port connecting to the separate VLANs just fine which ruled out hardware and networking config issues. So it's appearing to be a Unraid networking software issue to me and I can't for the life of me figure out what's happening here. I am pretty savvy with Linux and networking (I do a lot of cloud networking and SDN-related work for my job), but I have not dug deep into the networking guts of Linux in probably 20 years which is impairing me on figuring out the issue here as I am not sure where to look these days. Has anybody else ever come across this issue and can chime in for how I can resolve this? Are there are any logs I can dig through to find what might be happening here to help diagnose?
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.