Skip to content

Commit 63f4149

Browse files
authored
Merge pull request #291717 from papadeltasierra/pauldsmith/twamp
Explain TWAMP, UDP, NATs.
2 parents e8bcf39 + ef48797 commit 63f4149

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

articles/operator-nexus/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@
332332
href: troubleshoot-lacp-bonding.md
333333
- name: Troubleshoot NAKS Cluster Node Packet Loss
334334
href: troubleshoot-packet-loss.md
335+
- name: Troubleshoot TWAMP (UDP) not working
336+
href: troubleshoot-twamp-udp-not-working.md
335337
- name: Tenant Workload
336338
expanded: false
337339
items:
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: "Azure Operator Nexus: TWAMP (UDP) not working"
3+
description: Learn how to troubleshoot TWAMP (UDP) issues.
4+
author: papadeltasierra
5+
ms.author: pauldsmith
6+
ms.service: azure-operator-nexus
7+
ms.custom: azure-operator-nexus
8+
ms.topic: troubleshooting
9+
ms.date: 12/10/2024
10+
# ms.custom: template-include
11+
---
12+
13+
# Troubleshoot TWAMP (UDP) not working
14+
15+
TWAMP (Two-Way Active Measurement Protocol) over UDP (User Datagram Protocol) doesn't work if NAT (Network Address Translation) occurs between the Session-Sender and the Session-Reflector and/or Control-Client and Server. Typically the Session-Sender and Control-Client reside in one network and the Session-Reflector and Server reside in a second network.
16+
17+
Examples where NAT can occur include any meeting between two LANs (Local Area Networks) with independent addressing such as a connection to/from a VLAN (Virtual LAN).
18+
19+
TWAMP over TCP (Transmission Control Protocol) can work through a NAT providing the Session-Reflector and Server have IP addresses outside the address range of the subnet in which the Session-Sender and Control-Client reside. The IP addresses of the Session-Reflector and Server IP addresses must also be unique along the entire path.
20+
21+
## Diagnosis
22+
23+
TWAMP (UDP) is configured but doesn't work. Network traffic analysis shows traffic leaving the Control-Client and/or Session-Sender but not returning from the Server and/or Session-Reflector.
24+
25+
## Mitigation steps
26+
27+
No mitigation is possible. Two-way UDP protocols can't traverse networks where address translation occurs without extra logic elements such as an ALG (Application-level Gateway).
28+
29+
Two-Way TCP protocols can traverse a NAT providing that the TCP connection is established from inside the NAT to outside. This traversal is possible because a long-lived connection is established through the NAT and traffic in the return direction flows along this connection. UDP traffic doesn't establish a long-lived connection so there's no defined path back through the NAT for return traffic to follow.
30+
31+
32+
33+
## Related content
34+
35+
- The TWAMP protocol is described in [A Two-Way Active Measurement Protocol (TWAMP)](https://datatracker.ietf.org/doc/html/rfc5357).
36+
- If you still have questions, contact [Azure support](https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade).
37+
- For more information about support plans, see [Azure support plans](https://azure.microsoft.com/support/plans/response/).

0 commit comments

Comments
 (0)