We help IT Professionals succeed at work.

Cisco Wake on LAN

4,027 Views
Last Modified: 2012-05-06
I'm trying to setup wake on LAN for my server guys to be able to wake up a pc in order to push updated to them during off hours. We are using a package called "LANdesk" to wake up the pc's with. Seems to be failing every time. We installed wireshark on the LANdesk server and it's sending out a WOL packet on port 8.
Below is the WOL config I am using in my core router:

interface Vlan1
 description Servers
 ip address 10.1.200.1 255.255.254.0
 ip helper-address 10.1.200.16
 ip helper-address 10.1.12.255
!
interface Vlan215
 description WakeOnLAN Client Test
 ip address 10.1.12.1 255.255.255.0
 ip helper-address 10.1.200.72
 ip directed-broadcast 100
!
ip forward-protocol udp 8
!
access-list 100 permit udp host 10.1.200.72 any eq 8

Comment
Watch Question

Author

Commented:
The clients we are trying to wake up are physically connected to another cisco catalsy 2960 switch. All the portsa on that switch are setup for "spanning-tree portfast" per my cisco document. The switch is also setup as a vtp client in order to recieve vlan information from the core 6509.

Author

Commented:
We tested waking up a pc on VLAN1 and that seemed to work. Looks like the issue is more specific to crossing the vlan boundaries.
Ilir MitrushiIT Infrastructure and Security Architect

Commented:

Author

Commented:
From reading that is looks like I should be a static ARP entry into the core switch for the LANdesk server which is the box generating the WOL packets. Am I interpreting that correctly?
Ilir MitrushiIT Infrastructure and Security Architect

Commented:
This is what I think about how this trick works. the WOL program needs to target the magic packet to a ip address on the same subnet of the client we want to WOL. On the switch or router responsible for doing ARP for this subnet we configure a static arp as mentioned on this blog. When the packet arrives it is broadcasted and recieved by all hosts on this subnet. Obviously the ip address used shouldn't be assigned to a client on this subnet. I am not sure if this is correct but you can give it a try and see.

Author

Commented:
Well, there is more to the command than just "10.1.200.72 FFFF.FFFF.FFFF". I'm not sure what all parameters I would need to use. See below

CAT-6509(config)#arp 10.1.200.72 FFFF.FFFF.FFFF
% Incomplete command.

CAT-6509(config)#arp 10.1.200.72 FFFF.FFFF.FFFF ?
  arpa   ARP type ARPA
  sap    ARP type SAP (HP's ARP type)
  smds   ARP type SMDS
  snap   ARP type SNAP (FDDI and TokenRing)
  srp-a  ARP type SRP (side A)
  srp-b  ARP type SRP (side B)

CAT-6509(config)#arp 10.1.200.72 FFFF.FFFF.FFFF arpa ?
  Async              Async interface
  CTunnel            CTunnel interface
  Dialer             Dialer interface
  FastEthernet       FastEthernet IEEE 802.3
  GigabitEthernet    GigabitEthernet IEEE 802.3z
  Loopback           Loopback interface
  MFR                Multilink Frame Relay bundle interface
  Multilink          Multilink-group interface
  Null               Null interface
  Port-channel       Ethernet Channel of interfaces
  Pos-channel        POS Channel of interfaces
  Tunnel             Tunnel interface
  Vif                PGM Multicast Host interface
  Virtual-Template   Virtual Template interface
  Virtual-TokenRing  Virtual TokenRing
  Vlan               Catalyst Vlans
  XTagATM            Extended Tag ATM interface
  alias              Respond to ARP requests for the IP address
  fcpa               Fiber Channel
  <cr>

CAT-6509(config)#arp 10.1.200.72 FFFF.FFFF.FFFF
Ilir MitrushiIT Infrastructure and Security Architect

Commented:
I think arpa is the only argument needed. Have a look at this free utility. It looks interesting and may be works beyond broadcat boundaries.
http://magicpacket.free.fr/

Author

Commented:
no go. I tried the static arp entry and it stopped all RDP sessions into that server.

IT Infrastructure and Security Architect
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.