WOL (Wake On LAN) Omada ER706W, L2TP tunnel

WOL (Wake On LAN) Omada ER706W, L2TP tunnel

WOL (Wake On LAN) Omada ER706W, L2TP tunnel
WOL (Wake On LAN) Omada ER706W, L2TP tunnel
2024-07-22 10:22:28 - last edited 2024-07-26 00:48:00
Model: ER706W  
Hardware Version: V2
Firmware Version: 2.0.0 Build 20220106 Rel.56391

Any hints on getting WOL working through an L2TP tunnel to the ER796W?

 

The tunnel is up, the ER706W lists the destination in it's ARP table, I'm using the destination IP in the WOL packet (not a broadcast or subnet broadcast), I can ping (and RPC) the destination, I can sleep the destination from its command line, I can wake it back up from another local computer on the subnet, but the destination is not waking when I send WOL to it through the tunnel to the ER796W.  

 

The only things I can think of are (1) I've missed something or (2), something else.

 

I've done it before through other L2TP tunnels. Has anybody had an luck with this? What have I missed?

  0      
  0      
#1
Options
1 Accepted Solution
Re:WOL (Wake On LAN) Omada ER706W, L2TP tunnel-Solution
2024-07-23 01:25:43 - last edited 2024-07-26 00:48:00

Hi @FarNorth 

Thanks for posting in our business forum.

It does not broadcast across the tunnel. Because the tunnel is a separate network from the LAN.

It is a LAN protocol. I think it is a problem with the protocol unless you can make it broadcast in the VPN subnet. And the client is getting an IP in the VPN subnet. Then they should work.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. Don't be a lazy asker. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  2  
  2  
#2
Options
3 Reply
Re:WOL (Wake On LAN) Omada ER706W, L2TP tunnel-Solution
2024-07-23 01:25:43 - last edited 2024-07-26 00:48:00

Hi @FarNorth 

Thanks for posting in our business forum.

It does not broadcast across the tunnel. Because the tunnel is a separate network from the LAN.

It is a LAN protocol. I think it is a problem with the protocol unless you can make it broadcast in the VPN subnet. And the client is getting an IP in the VPN subnet. Then they should work.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. Don't be a lazy asker. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  2  
  2  
#2
Options
Re:WOL (Wake On LAN) Omada ER706W, L2TP tunnel
2024-07-31 03:53:34 - last edited 2024-07-31 03:57:03

  @FarNorth 

 

It does not broadcast across the tunnel.

As I wrote in my original post, I have attempted both broadcast and addressed packets

 

Because the tunnel is a separate network from the LAN.

And yet, I can communicate between the remote client, and the local servers.  TCP and UDP communication between the two networks is working correctly, as expected from hardware that is documented as providing VPN services. 

 

It is a LAN protocol.

L2TP isn't a LAN protocol, neither is TCP or UDP.

 

I think it is a problem with the protocol unless you can make it broadcast in the VPN subnet.

As I wrote in my original post, I have attempted both broadcast and addressed packets

 

I haven't done a packet capture at the remote end, but the ER706W is providing a local subnet with gateway 0.0.0.0: if the ER706W is working correctly, it should be passing broadcast packets through the tunnel. However,  as I wrote in my original post, I have attempted both broadcast and addressed packets.

 

And the client is getting an IP in the VPN subnet/

The VPN is working correctly. Machines on both sides of the tunnel, in their respective subnets, are communicating with each other.

 

========

At this point, some explanation of how IP on ethernet works.

I send a packet to 10.1.1.1. It goes through the tunnel. The ER706W does not know the MAC of 10.1.1.1, so it broadcasts an ARP packet. 10.1.1.1 replies with it's MAC. The ER706W sends the packet to the MAC (puts an ethernet packet on the LAN with the MAC in the ethernet packet address field).

 

I send a packet to 10.1.1.1. It goes through the tunnel. The ER706W already knows the MAC of 10.1.1.1, so the ER706W sends the packet to the MAC.

 

I send a packet to 10.1.1.1. It goes through the tunnel. The ER706W does not know the MAC of 10.1.1.1, so it broadcasts an ARP packet.  10.1.1.1 is sleeping so it does not reply. The ER706W drops the packet.

 

I send a packet to 10.1.1.1. It goes through the tunnel. 10.1.1.1 is sleeping. The ER706W already knows the MAC of 10.1.1.1, so the ER706W sends the packet to the MAC. It is a magic packet, so 10.1.1.1 wakes up.  How does the ER706W already know the MAC? Because I have made a static binding. I can see that ER706W lists the destination in it's ARP table. 

 

Networks that don't have tunnels don't pass unroutable (private address) TCP/IP packets. L2TP is a Layer 2 tunnel. It not only passes unroutable (private address) TCP/IP packets, it will pass IPX (Novel) or AppleTalk, or any kind of garbage packet you put through it.  Once the ER706W gets the packet out of the tunnel, the ER706W has to decide what to do with it. IP packets coming out of the tunnel should be directed to the next destination using the IP address. IP packets with a known IP address giving a known MAC should be sent out the ER706W LAN ethernet port, with the correct known MAC.

 

This appears to be working correctly for most IP packets coming out of the tunnel, but not for WOL magic packets I am attempting to send.  I route all TCP/IP packets to the tunnel (route 0.0.0.0), with exceptions for local network packets. I don't know the MAC for the final destination. The ER706W routes some packets back out the WAN, and packets with local IP addressing into the LAN.

========

 

WOL with static IP binding works OK with different hardware (my Billion and OpenBSD and Cisco routers), but not yet with my Omada ER706W. Perhaps there is a firewall rule? Maybe I've just typed something wrong? Has anybody had an luck with this? What have I missed?

  0  
  0  
#3
Options
Re:WOL (Wake On LAN) Omada ER706W, L2TP tunnel
2024-07-31 08:15:12

  @FarNorth 

 

Have you tried using the broadcast address for the remote subnet in the WOL request. In this case 10.1.1.255.

AFAIK that should enable the packet to be sent as Unicast and to be routed across the VPN. The remote router should then translate the packet back to a multicast broadcast

  0  
  0  
#4
Options

Information

Helpful: 0

Views: 307

Replies: 3

Related Articles