Unicast Traffic to ArtNet Node outside LAN does not work
Currently I have an ArtNet Node on a network (192.168.2.5/24), and DMXRouter on a network (192.168.1.10/24)
192.168.2.5 is reachable through the gateway at 192.168.1.1 (I can access the web interface of the node from the machine DMXRouter is running on)
I have configured an Engine to Unicast to 192.168.2.5, however I'm not receiving traffic at the node, I have tested outputting data directly to the node with MagicQ (192.168.1.9) which works fine, but when I try from DMXRouter it does not work (I have tried changing the interface for the ArtNet Unicast output, but it doesn't work) (I also cannot see the ArtNet node in the Nodes panel, does this only show nodes found via discovery?)
I know it is not ideal for synchronization, but in this instance I don't really have the option to connect the ArtNet node to the same network as DMXRouter (or add a VLAN/2nd interface to DMXRouter)
Is this possible?
Thanks for the report. This is an unusual network topology — Art-Net is designed to operate within a single Layer 2 subnet, so cross-subnet unicast (routing through a gateway) is outside the protocol's intended use. DMXRouter binds its Art-Net output socket to the selected interface IP. The packet should still be routed by the OS through the gateway, but some Art-Net nodes reject or ignore traffic arriving from a source IP outside their own subnet — this is a common implementation detail in many nodes. That said, I can check if there's something specific in the socket setup that prevents the packet from leaving in this scenario. Could you confirm:
Which interface are you selecting in the engine output configuration? Can you run a Wireshark capture on the DMXRouter machine and check whether the packets are actually being sent? If possible, do the same capture while sending from MagicQ — since that one works, comparing both captures would show if there's a difference in source port, source IP, or packet structure that explains why the node accepts one and not the other.
Yeah I agree it's not ideal, but I have seen it in use for architectural installs where speed/synchronization doesn't really matter as it's pretty much static
I have managed to get some packets out, but they seem to be outputting at 1fps (33fps is going in) and I don't seen any ArtPolls
It would be nice to add some static routes to nodes in the Discovery window which might fix this, and also allow manageability of the nodes
This could also be fixed with an option for broadcast/unicast that just spits it out at full speed
Good to know some packets are getting through — the 1fps rate suggests the data path works but something is throttling it. The engine output uses the normal 33fps rate so this might be related to how the socket handles cross-subnet delivery (possibly waiting for ARP resolution on each send cycle). The missing ArtPolls are expected — ArtPoll is broadcast and won't cross a subnet boundary through a router. Adding static node entries in Discovery and a "raw unicast" output mode that bypasses the node table are interesting ideas. I'll keep them in mind for a future update, though they're outside the scope of the current architecture.
I also have some regular broadcast outputs added (no ArtNet nodes connected) and they are also at 1fps, could this be related?
Yes, that's related. DMXRouter has an output rate limiter that only sends at full speed when the DMX data is actually changing between frames. If the scene is static (same values every frame), it drops to a keep-alive rate of roughly once per second. This applies to both Art-Net and sACN outputs regardless of whether nodes are connected. So if your input is 33fps but the channel values aren't changing frame to frame, the ~1fps output is expected. As soon as the data changes, it ramps back up to full rate immediately.
Hmm, I think something isn't quite right, I can see the data going in (some very fast chases) but on the output all I see is 0's (and confirmed this in wireshark) I have it configured on Forward mode
That sounds like a real issue. Could you share a screenshot of the engine configuration (both the input and output settings) and the Universe Monitor showing the incoming data? That will help me see if the data is reaching the engine internally or if the input binding is the problem.
Can you try changing the input interface from “Any” to your specific network interface (netplan-ens33 / 192.168.217.130)? There may be an issue with the “Any” wildcard matching in the engine. That should get the output flowing.
Yes that seems to have fixed it (for both broadcast and unicast)
I guess all that is still not working is the node appearing in Discovery (due to ArtPoll only being broadcast at the moment)
Which I think adding some form of static routes for would be an acceptable solution
Great, glad that’s working now. I’ve also found and fixed the root cause of the “Any” interface issue — it will be in the next release. Regarding static node entries for cross-subnet discovery, that’s a reasonable approach. I’ll add it to the roadmap.
v1.7.11 adds static node entries — you can now add nodes by IP in the Discovery tab ("Add Node" button or right-click). DMXRouter sends ArtPoll unicast to each static node, and they won't be removed by the stale-node timeout. That said, cross-subnet discovery depends on factors outside DMXRouter's control: the node needs to respond with unicast ArtPollReply (many nodes broadcast their reply, which won't cross the router), and the node must have a gateway configured pointing back to your subnet. So the node may or may not appear with full details depending on its firmware. Either way, the unicast output itself doesn't depend on discovery — you can send DMX to any IP by configuring it in the engine output, regardless of whether the node shows up in the Discovery tab. The "Any" interface bug that was causing your original 0-output issue is also fixed in this release.
The Any interface bug appears to now be solved and I have managed to get my node appearing using a static node in the discovery tab
Since ArtPollReply's are UDP Broadcasts to 255.255.255.255, as you mention, you will need to configure your router/gateway for UDP port forwarding on 6454 so they can be received by DMXRouter
For emulating a network with a gateway I have been using VMWare on a windows host with the network adapter in NAT mode
Some things to note:
- Make sure the firewall on your host is configured to allow inbound UDP traffic on Port 6454 (otherwise the UDP packets will not be port fowarded by VMWare)
- The VMWare NAT Network will need to be configured to port forward UDP traffic on 6454 to your VM
- Virtual Network Editor -> NAT Settings -> Add Port Forward
- In your VM change the network IP settings from DHCP to Static
Good to hear everything is working. Thanks for the VMware NAT testing setup — that’s a useful reference for anyone trying to replicate a cross-subnet environment.