How can NAPT let many private hosts share one public address?

It translates addresses and transport ports into one public address.

Start playing free

  1. By assigning every host the same MAC
  2. By translating addresses and TCP or UDP ports ✔
  3. By converting every packet to DNS

Why: Network Address Port Translation rewrites both an address and a TCP or UDP port. Distinct translated port mappings let return traffic be matched to the correct internal connection.

Huh, didn't know that: This many-to-one form is often called NAPT, PAT, or NAT overload.

The dad joke
NAT throws a port party where everyone shares one address.
Like this card?
Play the game

References

Answer: By translating addresses and TCP or UDP ports. Network Address Port Translation rewrites both an address and a TCP or UDP port. Distinct translated port mappings let return traffic be matched to the correct internal connection.

  1. RFC 3022: Traditional IP Network Address Translator www.rfc-editor.org/rfc/rfc3022.html
    many network addresses and their TCP/UDP (Transmission Control Protocol/User Datagram Protocol) ports are translated into a single network address and its TCP/UDP ports
    Checked 2026-10-11.

Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.

Test yourself in the game