DHCPv6 relies on UDP, with clients sending from port 546 and servers listening on 547. The flow is 546 to 547, then 547 back to 546. This port pairing is specific to DHCPv6 and highlights why TCP ports aren’t involved for this protocol.

Multiple Choice

Which UDP port is used by DHCPv6 for client messages?

DHCPv6 relies on UDP, and the client messages originate from UDP port 546. The server listens on port 547, and communications between client and server involve the client sending from 546 to the server’s 547, with responses coming back from 547 to 546. So the port used by DHCPv6 client messages is 546 UDP. The other options aren’t correct because 547 UDP is the server’s destination port, not the client’s source port, and DHCPv6 uses UDP (not TCP), so TCP ports aren’t applicable.

Port numbers you can actually rely on in a DHCPv6 world

If you’ve ever poked around a network’s traffic, you’ve probably bumped into DHCPv6 and its quiet, steady choreography. It’s the behind-the-scenes mechanism that hands out IPv6 addresses and config options to devices so they can talk on the network. What often trips people up is the way the client and server talk to each other—using specific UDP ports that map to predictable roles. In DHCPv6, the client messages spring from UDP port 546, while the server listens on UDP port 547. It’s a tidy little handshake that looks simple on the surface but is essential for smooth network operation.

Let me lay out the basics in human-friendly terms, then connect the dots with a few practical takeaways. You’ll see how the port numbers quietly guide the flow of messages, why UDP is the right vehicle for this job, and what happens when things don’t line up.

Port numbers: a quick map for DHCPv6

  • Client transport: UDP source port 546

  • Server transport: UDP destination port 547

  • Server listening port: UDP port 547

  • Client receiving responses: UDP source port 547, destination port 546

Think of it like a postal system inside the network. The client stamps its outgoing packet with a return address, and the server uses the response from its own address back to that address. The source-destination pair matters because it ensures the reply finds its way back to the right device, even if there are multiple clients in the same broadcast domain or on different segments. In DHCPv6, this exchange is designed to be lightweight and stateless in terms of transport, which is why UDP fits so well.

Why UDP, and not TCP, for DHCPv6?

DHCPv6 favors UDP for several reasons. First up, speed and simplicity. UDP is a connectionless protocol; it doesn’t require the overhead of establishing a formal session before each message. For a service that needs to quickly offer a configuration to a brand-new or renewing client, that lean footprint matters. Second, DHCPv6 messages are small and happen in bursts. The exchange pattern—solicit, advertise, request, reply—works nicely over UDP, where each message stands on its own and can be dropped or retried without the complexity of a full TCP session.

TCP might sound appealing for reliability, but it introduces a layer of complexity that isn’t necessary here. DHCPv6 uses a transaction ID to match replies to requests, and UDP’s simplicity keeps the transport light. When a message is dropped, the higher-level DHCPv6 logic can handle retries without needing TCP’s stream semantics. So, UDP ports 546 and 547 aren’t just a random choice; they’re part of a design that emphasizes speed and resilience in a dynamic network environment.

What happens during the DHCPv6 client-server conversation?

Let’s walk through a typical flow, without getting lost in the weeds:

  • The client starts by sending a SOLICIT or REQUEST message from its UDP source port 546 to the server’s UDP destination port 547. This is where the “from 546 to 547” pattern comes to life.

  • The server, listening on port 547, responds with an ADVERTISE or REPLY, with its own UDP source port 547 and the client’s destination port 546. The client can then confirm its configuration by sending a REQUEST, if needed, and the server replies again on the same port pairing.

  • If multiple servers or relay agents are involved, the message routing still adheres to the same port conventions, so the client knows exactly where to listen for a response and where to direct its own requests.

This architecture pays off in real-world networks. It’s predictable, auditable, and easy to monitor with common network tools. When you see traffic from 546 to 547, you’re watching a DHCPv6 handshake in action.

Practical checks: spotting DHCPv6 traffic in the wild

If you’re investigating a network and want to verify DHCPv6 activity, here are a few quick checks you can perform with familiar tools:

  • Wireshark: Filter for bootp or dhcpv6 messages and look at the UDP ports. You’ll often see client-originated packets from port 546 to server port 547, with replies coming back the same way. The transaction IDs help you match requests and responses.

  • tcpdump: A quick capture can reveal the same port usage. For example: tcpdump -n -i eth0 'udp and (port 547 or port 546)'. It’s satisfying to watch the request from 546 making its way to 547, then the response returning to 546.

  • Network maps: In a structured network, you’ll see DHCPv6 servers bound to 547 and clients issuing their requests from 546. If you’re juggling virtualization or cloud environments, those port mappings and firewall rules are the spots to confirm.

A gentle note on misconfigurations

Occasionally, you’ll encounter devices that don’t follow the standard neatly. Maybe a misconfigured firewall blocks traffic from 546 or 547, or a relay agent misroutes messages. When that happens, clients might fail to obtain an address, or the network may end up with partial or conflicting configurations. The quick fix is to ensure both ends—client and server, plus any relay—agree on the port usage and that the firewall rules allow UDP traffic on 546 and 547 in the right directions.

DHCPv6 versus DHCPv4: a quick comparison for context

If you’ve worked with DHCPv4, you’ll notice some threads repeat but with a modern spin. DHCPv4 also uses UDP, typically ports 67 (server) and 68 (client). The big shift in DHCPv6 is that the client originates from port 546 rather than a randomized port, and the server listens on 547. The pattern keeps the transport consistent while allowing IPv6’s larger address space and different network behavior to flourish. And because IPv6 networks often feature stateless address autoconfiguration in addition to DHCPv6, keeping a clean, predictable port scheme helps network admins keep things readable and manageable.

Why this matters for network design and security

Knowing these port conventions isn’t just trivia. It has real implications for design choices and security postures:

  • Firewall and ACL planning: If you’re provisioning a firewall, you want to allow UDP traffic from 546 to 547 in the right direction. Blocking these quietly blocks a fundamental IPv6 configuration flow, leaving devices adrift.

  • Network segmentation: In multi-VRF or disaster-recovery scenarios, keeping DHCPv6 traffic neatly mapped to the expected ports prevents cross-segment misrouting, which can be a headache to troubleshoot later.

  • Monitoring and alerting: Proactive admins set up baselines for DHCPv6 activity. A sudden drop in 546-to-547 traffic can signal misconfigurations, failed relay agents, or broader connectivity issues.

A slightly nerdy digression to keep things human

As you think about port usage, you might pause and appreciate how network protocols balance lightness with function. The DHCPv6 handshake is a lot like a quick, polite introduction at a conference: one side speaks from a specific address, the other replies from a known position, and everything returns to a familiar place. It’s not glamor, but it’s dependable.

If you’re curious, you can compare DHCPv6’s streamlined transport with more robust, session-heavy protocols. There’s a charm in the way DHCPv6 keeps things minimal: a couple of ports, a handful of messages, and a lot of value delivered with low ceremony. It’s the engineering equivalent of a well-timed hello.

Putting it all together

So, what’s the bottom line? DHCPv6 client messages originate from UDP port 546, while the server listens on UDP port 547. The dialogue between client and server rides on those ports, with replies swapping the same ports—547 back to 546. It’s a simple rule set, but it governs a critical piece of how devices join and configure themselves on an IPv6 network.

If you’re building or maintaining a network, memorize this pairing as a quick reference point. You’ll find it saves you time during troubleshooting, makes security rules clearer, and keeps the grand dance of devices talking to each other running smoothly. And if you ever get curious about the next layer, there are a few related topics worth exploring: how routers relay DHCPv6 messages, how privacy addresses interact with DHCPv6 configuration, and how modern networks balance automatic configuration with manual controls.

In the end, those two numbers—546 and 547—are less a trivia footnote and more a dependable rhythm. They keep the onboarding parade of devices moving, quietly ensuring that every newcomer gets the addresses, options, and settings it needs to join the conversation.