i recreated my Network at Home. So i have 3 Subnets now. WOL dont work over subnets.
So i have add a new network Interface to my Smarthome Node-Red Server with a Networkadress in my Client Network.
Smart Home 10.2.0.0/24
Client 10.3.0.0/24 (ip 10.3.0.9)
I simply use "node-red-node-wol" to wake the Clients. Now its dont work. Mac Adress is set. Target Adress i tried without and 10.3.0.255 and some other. Nothing work.
Wake on lan packets (layer 2) are not routable (layer 3), either expand the subnet to /16 or create some kind of WOL proxy that captures the packets (all the time) and trigger WOL upon receiving the packet, not really practical.
The Clients wo wake are real. Before i changed to subnets, the WOL runs fine. (node-red 10.0.0.171 to 100 and 120 clients). Now it dont run. I think i will install a WOL Proxy for testing. Multi network Interfaces make trouble for my other Nodes with Sonos (unreachable errors)
In that case you could possibly swap the wires to check that the package is being sent only on the one interface.
If multi network interfaces cause problems with specific nodes then that should be reported against the nodes. It is probably worth submitting an issue against the wol node so it will be brought to the attention of the developers. I looked at the code but don't know enough to be able to see a problem.