Why?
I had set an Omada ER605 so I could put IoT devices on another network, without it talking to my main network, but casting to my Chromecasts and using the LG Sounbar app didn't work, I needed to be on the same VLAN.
I solved this with a little bit of googling, so, here it is:
Solution
Log into Omada
Open your Omada panel by going to omada.tplinkcloud.com.
Now, choose your controller and site.
Adding Bonjour services
Open settings, and in the tab Profiles, choose Bonjour Service.
Here, add a new service by pressing Create New Bonjour Service.
You can use the following casting services:
_airplay._tcp.local
_raop._tcp.local
_appletv-v2._tcp.localAirPlay (available by default)¹
_display._tcp.localMiracast²
_googlecast._tcp.local
_googlezone._tcp.localGoogle Chromecast³
_lg-smart-device._tcp.localLG Soundbar⁴
_spotify-connect._tcp.localSpotify Connect⁵
_sonos._tcp.localSONOS⁵
_androidtvremote._tcp.localAndroid TV⁶
_amazonecho-remote._tcp
_homekit._tcp.local
_workstation._tcp.localAmazon Echo⁶
_amzn-wplay._tcp.localAmazon TV⁶
_aqara-setup._tcp.local
_aqara._tcp.localAqara⁶
_hap._tcp.localApple HomeKit⁶
_companion-link._tcp.localApple TV iPhone Remote⁶
_bose._tcp.localBose⁶
_philipshue._tcp.localPhilips Hue⁶
_roku._tcp.local
_rsp._tcp.localRoku Media Player⁶
_tplink._tcp.local`TP-Link⁶
_udisks-ssh._tcp.localUbuntu and Raspberry Pi advertisement⁶
_nanoleafapi._tcp.localNanoleaf API
_home-assistant._tcp.localHome Assistant
_fbox._tcp.localFRITZ!Box
_tr064._tcp.localTR064
Allowing mDNS through VLANs
Now, open the Services page, and choose the mDNS tab.
Create a new rule by pressing Create New Rule.
Here, give it a name, like "Allow Casting through VLANs"
Tick the Enable box
Device type should be Gateway
Choose the services we just configured
Now press Apply, and you're done!
Sources
1: Omada itself
2: reddit.com/r/sysadmin/comments/x1fqh9/comment/imdxxzq
3: reddit.com/r/TPLink_Omada/comments/10du4a5 and community.tp-link.com/en/business/forum/topic/632058
4: reddit.com/r/Cisco/comments/av1fdd
5: community.tp-link.com/en/business/forum/topic/632058
6: community.tp-link.com/en/business/forum/topic/632856