Hi Guys!
Let me share my experience.
I've got C3750E with few VLANs. 1 VLAN for wifi clients an cisco standalone AP (no WLC in use), and 1 VLAN for wired clients.
I struggled to set up chromecast for a year, I didn't find a good example until last night I found an example So I would like share this and helps for anybody.
Switch#
.....
service-list mdns-sd REDISTRIBUTE-IOT-MDNS permit 10
match message-type query
!
service-list mdns-sd REDISTRIBUTE-IOT-MDNS permit 20
match message-type announcement
match service-type _googlecast._tcp.local
!
service-list mdns-sd REDISTRIBUTE-IOT-MDNS deny 30
!
!
service-list mdns-sd QUERY-IOT-MDNS permit 10
match message-type query
!
service-list mdns-sd QUERY-IOT-MDNS deny 20
!
!
service-list mdns-sd PERMIT-ALL permit 10
!
!
interface Vlan1
ip address 192.168.0.1 255.255.255.0
description Default VLAN for wired
service-routing mdns-sd
service-policy QUERY-IOT-MDNS IN
service-policy PERMIT-ALL OUT
ip pim sparse-dense-mode
!
interface Vlan4
ip address 192.168.4.1 255.255.255.0
description IoT VLAN with Chromecasts and Sonos Airplay2 devices
service-routing mdns-sd
service-policy REDISTRIBUTE-IOT-MDNS IN
service-policy PERMIT-ALL OUT
ip pim sparse-dense-mode
!
Source: https://www.roelbroersma.nl/howto-chromecast-or-airplay-in-different-vlan-on-a-cisco-switch-ios15-2/