Patent ID: 7899923

Claim:
A non-transitory computer-readable storage medium storing instructions that when executed by a relay agent located on a target LAN (Local Area Network) cause the relay agent to perform a method which allows a remote system located on a remote LAN to wake up a sleeping target system located on the target LAN, wherein the sleeping target system receives packets of a first protocol which cannot be used by the remote system to send a packet directly to the sleeping target system because the remote system and the sleeping target system are on different LANs, the method comprising: receiving a first wake-up packet from the remote system using a second protocol, wherein the first packet includes an upper-layer-protocol address of the relay agent that is determined based on an upper-layer-protocol address of the sleeping target system and a subnet mask, and wherein the first wake-up packet is an IP (Internet Protocol) packet that contains a DHCP (Dynamic Host Configuration Protocol) reply packet; creating a second wake-up packet using the first wake-up packet, wherein the second wake-up packet is an Ethernet packet whose destination address field is set to an Ethernet address associated with an interface of the sleeping target system, and whose payload contains a magic bit-pattern that, when received by the sleeping target system, causes the sleeping target system to wake up; and sending the second wake-up packet to the sleeping target system using the first protocol, wherein sending the second wake-up packet causes the sleeping target system to wake up.