Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Connectionless

Direct answer

UDP is connectionless: each datagram is sent without a TCP-style handshake or transport acknowledgement. Reliability, ordering, retries and transaction correlation must come from the application or an upper protocol when required.

When to use this

Use this Topic when troubleshooting DNS, DHCP, NTP, syslog, telemetry, media or other UDP traffic where “no connection” means you must prove request and response datagrams independently.

First 30 seconds

1. Capture at the client: request sent?

2. Capture at the server: request arrived? Response sent?

3. Response not received → reverse path or firewall without UDP state.

4. ICMP port unreachable → nothing listening; silence → dropped or filtered.

5. Use the application's own test tool to confirm.

Operational verification

application sends a datagram → path delivers it → server listens on the port → server replies → reply crosses the reverse path → application matches it to the request

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Scope / prerequisiteUse this Topic when troubleshooting DNS, DHCP, NTP, syslog, telemetry, media or other UDP traffic where “no connection”…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational verification and known-good state Verify boundary

Verify a UDP transaction as two independent directions. Record the exact tuple and application correlation field—for DNS that might be the transaction ID and question, for NTP the request/response timing fields, for syslog there may be no response at all. Show the request leaves the intended source/VRF, crosses ACL/NAT/policy and reaches the destination process. If the protocol expects a response, show the server emits it and that the translated/reverse tuple returns to the client before state timeout. A “UDP session” shown by a firewall shows that device created tracking state, but it does not show the server processed the payload or that a reply reached the endpoint.

Step 2 Verification & troubleshooting Narrow the fault

1. Verify source/destination address and port.

2. Confirm routing, ACL and NAT in both directions.

3. Capture request and response independently.

4. Check application counters/timeouts.

5. Measure loss, jitter and MTU where relevant.

Step 3 Failure signatures and troubleshooting branches Narrow the fault

If no request is visible, stay at source application/socket/routing. If the request crosses the network but never reaches the server, isolate the first missing hop/policy boundary. If the server receives it but does not answer, validate protocol contents, listener binding, rate limits and application logs rather than changing routes. If the server sends a reply but the client does not receive it, trace reverse routing, NAT lookup, state timeout and firewall policy. Intermittent UDP failures often expose ECMP hashing, fragment loss, policing or application retry timing; correlate one transaction ID and timestamp rather than relying on aggregate “UDP works” tests.

Step 4 When the problem is really fixed Narrow the fault

Close the incident by repeating the original application transaction, not merely by sending an arbitrary UDP packet. The exact request must reach the expected process and, when the protocol is request/response, the corresponding reply must return and be accepted before the application timeout. Confirm the prior drop/timeout signature is absent and verify one adjacent known-good transaction so a broad ACL/NAT change has not created regression. Authored examples and protocol descriptions are not observed Evidence. If you capture a real DNS/NTP/etc. exchange, store only that observation as Evidence with the tuple, timestamp, correlation identifier and bounded claim.

Step 5 Common mistakes Narrow the fault
  • Expecting UDP to report loss.
  • Firewalls timing out UDP flows early.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

A sender can successfully hand a UDP datagram to its IP stack even when the destination never receives it. No transport handshake exists to prove listener readiness, path symmetry or response delivery.

Key checks
  • Capture: tcpdump -nn -i <if> udp port <p> — request and response both seen?
  • ss -ulnp (Linux) / netstat -ano -p udp (Windows) — is something listening on the port?
  • nc -u <host> <p> — send a test datagram.
  • show ip traffic | include UDP (IOS) — UDP counters, port unreachables.
  • Application-specific test: nslookup, ntpq -p, snmpget.
ReferenceWhy it matters1 section · depth on demand

When to use it

Use it to reason about request/response, one-way telemetry, multicast and real-time services where the application supplies any reliability.

ReferenceImportant terms & boundaries4 sections · depth on demand

Key operational limits

  • No handshake means there may be no session state to inspect
  • Loss, duplication and reordering are exposed to the application
  • ICMP unreachable may signal a closed port, but silence is ambiguous
  • DNS, DHCP, NTP, SNMP and many media flows use UDP in specific ways.

In depth

Connectionless delivery with UDP

UDP sends each datagram on its own, with no setup, no teardown and no connection state at either end. RFC 768 describes the protocol as transaction oriented and says plainly that delivery and duplicate protection are not guaranteed. The header holds only the source and destination ports, the length and a checksum. The source port is optional and zero when not used.

Connectionless versus connection-oriented

UDPTCP
Setup before dataNoneThree-way handshake
State at the endpointsNone in the protocolTCB per connection
Message boundariesKept: one send, one datagramA byte stream; boundaries are lost
Ordering and retransmissionNoneBuilt in
One-to-manyBroadcast and multicast possibleUnicast only

What applications do instead

NeedApplication-level solutionExample
ReliabilityRetry with a timeoutDNS, DHCP, SNMP, TFTP
OrderingSequence numbers in the payloadRTP
Congestion responseRate adaptationVideo conferencing, QUIC
SessionConnection IDs inside the payloadQUIC
host$ ss -uan | head -4
State   Recv-Q  Send-Q  Local Address:Port   Peer Address:Port
UNCONN  0       0       0.0.0.0:123          0.0.0.0:*
UNCONN  0       0       10.110.0.64:53       0.0.0.0:*
host$ dig @10.20.0.53 www.example.net +tries=1 +time=1
R1# show udp | include 123|161|514

ss lists UDP sockets as UNCONN or similar because there is no connection, only a socket bound to a port.

Stateful devices and UDP

Firewalls and NAT devices create pseudo-sessions for UDP from the first packet and remove them after an idle timer. Long-lived but quiet UDP flows, such as VPN or VoIP signalling, need keep-alives shorter than that timer.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

UDP is connectionless: each datagram is sent independently with no setup, no state and no delivery guarantee. The application decides what to do about loss, ordering and duplicates.

ConsequenceExample
Low latencyVoIP and gaming send without waiting for acknowledgements
Simple request/responseDNS query in one datagram each way
Application-level reliabilityQUIC, TFTP, some VPNs build their own
Stateless firewalling is harderFirewalls track UDP "sessions" with timers

QUIC (used by HTTP/3) runs over UDP but implements reliability, congestion control and encryption itself.

Mechanics and state ownership

UDP preserves datagram message boundaries and adds only ports, length and checksum around the application payload. There is no SYN/SYN-ACK state, no transport sequence space and no UDP acknowledgement. A process can therefore send without knowing whether a peer exists. Stateful firewalls and NAT devices often create temporary flow entries based on the tuple, but those entries are middlebox state rather than UDP protocol state. Applications commonly add their own transaction identifiers, timers, retry logic, duplicate handling or request/response semantics. Large UDP datagrams also inherit IP fragmentation and PMTU risk; one lost fragment can make the complete datagram unusable even when other fragments arrive.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 768

Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → UDP → Connectionless. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc768.html · confidence 94%
Embedded reference data

Quick lookup tables

Connectionless operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

UDP observationWhat it provesDoes not proveNext check
Request leaves sourceSource emitted a datagramDestination received itForward path/policy
Firewall flow entryMiddlebox tracks tupleApplication is listeningDestination receive/process
Server receives requestForward path reached process boundaryResponse will be generatedProtocol/application state
Response leaves serverServer generated replyClient received/accepted itReverse route/NAT/policy
ICMP port unreachableA device explicitly rejected/no listener at that pointAll retries/paths behave sameOrigin and path context
Confirmation

Confirm action

Continue?