DMXRouter icon indicating copy to clipboard operation
DMXRouter copied to clipboard

Software requires same subnet mask to receive sACN data

Open SirDur opened this issue 7 months ago • 2 comments

DMX Router software seems to not receive sACN data unless the network interface has the same I.P. structure as the rest of the sACN network. The network I'm working with has sACN devices as 192.168.location.device / 16 and if I set the network interface to be the same structure, it receives data. But, if I change the interface to /24 or a different I.P. range all together (i.e.10.0.x.x) the software seems to lose sACN data. Since this data is being put onto the network as multicast data, shouldn't it work on any I.P. range, so long as the IGMP request is being sent to the Querier and processed properly?

SirDur avatar May 02 '26 23:05 SirDur

Hi @SirDur, you’re correct — this is a real bug on my side. Thanks for the detailed write-up. sACN multicast reception should work regardless of whether your NIC’s IP range matches the source’s, exactly as you described. The IGMP join doesn’t require subnet alignment, and your snooping switch was doing its job correctly. The bug was in my packet dispatch path: after the kernel correctly delivered the multicast packet to userland (through the IGMP membership we’d already subscribed to), we were applying a second, stricter filter that compared the source IP against the local NIC’s subnet — and silently dropping packets that didn’t match. That filter was inherited from the Art-Net dispatch path where it’s appropriate (Art-Net is unicast-discovered and the subnet check disambiguates interfaces in dual-NIC setups), but it has no business filtering sACN, which is a multicast protocol where the source can legitimately be on any IP range. Fix is in for v1.9.7 (currently in pre-release): the subnet match runs first to keep dual-NIC stage/FOH separation working correctly when both NICs have valid subnets, but if no subnet matches, the packet is now delivered through every enabled multicast-capable interface instead of being dropped. Since the kernel already pre-filtered by multicast group membership before we got the packet, the question “should we accept this?” was already answered — we just had to assign it an interface ID for routing bookkeeping, which we now do correctly. Will post here again when v1.9.7 ships. Appreciate the report — this had been quietly broken for who knows how long because most lighting networks happen to use 192.168.x.x for everything and the bug never triggered.

fiverecords avatar May 03 '26 00:05 fiverecords

Please check the new version

fiverecords avatar May 03 '26 20:05 fiverecords