Welcome to the rabbit hole. How deep are you into this one?
In 5 years on this forum, this is a first. VLANs are typically configured on routers or managed switches. I have never seen anyone who has done this right on the NIC of the host computer.
First of all: the HA accepted the command finally. I mistyped the name of the interface.Had to be “end0”
I added two VLANs, 3 and 4. Now in the config only the additional end0.4 appeared. Tried to configure it. Result:
Interface end0.4 does not exist
The reason why i want to do so - long story:
I Added a Matter bridge to HA. Easy way to integrate all (wanted) entities to Google Home which has a Matter hub.
Connection between the Matter bridge (in HA) and the Matter hub (in Google Home) works fine. But only as long as they are in the same subnet.
Reason:
Matter works with IPV6. All local IPV6 Adresses are fe80:-range. By definition in IPV6 fe80-adresses are never routed.
HA and Google Home are in different subnets and will remain there.
In addition i (we) have two Google Home installations (my son and me) in different subnets. So the problem touches three subnets.
The solution is, to put HA in addition to it’s default subnet in the two other subnets.
Finally remember my above mentioned problem Interface end0.4 does not exist
Happy fighting with HA then.
mDNS will only run on one of the fe80 interfaces and you can not control which one it will be and it can change with each reboot.
Keep us informed how this goes. This is the first time I’ve seen Matter Bridge being used with multiple interfaces.
Not sure, but I think you’re saying you used the command ha network vlan end0 4 and it appeared to work where it shows up in the UI->Settings->System->Network (but end0.3 does not show up there), then my guess is that this is a bug.
Nothing stopping you from doing what you want, but just know there is not support for segmented networks, You are on your own. Also if you do an HA update with tweaked settings like that, it’s likely they will be gone…
For other reason i started a new installation of HA on a new machine with restore of the config before i tried the above mentioned.
Then i added only one additional VLAN-Connection (VLAN 3) and configured it in the GUI.
After that i added the second VLAN connection (4) and it appeared in the GUI.
Seems that an unconfigured VLAN doesn’t remain in the settings.