Hi,
I’m trying to solve a weird issue with multicast traffic. Maybe you could help me.
The setup:
I have uPNP/DLNA traffic between a media server (Synology NAS), a media renderer (Cambridge Audio CXNv2, an audio player) and a remote app deployed on a mobile phone. All three devices are on three different VLANs. The media server and renderer are connected to a CRS326-24G-2S+RM. which acts as the router, and I have a hAP AC2 connected to the CRS326 which offers wifi connectivity.
The issue:
At first sight, the configuration does not work, as I only see the media server in the 239.255.255.0. However if I reboot the CRS326, while the renderer is turned on then everything starts working fine: both the media server and renderer join the RP, I can browse the media server content from the renderer and from the mobile app. The media renderer reads the media with no issue in other words it works as expected… until I turn the media renderer off.
When I turn it off then turn it back on, it stops seeing the media server… When I check Winbox,the only difference I see is in PIM configuration: the renderer is not part of 239.255.255.0 anymore. I can wait 1 minute or 1 day, it won’t join and the only thing that makes it work again is to reboot the CRS326.
My analysis so far:
I suspect that at the startup of CRS 326 the media renderer is able to join the multicast group as soon as the ethernet port is available and before the “complete activation of its configuration”, however after that, as “something starts blocking it” the media renderer cannot join the multicast group anymore.
What could cause such a behavior (block) ? How can I diagnose what’s going on (torch ? but what should I look for) ?
Some more information:
- there is a single bridge on the CRS326
- the bridge has the “multicast-router=permanent” option set
- the bridge has the “igmp-snooping=yes” option
- ethernet ports used by the two devices are part of this bridge
- bridge ports used by the devices have the “multicast-router=permanent” option set
- VLANs used by the media renderer and media server are different
- all three VLANs (including the one used by the mobile device) are tagged on the bridge
- all filters rules to “drop packet” are configured to print a log message, but nothing appears in the logs
- all devices get an IP through DHCP (static one for the media server and media renderer)
- option 121 is set for DHCP servers for the coresponding VLANs (multicast route)
- the RP is “close” to the media server (gateway IP)
- a mangle rule is set on the CRS326 in order to increase the TTL of multicast udp packets on port 1900
- a mangle rule is set on the CRS326 in order to increase the TTL of igmp packets
- upnp is enabled for the two vlan interfaces, with the vlan interface used by the media_server as “internal” and the one used by the media renderer set as “external”
- IPV6 is desactivated
Your help is greatly appreciated !
Kind regards,
Michel