I've had setup my CentOS 7 box to wake up my Windows PC a couple of years ago and it was working fine, until for whatever reason it stopped working one day and I just couldn't figure out what the problem was and let it go.
Today I gave it another try and finally found out why. Somehow my CentOS is not sending any WOL packets to the L2 network. I checked this both with tcpdump from the CentOS box and from a MikroTik router between both machines and no UDP WOL packets are ever generated.
In the WOL client it apparently says the packet is generated successfully, like so, even though no packets are actually detected:
[root@CentOS 02:32:50 ~]# ether-wake 00:22:11:33:22:33 -D
The target station address is 0:22:11:33:22:33.
Packet is 00 22 11 33 22 33 00 22 11 33 22 33 08 42 ff ff ff ff ff ff 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33 00 22 11 33 22 33.
Sendto worked ! 116.
Sendto worked ! 116.
Sendto worked ! 116.
Sendto worked ! 116.
Sendto worked ! 116.
The reason there are multiple instances is because there are multiple IPs configured in it, but even when specifying a single interface the result is still the same.
I already tried disabling the firewall in CentOS to see if that was the problem but to no avail.
Does anyone have any idea of what the culprit may be?