I have tried to make a vlan between mikrotik and freebsd and failed.
I use freebsd 4.11-stable and mikrotik 2.9.23
I created a vlan interface on mikrotik and told it to use vlan ID 10 and gave it IP address of 192.168.4.10/24 and attached it to ether1
On FreeBSD, I created vlan
ifconfig vlan0 create vlan 10 vlandev fxp3
ifconfig vlan0 inet 192.168.4.9 netmask 255.255.255.0
The ether1 of mikrotik is connected to fxp3 of FreeBSD and this link works because I also gave IPs on ether1 and fxp3 and they are able to communicate however vlans on Mikrotik and FreeBSD are not able to ping each other.