1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

problem with using telnet to make arp entry

Discussion in 'Cisco Small Business Routers and VPN Solutions' started by skippy007, Nov 12, 2008.

  1. skippy007

    skippy007 Addicted to LI Member

    I am trying to set up my rv042 to allow WOL from the internet. Initially I tried to forward the broadcast address 192.168.1.255 to udp port 9. However, the router does not allow entry of 192.168.1.255 as it is out of range. My subnet mask is 255.255.255.0 and the gateway address of the rv042 is 192.168.1.1. So I want to change the broadcast address to another value 192.168.1.254.
    I set up telnet on the router and used flash_commit followed by reboot to make it permanant.

    the problem that i need help with now is to add the arp entry:
    arp -s 192.168.1.254 ff:ff:ff:ff:ff:ff
    from the telnet shell.

    when i hit the enter key it says: Bad Command

    I am need some help to have the correct syntax to add the above entry. Thanks for your help.:confused:
     
  2. Sfor

    Sfor Network Guru Member

    Well. Another solution could be to add a cheap router with WOL support to the LAN. It will be possible to send WOL packet from the additional router's WWW interface. Some of the old SMC Barricade based routers have the WOL function.

    I've tested to be useful Digitus DN-11005 and OvisLink AirLive IP-1000R. Probably, all the routers with the Tomato firmware should apply, as well.

    My solution is to access the WOL router through IPSec VPN and then to send the WOL packet from there.
     
  3. skippy007

    skippy007 Addicted to LI Member

    Got it working.

    Hi, Sfor, thanks for your suggesion. I have some old SMC routers lying around and I know the 7004 BR has a web interface accessible throught port 88 that allows WOL. Problem is I could not find the old router.

    In the mean time I found Nabu The Great's post:
    http://www.linksysinfo.org/forums/archive/index.php?t-52206.html

    This was very helpful.

    I pulled up telnet
    telneted to 198.148.1.1
    username: admin
    password: *******

    RV042>
    RV042 shell

    hit return
    then typed the arp entry:
    arp -s 192.168.1.254 ff:ff:ff:ff:ff:ff

    hit return

    checked to see if the entry was in there by typing:
    arp -vn

    hit return
    it was in there

    then I set up port forwarding to direct
    incoming udp packets from port 9 to 192.168.1.254.

    i then used the wolgui from depicus.com, or the web interface at wakeonlan.me
    typed in the dyndns address and mac address of the computer to be woken up.
    And it works fine over the internet and is reproducible. Only problem is the arp entry will be lost if the rv042 is unplugged and plugged back in or if it is rebooted. That is not such a big deal for me though.
     
  4. Sfor

    Sfor Network Guru Member

    The SMC 7004 BR can do the job only when working as a gateway. The newer SMC based routers do have the user routing rules function available. So, it is possible to put them as another LAN device working as a WEB GUI platforn to WOL.

    On the other hand, I'm looking for a solution able to put a static ARP entry to the WAN port. The router should be immune to ARP poisoning attacks, then. I do not know if it is possible to do it with RV042. There will be the same problem with protecting the settings against a reboot, as well.
     
  5. kitus

    kitus Networkin' Nut Member

    Hello,

    just came across this post while trying to set up WOL over the Internet. Has there been any update on this? I also would like to keep these entries across reboots.

    Thanks
     

Share This Page