WOL (Wake On Lan) command doesn't seem to work

Hi,

I am trying to send the WOL command from ssh as follows:

/tool wol mac=MY:MAC:ADD:RESS interface=ether2
tool wol mac=MY:MAC:ADD:RESS interface=ether2
/tool wol mac=MY:MAC:ADD:RESS
tool wol mac=MY:MAC:ADD:RESS

when I take a tcpdump on the target machine, I get no response

[root@localhost ~]# tcpdump -i ens33 -l port 9
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens33, link-type EN10MB (Ethernet), capture size 65535 bytes

I also try listening on port 7.

I then send a wolcmd command from another pc:

wolcmd MY:MAC:ADD:RESS 192.168.88.200 255.255.255.0 9
Wake on Lan signal sent to MAC Address 00e04db025d4
via Broadcast Address 192.168.88.255 on port 64291
We should send 102 bytes we sent 102 bytes ... all done

And I get the response that it was received

08:44:28.039127 IP 192.168.88.254.60279 > 192.168.88.255.discard: UDP, length 102 <-

So it works from workstation to workstation but not from router to workstation. It doesn’t matter what port.

Do you have latest ROS version installed? As I remember WOL wasn’t working in some old firmwares.

 #   NAME                    VERSION              
 0   routeros-mipsbe         6.27                                              
 1   system                  6.27                                              
 2 X wireless-fp             6.27                                              
 3 X ipv6                    6.27                                              
 4   wireless                6.27                                              
 5   hotspot                 6.27                                              
 6   dhcp                    6.27                                              
 7   mpls                    6.27                                              
 8   routing                 6.27                                              
 9   ppp                     6.27                                              
10   security                6.27                                              
11   advanced-tools          6.27

I use wol regularly in 6.32.3 and it work fine. Try it.