Wake on LAN across local subnets/VLANs
Recently we had a client trying to Wake on LAN (WOL) across local subnets/VLANs. The WOL would only work on the local VLAN but not to other VLANs (or subnets) that were trunked out in other areas. The solution was a simple fix of a few commands on the local and remote subnet routing/switching devices.
Wake on LAN Solution:
- An IP Helper needed to be configured on the WOL packet sending network pointing to the receiving network.
- L1(config-if)#interface vlan 2 ? Interface of network you are sending packet from
- L1(config-if)#ip helper-address 172.16.3.2 ? Gateway of receiving network
- The IP protocol needed to be forwarded (in the case UDP port 7)
- L1(config)#ip forward-protocol udp 7
- An ACL needed to be configured as to only allow the WOL ports required
- L2(config)#access-list 101 permit udp any any eq 7 ? you can also specify host and/or destination instead using any any
- An IP Directed-Broadcast needed to be assigned on the receiving network
- L2(config-if)#ip directed-broadcast 101 ? 101 references the ACL that allows/restricts the broadcasts going through. This rule enables translation of directed broadcasts to physical broadcasts on the network where the WOL target is located.
Repeat this process as needed for each network that needs to send/receive WOL packets.
See our Network Support Page and our System Monitoring Page for more ways we can help you.
Call today at 314.333.3330 and talk to a technician immediately!
For more information about how Acumen can help you with your business IT needs, visit our Technology Services Page.