# Send WOL over second Interface

**URL:** <https://discourse.nodered.org/t/send-wol-over-second-interface/36383>\
**Category:** General\
**Created:** [23 November 2020 09:38 UTC](https://discourse.nodered.org/t/send-wol-over-second-interface/36383 "2020-11-23T09:38:53Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![corin.corvus](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@corin.corvus](https://discourse.nodered.org/u/corin.corvus)\
**Post date:** [23 November 2020 09:38 UTC](https://discourse.nodered.org/t/send-wol-over-second-interface/36383/1 "2020-11-23T09:38:53Z")

</div>

Hi,

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.

How i can fix it? With a Node or something?

Thanks

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2020 09:55 UTC](https://discourse.nodered.org/t/send-wol-over-second-interface/36383/2 "2020-11-23T09:55:23Z")

</div>

Can you ping the device you are trying to wake, from the node-red machine? When it is switched on obviously 🙂

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [23 November 2020 09:59 UTC](https://discourse.nodered.org/t/send-wol-over-second-interface/36383/3 "2020-11-23T09:59:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![corin.corvus](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@corin.corvus](https://discourse.nodered.org/u/corin.corvus)\
**Post date:** [23 November 2020 10:00 UTC](https://discourse.nodered.org/t/send-wol-over-second-interface/36383/4 "2020-11-23T10:00:17Z")

</div>

Yes i can ping through the subnets. But Wake on Lan not allow to send the magic package to another subnet.

I think node-red send the package with eth0 (smarthome net) at the moment. This package must send with eth1 (clientnet)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2020 10:37 UTC](https://discourse.nodered.org/t/send-wol-over-second-interface/36383/5 "2020-11-23T10:37:20Z")

</div>

> [@bakman2](#):
>
> Wake on lan packets (layer 2) are not routable

I don't think that is the issue here, I think it is whether the node sends it out to both interfaces.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2020 10:38 UTC](https://discourse.nodered.org/t/send-wol-over-second-interface/36383/6 "2020-11-23T10:38:32Z")

</div>

If you swap the wires over (if possible) does it then work for that machine, but not the others?

---

<div class="post-metadata">

**Author:** ![corin.corvus](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@corin.corvus](https://discourse.nodered.org/u/corin.corvus)\
**Post date:** [23 November 2020 10:40 UTC](https://discourse.nodered.org/t/send-wol-over-second-interface/36383/7 "2020-11-23T10:40:11Z")

</div>

Its a virtual Mashine. I added a new virtual network card and rebooted the vm.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2020 10:53 UTC](https://discourse.nodered.org/t/send-wol-over-second-interface/36383/8 "2020-11-23T10:53:50Z")

</div>

Presumably you have real wires to the actual devices you are trying to wake, or are they virtual too?

---

<div class="post-metadata">

**Author:** ![corin.corvus](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@corin.corvus](https://discourse.nodered.org/u/corin.corvus)\
**Post date:** [23 November 2020 10:56 UTC](https://discourse.nodered.org/t/send-wol-over-second-interface/36383/9 "2020-11-23T10:56:48Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2020 11:13 UTC](https://discourse.nodered.org/t/send-wol-over-second-interface/36383/10 "2020-11-23T11:13:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 January 2021 11:13 UTC](https://discourse.nodered.org/t/send-wol-over-second-interface/36383/11 "2021-01-22T11:13:02Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
