Low overhead
UDP has low overhead: an 8-byte header with ports, length and checksum and no connection setup, which suits DNS, VoIP, streaming and other traffic where speed matters more than retransmission.
application chooses UDP → small header, no setup → datagram sent immediately → network delivers or drops → application handles loss
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Assuming low overhead means low latency.
- Large UDP packets fragmenting.
Step 2 When low overhead hurts Narrow the fault
- No congestion control: UDP floods can starve TCP traffic (apply QoS or rate limits).
- Fragmentation of large datagrams (DNS over UDP > 1232 bytes with EDNS) — fragments are often dropped.
- Firewalls/NAT time out UDP state quickly; long-idle flows need keepalives.
- Easy to spoof source addresses (amplification attacks).
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.
No handshake and no retransmission means low delay but no delivery guarantee — the application must handle loss, order and retries. For voice and video, lost packets are skipped rather than resent; QoS and low loss matter more than bandwidth. Large UDP payloads fragment, and fragments are often dropped.
- 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.
ReferenceWhat it is1 section · depth on demand
UDP header
| Field | Size |
|---|---|
| Source port | 16 bits |
| Destination port | 16 bits |
| Length | 16 bits |
| Checksum | 16 bits (optional in IPv4, mandatory in IPv6) |
8 bytes in total, versus at least 20 for TCP. No handshake, so the first datagram carries data immediately — good for short request/response (DNS), real-time media and tunnels (VXLAN, WireGuard, IPsec NAT-T).
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 & boundaries2 sections · depth on demand
In depth
Why UDP's overhead is so low
The UDP header is 8 bytes, against at least 20 bytes for TCP. In RFC 768 it has just four fields of 16 bits each: source port, destination port, length and checksum. The length field counts the header and data in octets and is at least eight. There are no sequence numbers, no acknowledgements, no window and no timers, so each datagram costs only its header and a single send.
Per-packet overhead (IPv4 headers without options)
| Protocol stack | Header bytes | Overhead for a 160-byte voice payload |
|---|---|---|
| IPv4 + UDP | 20 + 8 = 28 | 15 % |
| IPv4 + UDP + RTP | 20 + 8 + 12 = 40 | 20 % |
| IPv4 + TCP (no options) | 20 + 20 = 40 | 20 %, plus handshake and ACK traffic |
Where the savings come from
| Avoided cost | Effect |
|---|---|
| No handshake | The first datagram carries data; a DNS lookup is a single round trip |
| No ACK traffic | Less traffic in the reverse direction |
| No retransmission delay | Real-time data isn't held back by older lost packets |
| No connection state | Servers can answer very many clients cheaply |
The cost of low overhead
| Missing feature | Who has to provide it |
|---|---|
| Congestion control | The application, or the network suffers |
| Reliability | The application, if it needs it |
| Source validation | Nobody; spoofed sources enable reflection and amplification attacks |
host$ tshark -r voice.pcap -Y "udp.port==16384" -T fields -e frame.len -e udp.length | head -3
214 180
214 180
214 180
R1# show policy-map interface GigabitEthernet0/0/0 output class VOICE | include packets|bytes
In this example, each 214-byte frame carries 172 bytes of RTP (180 − 8): a 160-byte payload plus the 12-byte RTP header. The rest is Ethernet, IP and UDP headers. In QoS bandwidth calculations for voice, count every one of those headers, not just the payload.
Documented example, not captured output.
Quick reference
UDP is chosen where low latency or low overhead matters more than built-in reliability. Short request/response protocols avoid the round trip of a TCP handshake, real-time media prefers a late packet to be dropped rather than retransmitted, and tunnels and modern transports such as QUIC build their own reliability on top. The trade-off is that UDP has no congestion control of its own, so bandwidth management is up to the application and the network.
UDP's 8-byte header (source port, destination port, length, checksum) versus TCP's 20–60 bytes, plus no handshake latency, makes it suitable for short request/response (DNS, DHCP, NTP, SNMP), real-time media (RTP), tunnels (VXLAN, WireGuard, IPsec NAT-T) and QUIC.
The flip side: no congestion control in UDP itself — high-rate UDP flows can starve TCP traffic; QoS and application-level rate control are needed.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → UDP → Low overhead. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc768.html · confidence 94%