UDP Example

DHCP Discovery

Study a UDP-based DHCP discovery packet. Learn how DHCP uses well-known ports 67 and 68 over UDP, and inspect the header fields in a real client-to-server datagram.

Hex Data

00 43 00 44 01 01 06 00 2C 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
Note: DHCP client to server communication (port 68 → 67)
Load in Visualizer
dhcpport-67

Field Breakdown

Source Port
Source port number (0-65535)
67
DHCP Server
Destination Port
Destination port number (0-65535)
68
DHCP Client
Length
Length of UDP header and data in bytes (minimum 8)
257
Checksum
Checksum for error detection (optional in IPv4, mandatory in IPv6)
0x0600

About UDP

User Datagram Protocol (RFC 768)

Fields: 4
Endianness: big
Specification: RFC 768