UPNP logouts on network bridge sn 54449 - 1.13 (119) , 1.13(506),1.02

Hi Pierre, I hope I’m not misunderstanding the problem you’re facing, but it sounds like the UPnP servers on your network are not always found by Mosaic, is that correct? :thinking: If so, you’ve rightly suspected that maybe IGMP Snooping plays a part in this problem.

Since this IGMP Snooping issue keeps popping up every now and then here on the dCS Community, perhaps I can explain the issue plainly as it may also help others who might want to understand the underlying problem with IGMP Snooping on Ethernet Switches.

First, some background;

  • A basic part of the UPnP standard is to use Multicast packets to broadcast availability of the UPnP Server to Renderers & Control-Points (e.g. Bartok & Mosaic). The specific protocol used is SSDP - this is just for advertising service availability only, so there’s actually very little multicast traffic.

  • IGMP Snooping is a capability found on some Ethernet Switches (typically “Managed Switches”) that enables it to pass multicast traffic only to those connected client devices (e.g. dCS DAC) who’ve “joined” a multicast group, while filtering out multicast to all other ports.

  • Also associated with IGMP Snooping is something called a “Group Membership Interval”, this is a time-limit that an Ethernet Switch will maintain the list of clients who’ve joined to receive multicast packets. Once the timer expires, the Ethernet Switch will filter out multicast to that client/port on the original list unless the client device re-Joins membership to the multicast group.

  • Client will only request to rejoin the multicast group if queried by a designated multicast Router/Switch.

So, here’s the problem;

  • When a dCS DAC first boots-up, within a few seconds after getting it’s IP address, it will send out an IGMP multicast group join request (it actually sends out 2; one for UPnP SSDP Multicast group, and another for Apple Airplay).

  • With an Ethernet Switch that has IGMP Snooping enabled, it will notice (“snoop”) that IGMP Join request, and it will mark the (dCS connected) Ethernet Port to not filter out multicast traffic. So, when the UPnP Server advertises itself, the dCS DAC sees it, and Mosaic will list the UPnP Server.

  • After some time however, when the Group Membership interval has expired, the Ethernet Switch will just drop that Ethernet port from the “not-filter” list, and expect the dCS DAC to re-join when queried.

  • The problem is, in most Home LAN set-ups, there are no IGMP Query Routers/Switches, so no one asks the dCS DAC to rejoin the multicast group! When that happens, multicast packets can’t reach the dCS DAC because the Ethernet Switch filters them out! And the UPnP Servers disappear from Mosaic.

So, there are a couple of ways to solve the above problem, but the simplest and most efficient way is to turn OFF IGMP Snooping, so that multicast packets are never filtered out on any port.

But if you have an Ethernet switch like the D-Link DGS-108 (and those who OEM that switch) where IGMP Snooping cannot be turned off, then you’ll have “intermitten” problems with UPnP discovery. :laughing: