skip to content

NAT

Rewriting addresses and ports in flight so many private hosts share a public address, and everything that breaks as a result. Interviewers use it to test whether you understand end-to-end addressing.

on this pageshow

explore

questions

page 2 of 2

Designing a carrier-grade NAT, how would you choose between per-session port allocation, per-subscriber port blocks and fixed port ranges, and how would you size them?

level: principalimportance: nice to knowfreq 14%

basics

~20 s

RFC 6888 asks a carrier-grade NAT's port scheme to maximize port use, minimize log volume and resist guessing; no scheme wins all three: per-session allocation uses ports best, fixed ranges log least, blocks sit between.

open as a page

showing 31–31 of 31