Static Arp - Wake on Lan WOL

Discussion in 'Cisco/Linksys Wireless Routers' started by rangerdave, Apr 5, 2006.

  1. rangerdave

    rangerdave LI Guru Member

    I have a linksys WRT54GS V4 which is currently running Firmware Version : v4.70.8, Hyperwrt 2.1b1 + Thibor14. I previously had a Netopia 3347nwg Router.

    I'm looking at trying to get Wake On Lan (WOL) to work from outside my network. I previously had this working with the netopia. On my laptop I have a magic Packet program which I put the MAC address of the computer I want to wake up on my network, the internet IP of my network, and a port number. I the netopia I told it to port forward that port to the computers IP address. The only trick was I had to set up a static ARP entry in the netopia because after the computer had been "asleep" for 20 minutes, the netopia cleaned it's arp table, and therefore the packet forwarding would fail, and the remote computer would not wake up.

    My question is this, is there somewhere I can setup the arp entries for this to work? I know I can go into the router config and use the built in WOL utility, but that would require I enable Remote Router Access, and I'd prefer not to do this.

    Thanks for any help.

  2. rljo

    rljo Network Guru Member

    Go to Administration tab, and in startup, place the following: ip neigh add 192.168.A.B lladdr ff:ff:ff:ff:ff:ff nud permanent dev br0 (replace A with the digit used in your subnet, usually 1, and B should be an unused IP address in your local network---I use, then save startup.

    Step 2 is go to forwarding and forward UDP port 9 to that IP address ( in the above example)

    Should work fine as long as the computer itself is set up for WOL
  3. rangerdave

    rangerdave LI Guru Member

    So, that is going to setup what exactly?

    Is that setting it up to broadcast the MagicPacket for WOL to everything in my LAN? Just want to make sure I understand that. I'd like to "learn", instead of just dumbly putting stuff into the startup config.

    Thanks alot for the info and the fast response. I had a death in family is why it took me so long to get back here.

  4. rljo

    rljo Network Guru Member

    Well, it might be better for someone who knows what the heck they are talking about to answer this, but I believe it provides a permanently available IP address on your local subnet tied to no particular MAC address, for the router to forward udp packets received on port 9 (which is the one used for magic packets.)
    The linksys routers won't make available the commonly accepted XXX.XXX.XXX.255 broadcast IP address for security reasons, and shuts down any IP address that is not currently tied to a MAC address, so when your local computer shuts down, the interface to that IP address is no longer available unless a permanent ARP entry is made with the above technique.

    There, that is much more than I really know about the subject ;-)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice