Tips about PowerShell (running as a Administrator):
To reboot Time services:
> stop-service w32time
> start-service w32time
To check Time Configuration:
> w32tm /query /configuration (this will tell you if PTP is the only service enabled)
> w32tm /query /status /verbose (this will tell you when last sync and if it's all set ok)
Tips about networking:
- VM and WSL should be in the same network. If dont, you'll never get Delay packets unless you managed to do NAT.
- If you have Windows Home, you won't find Hyper-V. There is a way but you have to dig in.
- At the begging of your test, deactivate windows firewall to execute ping easily. At the end set up Firewall again and add the UDP rules.
- Wait for a minute to receive Delay packets.
Options to test easily:
- 1: Use Hyper-V to create a windows VM and a Ubuntu WSL. Both should be configured with the same "Default Switch". (Wireshark wont work)
- 2: Use your Windows PC as a subordinate and get another machine running linux as a Grand Master (I used Raspberry PI). Both should be in the same LAN net.