How to check the health of a Direct Connect connection
The Direct Connect page tells you whether a connection is configured, and the Health Check measures, on demand, the quality of the path between the VNet router and your firewall: packet loss, latency and jitter.
Prerequisites
- A VNet bound to the Direct Connect. See How to bind a VNet to a Direct Connect.
- The
customer-connect:direct_connect:viewpermission. The Health Check does not change anything, so it needs no other permission.
Check the status
- Open Customer Connect → Direct Connect and click the Direct Connect.
- In Overview, Current Status must be OK.
- In Active Connections, the Status of the connection must be BOUND.
The meaning of each status is in Direct Connect (LAN-to-LAN).
The MAC Address column shows the MAC address of the VNet router interface on the link. On your firewall, look at the ARP table: the Local IP of the connection must appear with that MAC address. If it does not, frames are not crossing the link between the router and your firewall: check the VLAN, the interface and the cabling on your side, and talk to your provider if everything looks right.
Run a Health Check
-
Open the test in one of these ways:
- on the page of the connection (click the row of the VNet in Active Connections), click Health Check in Summary;
- in Failover order, on the same page, click the Test button of a path (Test Primary, Test Backup or Test IPsec): the test opens with that path already chosen.
-
In Network Health Analysis:
-
Without failover, the test starts on its own: the router sends 50 pings to the Remote IP, over about 10 seconds.

-
With a backup peer or an IPsec, choose the path at the top (Primary, Backup or IPsec) and click Test Primary (or Test Backup, Test IPsec). Each path is tested on its own and in any order: you can test only the backup, or start one path while another is still running, and each keeps its own result while the dialog is open. Testing a standby path does not touch the traffic of the VMs.

-
-
Click Run Again to repeat the test, or Try again if it did not finish.
The line under the path choice tells what is being measured. When a peer has a Monitor IP (see How to set up failover for a Direct Connect connection), the test pings that address through the peer, instead of pinging the peer itself.
Test through the IPsec
The test through the IPsec pings the Monitor IP of the IPsec through the tunnel, from the address of the VNet router in a local subnet of the IPsec. Besides the usual result, it can show one of two warnings:
- The IPsec tunnel is down. Connect the IPsec or open its diagnostics.: the tunnel is not established, so nothing crossed it.
- Replies came back outside the tunnel, through the Direct Connect. With a floating route on your router that is expected while the Direct Connect is up; when it goes down, your router must send the traffic for this VNet through the IPsec.: the pings worked, but the answers came back through the Direct Connect. The adjustment is on your router; see Prepare your router. To have the answers come back through the tunnel, see Optional: prove the way back too.

This quick test is not the health test that the IPsec needs before it is saved as failover: that one tests every route and subnet and is run from the IPsec failover section. See How to use an IPsec as the last level of failover.
Read the result
| Title | When it shows |
|---|---|
| Connection Excellent | No loss, average latency up to 60 ms and jitter up to 30 ms. |
| Minor Packet Loss | Loss up to 2%. |
| High Latency Detected | Average latency above 60 ms, up to 150 ms. |
| Unstable Connection (Jitter) | Jitter above 30 ms, up to 60 ms. |
| Critical Packet Loss | Loss above 2%. |
| Critical Latency Detected | Average latency above 150 ms. |
| Critical Jitter Detected | Jitter above 60 ms. |
| Destination Unreachable | No reply at all (100% loss). |
When more than one thing is off, the title shows the most serious one; at the same level, packet loss comes first, then latency, then jitter. Below the title, Packet Loss shows how many of the 50 pings came back, Avg Latency shows the minimum and maximum, and Jitter shows how much the latency varied.
It measures only the path between the VNet router and your firewall (or the Monitor IP, or the IPsec). A good result with VMs still unable to reach your network points to the static routes, the firewall rules or the return route on your side. See Direct Connect problems.