I am attempting to send WOL packets to a series of machines, which works when the machine sending the packet is connected to the destination by one or more switches, but if the packet needs to cross a router it is eaten. The people responsible for configuring and maintaining the routers/switches are telling me that the routers are eating the WOL packets because they are sent as broadcasts.
So I would like to know if anyone knows how I could send the WOL frame to a machine on the other side of a router without it being wrapped in a broadcast IP packet.
Answer
Wake-On-LAN uses a "magic packet" sent at Layer 2 of the OSI model. Routers need information that is contained at Layer 3 of the OSI model in order to route packets. Switches on the other had are Layer 2 devices, which is why it works when you are just going through a switch. In short, you need to have IP information in order to cross a router, WOL only has MAC address information, so it is not possible to cross the router.
Further, the computer that you are wanting to wake is not turned on, and therefore does not have an IP address, so it would be impossible to send a packet and have it cross the router and reach your computer short of configuring your router to statically route the packet to your NIC's MAC (see Wake-on-Internet for additional options).
Comments
Post a Comment