An Azure service that is used to provision Windows and Linux virtual machines.
Hi @SWiZ
Thank you for reaching out to Microsoft Q&A. I understand you are attempting to use tracert on a Azure VM.
There is no Azure-wide switch that simply turns on tracert for every VM. In Azure, tracert is typically limited by ICMP behavior on the path in use, and Microsoft documents two important constraints:
- Default outbound access IPs do not support
ICMPpings, which is the sameICMPmechanismtracertrelies on: https://learn.microsoft.com/azure/virtual-network/ip-services/default-outbound-access - Azure Load Balancer outbound rules do not support
ICMPfor outboundNAT; they supportTCPandUDPonly: https://learn.microsoft.com/azure/load-balancer/outbound-rules#limitations
So, if traceroute appears to fail, the first thing to verify is whether your VM is using a path that permits ICMP and whether the relevant NSG rule allows it. If ICMP is not viable in your design, use Azure Network Watcher connection troubleshoot or TCP/UDP-based connectivity tests instead: https://learn.microsoft.com/azure/network-watcher/connection-troubleshoot-overview
Please Upvote (Thumbs-up) and Accept as answer if the response was helpful. This will be help other community members find relevant help as well.
Best regards, Andrew S Taylor