Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Home Assistant VM in 2 VLANS with one NIC

Featured Replies

Hi all,

 

I'm migrating my Home Assistant setup from a dedicated (but now dead) PC to a VM on Unraid.

 

My Unraid Server has only one physical NIC and runs several Dockers.

 

I have another stand alone server running OPNSense (where I manage "everything network").

 

My Home Assistant VM has to be on two VLANS:

 

  • The "General" one, that is not tagged and all devices use (including all dockers)
  • A "Untrusted" one (VLAN "20"), where I have some IOT devices in

 

On my standalone Home Assistant PC I had two physical NICs and my switch took over for tagging.

 

I guess, in my new setup I could create a virtual nic and tag that one?

 

I am really concernced to break things on my Unraid for all other dockers, etc.

So: Could someone please give an idiot-safe instruction what to do?

 

Thank you very much!

 

Edited by Slarti123
typos

Enable bridge for eth0 and add vlan20, then you will got br0 and br0.20

 

In HA VM, just add 2 virtual NIC br0 and br0.20 with random MAC address, tag vlan20 in Unraid eth0 port at switch side.

 

But you should setup HA VM and confirm it work 1st, then going vlan20 part. You may backup HA from old PC then restore in HA VM.

 

image.png.753685880ab7b9cbcababa7b949369fa.png

Edited by Vr2Io

  • 1 year later...

Did you ever have any luck with this? I can create the VLAN in Unraid and Unraid is getting an IP address on both VLANs, but I cannot access the second VLAN from HA.

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.