Same issue. Both are showing up as devices in the Unifi console with Unraid with a 192.168.10.* address and the home assistant VM with a 192.168.20.* address. Some additional details that may or may not be helpful, in order to get Unraid to stay on VLAN 10, I had to set a Virtual Network Override in the Unifi console for the device. Additionally, I have bridging enabled on my eth0 interface for Unraid and have the following for the IP address setup in Unraid under eth0.