

An mDNS reflector is required to make devices discoverable and usable by other devices located on different VLANs. It is also used by Apple Bonjour, Spotify Connect, and printers.

So networks include controls on where multicast traffic is sent. However multicast can cause unnecessary load on host devices by requiring them to process packets they have not solicited, and when purposefully exploited, this can form the basis of a denial-of-service attack. By default a switch will flood multicast traffic to all the ports in a broadcast domain (or the VLAN equivalent). Multicast - Multicast traffic needs to be able to get between the casting device and the Chromecast.So the main issues to getting Chromecast to work across networks are: This is achieved by using a new search target within the Simple Service Discovery Protocol (SSDP), defined by Universal Plug and Play (UPnP).Ĭlients (known in UPnP as a ‘control point’) wishing to discover Chromecast servers send a request over UDP to the IPv4 multicast address 239.255.255.250 and UDP port number 1900. DIAL Service Discovery enables a client to discover a DIAL Server (Chromecast) on its local network, and obtain access to those services.

This uses the DIAL protocol (DIscovery And Launch). Going down the rabbitholeĬhromecast gets an IP address using DHCP, and then uses a simple multicast protocol for discovery and launch. So I knew it was something to do with the network configuration.

I wondered why and wanted to fix this.Ĭasting to an audio group did work from a device on the untrusted network. Great!īut it didn’t work completely - audio groups didn’t appear in the cast target list. With this configuration, it was possible to cast from a trusted device to a Chromecast on the untrusted network. MDNS (Multicast DNS) setting in UniFi Controller
#Unifi discovery chrome pluggin how to
Ubiquiti have a support article on UniFi Best Practices for Managing Chromecast/Google Home which goes through how to configure a UniFi network so you can cast to Chromecast devices on a separate VLAN. It might work for you if you have a similar setup, though it won’t work on a UniFi Dream Machine (UDM) for reasons described below.
#Unifi discovery chrome pluggin software
My network is built around a UniFi Security Gateway (USG3), a UniFi US-8–60W Switch, UAP-AC-Pro Access Points, with the controller running on a first generation UniFi Cloud Key, all with latest stable release software as of February 2021. Hopefully it might save someone else some time. I figured this out after a lot of searching and finding inconsistent answers. I wanted to have the protection of putting Chromecast devices on this network, and still be able to cast to them from devices on the trusted and guest networks. I have a separate “Internet of Things” network to limit the potential impacts from untrusted devices around the house. Google Chromecast on a separate VLAN with UniFi Security Gateway
