Chromecast crossing subnets
Clients use mDns (a dynamic decentralized dns mechanism) to find the Cromecast. The Edgerouters mdns repeater needs to be enabled on the interface with the Chromecast and also the interfaces with the devices talking to the Chromecast.
set service mdns repeater interface eth3.30 set service mdns repeater interface eth3.40
We now need to punch a hole in the firewall to the interfaces with the mDns repeater.
set firewall name PROTECT_LOCAL rule 30 action accept set firewall name PROTECT_LOCAL rule 30 description 'Accept mdns' set firewall name PROTECT_LOCAL rule 30 destination port 5353 set firewall name PROTECT_LOCAL rule 30 protocol udp
Now we need an UDP broadcast relay service. Britannic in the ubnt forum has made a nice package that is easily installed on the Edgerouter. It can be downloaded here: https://community.ubnt.com/ubnt/attachments/ubnt/EdgeMAX/67208/1/ubnt-bcast-relay.tgz . The following commands installs it.
tar -xvzf ubnt-bcast-relay.tgz chmod 755 install.sh ./install.sh
Then it needs to be set up for the interfaces. Devices talking to the Chromecast use UDP port 1900 broadcasts.
set service bcast-relay id 1 description 'Chromecast relay' set service bcast-relay id 1 interface eth3.30 set service bcast-relay id 1 interface eth3.40 set service bcast-relay id 1 port 1900
Now our devices can talk to the Chromecast 🙂