January 1, 20224 yr I’m in the early stages of setting up a security camera network in my home with frigate docker running on unRAID and 3 or 4 IP cameras. Planning to setup a camera VLAN on my pfsense hardware just for the cameras (blocked from WAN). Would like to also have the frigate docker running on that same VLAN to limit traffic through the firewall. My unRAID server has 2 10/100 ports that aren’t being used currently. Is it possible to configure one of these ports in unRAID so that only the frigate docker is using that port which would be connected to the camera VLAN? Edited January 22, 20224 yr by wgstarks
January 3, 20224 yr Author I have found lots of how-tos for setting all dockers to a custom network but no info for setting a single docker to a vlan. The lack of information makes me believe that what I want isn’t possible for some reason???
January 22, 20224 yr Author With a lot of help from an unraid user on reddit I was able to figure this out and am posting here for anyone else tryin to do this. Prerequisites- Router and network switches must support VLANs. You will need to research the configuration of these for your particular brand. Docker service and VM Manager must both be disabled in settings (set enabled to "No"). In Settings>Network Settings set Enable VLANs to "Yes" for your desired ethernet port (eth1 in the pic) and click "Apply". This will add several new settings. Enter your desired VLAN number, set Network protocol (optional) and set address assignment(s) (optional). Click "Apply" once again. In Settings>Docker enable Advanced View. Check the box next to the new network you have just added (eth1 in the pic) and enter the proper subnet and CIDR. Gateway will be the address of your router. Once you have finished, set Docker Enable to "Yes" and click "Apply" Finally, in the configuration settings for your docker container set Network Type to your newly added custom network (Custom:eth1 in the pic) and click "Apply". Note: I am not an expert on networking by a long shot. It took me quite a lot of digging through various forums to piece this together. Some of it may be wrong. If anyone sees any errors please let me know and I'll make the appropriate edits.
January 22, 20224 yr 50 minutes ago, wgstarks said: I was able to figure this out and am posting here for anyone else tryin to do this. And there is also this guide from Bonienl which has been around for a while. I followed it to set up a Docker VLAN in version 6.7 or 6.8 of unRAID. This one is a bit more comprehensive but may be too complex depending on what you are trying to accomplish. Just another point of reference in addition to @wgstarks guide.
January 29, 20242 yr Whelp, maybe 2 years later, but still wanted to say thank you, this was super useful
February 16, 20251 yr Checking in from 2025, thank you @wgstarks for answering your own question as a follow-up ❤️
June 20Jun 20 Greetings from 2026, thank you @wgstarks ! Your post helped me the most!For anyone finding this, also make sure to disable IP Address Assignment for the VLAN and set the Docker Custom Network Type to ipvlan. Edited June 20Jun 20 by Bastian
June 20Jun 20 Author 21 minutes ago, Bastian said:Greetings from 2026, thank you @wgstarks ! Your post helped me the most!For anyone finding this, also make sure to disable IP Address Assignment for the VLAN and set the Docker Custom Network Type to ipvlan.That’s not supposed to be an issue anymore according to LT but I recently had a bunch of unexplained (nothing in the logs) system freezes that totally disappeared after changing MACVLAN to IPVLAN so I would have to agree with you. It’s possible that whatever is causing this issue may be hardware dependent I suppose.
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.