02-22-2013 10:25 AM - edited 03-07-2019 11:53 AM
Hi all
I’ve been trying a few days now to implement multicast routing on my home network in order to make airplay work between subnets. Specifically between an iphone and a hifi separated by different vlans. Failed, as I have no experience in multicast routing.
So can please anyone enlighten me supposing we have a clean configuration and simple network which consists of two SVIs
Vlan 10: 192.168.1.0 255.255.255.0
Vlan 20: 192.168.2.0 255.255.255.0
any help would be greatly appreciated
ios platform cisco 887
02-22-2013 02:56 PM
Hi,
Since you have 2 different vlans, you need to turn on "ip pim sparse-dense-mode" or just dense-mode under each SVI.
HTH
02-22-2013 03:02 PM
Hi Reza,
Thanks for the reply but no... it's more complicated than you think.
Even media server does not work
02-25-2013 02:35 AM
Hi
As Reza says, on both interfaces configure "ip pim dense-mode"
in global configure "ip multicast-routing"
Thats it, now it should work.
To verify, use show ip mroute and show ip igmp group
Two commonly reason why multicast routing is not working is
1. ttl is set to one by sender
2. the sender is using 224.0.0.x range
/Mikael
02-25-2013 03:37 AM
Hi Mikael
It seems that bonjour services are always set ttl1 and use 224.0.0.251. Is there a workaround to make this routable between vlans?
Alex
02-25-2013 05:39 AM
The bonjour protocol, as you've found, uses a link-local multicast address. This means that it's not routable outside of its vlan.There is no workaround that I'm aware of unless you put an apple tv (or whatever you're using airplay for) in each subnet.
That being said, you could bridge the 2 vlans but you may as well have a single vlan at that point.
HTH,
John
*** Please rate all useful posts ***
08-15-2016 09:23 AM
Yes, I just did this. Use something like Avahi to rebroadcast the Airplay mdns traffic. I use a Ubiquiti Edgerouter (Vyatta linux based) which comes with this Reflector capability. Once I added that, and included it on the VLANs (and added a Firewall rule for port 5353) Airplay between my VLANs works perfectly.
Brett
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide