FreeBSD running vlan and bridge on one shared interface
I have this setup on FreeBSD 13.2 on my Raspberry PI:
ifconfig_bridge0="addm ue0 SYNCDHCP"
ifconfig_bridge0_ipv6="inet6 auto_linklocal accept_rtadv"
Networking from the host works fine.
Networking from jailWifi works fine.
But... jailProxy can send DHCP to the network in vlan 3. But the reply goes to jailWifi.
Does bridge0 have precedence over vlan3? Could I let vlan3 handle packages with the proper vlan tag only and let the rest of the traffic go to bridge0?
Ok. While typing this I came up with a solution which I tested and works.
So now I have this DMZ bridge3 on its own VLAN.
NB: you can't directly link a vlan over a bridge so the epair is in between.