Hi @Crumpy10 , sorry for not replying sooner. It’s been a while since I set up all the VLAN stuff, and once I got it working I forgot about it, but I’ll try to be as helpful as I can. Please ask if anything doesn’t make sense and I’ll try to look into it further.
So, I’m running HA operating system on a VM, using Virtual Box, on a Dell Optiplex i5 machine that is running Windows - it has one hardware ethernet NIC and this NIC supports tagged VLANs natively (It is an Intel I219-LM adapter to be specific). Using the Intel PROSet Adapter Configuration Utility in windows, I created 3 VLANs - ID 0, an untagged VLAN, ID 20, a tagged VLAN for IP cameras, and ID 30, a tagged VLAN just for the alarm. Once I did this, I could see 3 virtual NICs in Network Connections in my windows environment. “MAIN” is the untagged VLAN, which has access to the internet.
The NIC is connected to a managed switch - which deals with routing tagged packets to and from ports on particular VLANs. So my crow runner alarm is connected to a port on my managed switch that has ID 30 VLAN tags attached to it if sending out, and will only receive incoming packets that have ID 30 tags attached to it. The only way the Dell Optiplex NIC can talk to that port is by using the ID 30 virtual NIC.
Now, in virtual box settings for the HA VM, I have exposed two Network Adapters to it. The virtual NICs of VLAN 0 and VLAN 30, as you can see below. These now appear to the VM as two hardware NICs.
Then, inside HA, I used this guide https://community.home-assistant.io/t/setup-vlan-and-ha-tutorial/87705/6 to create two connections
So you can see here which one is the tagged VLAN 30 for the alarm system (enp0s3).
I used the IP subnet 10.0.30.x for VLAN 30. HA has the IP address 10.0.30.2, and the Crow Runner is 10.0.30.3
Then, in my config,
Not sure how helpful this will be, but hopefully you can get it working.