Quantcast
Channel: Ivanti User Community : All Content - Console
Viewing all articles
Browse latest Browse all 607

How to test Wake on LAN / Wake on WAN

$
0
0

Environment:

LANDESK Management Suite 9.6

 

Review Date:


8/11/2014

 

How to:


How to test Wake On LAN / Wake on WAN.


Information:

 

WOL / WOW works by sending a Magic packet to a designated machine. All computers and network hardware must allow for passing Magic packets, and have the ability to acknowledge them to power on when received. LDMS takes the machine information for the intended agent and broadcasts the magic packet for it. This means the packet is visible to all machines on the network, but only that which meets the information broadcast by the LDMS Console should accept it. If the packet is received by the target machine, but WoL or WoW fails to actually power on the machine, it is an indication of the machine not acknowledging the packet correctly.

 

 

This How-To covers verifying a target machine can receive the Magic Packet.

 

Step by Step:

 

 

Note: This test will make use of the free 3rd party application Wake on Lan Monitor/Sniffer  by depicus. LANDESK does not endorse nor support any 3rd party software. Users assume all liability when working with 3rd party software.

 

Agent

  1. On the Agent machine, download the free application Wake on Lan Monitor/Sniffer.
  2. The program downloads as WakeOnLanMonitor.zip. Extract the files contents to find WakeOnLanMonitor.exe.
  3. Double click WakeOnLanMonitor.exe to initialize the application.

 

1-wol interface.png

  1. The application by default is set to listen for Magic Packets on UDP port 7. LDMS by default uses UDP port 0.
  2. In the Wake on Lan Monitor, set the UDP port to 0.
  3. Click Start.

2-port 0.png

 

Note: In the event the Core is set to use a different port for WoL, use that port.

 

  1. Once started, the Wake On Lan Monitor will go to a 'Connected' state. It is now listening for a Magic Packet on the defined UDP port (in our example UDP port 0).
  2. Leave the Agent machine powered on, and logged in so the Wake On Lan Monitor remains visible.

3-wol connected.png

 

Core

Because the Agent is powered on, the Core will determine that there is not a reason to send a WoL command. To work around this we are going to set it to treat the agent as powered off.

 

  1. In the Console click Configure> Agent Status Options.

4-settings in core.png

 

  1. In the Agent status options box, under Gather agent status, select Never, then press OK.

5-never gather settings.png

 

  1. In Network View, right-click the agent that has Wake On Lan Monitor running on it, and select Wake Up > Wake Up On LAN. This will broadcast the Magic Packet across the network, which has Agentinformation to identify that the Magic Packet is only intended to be acknowledged by the designated Agent.

6-wake up.png

 

 

Agent

  1. Provided the network correctly routes the Magic Packet, and it is not blocked along the network (i.e. firewalls, switches, routers etc), the Wake On Lan Monitor should display that it has received the Magic Packet.

7-mp received.png

 

Note: The successful screenshot was done using UDP Port 9 as UDP port 0 was currently blocked.

 

How to Verify that the Magic Packet was addressed to the specific Agent.

  1. In the Wake On Lan Monitor, the information received in the previous test identifies the source (console's IP), that it was a Magic Packet (denoted by packet info FF:FF:FF:FF:FF:FF), and the MAC address of the agent.

8-explanation.png

 

  1. Compare the Mac Address in the received Magic Packet against the Mac Address for the selected agent in the Console.
  2. In Network view, right-click the Agent, choose Inventory.

9-inventory.png

 

  1. In the Inventory window, select the Network option in the tree on the left.
  2. The NIC Address listed should match the Mac Addressdisplayed in the Wake On Lan Monitor. This indicates it was addressed to this Agent specifically.

10-nic.png

 

Note:  Because WoL/WoW broadcasts the Magic Packet across the network, it will be visible to all machines on the network. If the Wake on Lan Monitor is run on other machines, they will also pick up the Magic Packet. The packet contains the destination machines Mac Address, and should only be accepted by a machine who's Mac Address matches the packets.

 

 

Related Document(s):

How to Change Wake on LAN / Wake on WAN Port


Viewing all articles
Browse latest Browse all 607

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>