~/talk

How to share IPv4 addresses by partitioning the port space

Talkat Linux Plumbers Conference 2022 · 2022-09-12..09-14· [networking]
links:none on file
links:none on file
slides:none on file

Describes a concrete implementation to share an IPv4 egress address by carving the ephemeral port space into 512-port slices assigned to servers; user-space sampling worked in production for TCP but fails for UDP. Proposes kernel changes: store a per-socket ephemeral range, clamp per-net ephemeral range at connect time, and add a stricter bind_add lookup so UDP treats destination tuple when deciding conflicts. RFC patches are posted; TCP works today, UDP needs the new protocol op and API combination IP_BIND_NO_PORT + REUSEADDR.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05IPv4 address traits and challenges
  3. 4:35Extreme solutions for IP sharing
  4. 8:53Port space partitioning concept
  5. 13:21Kernel API limitations
  6. 23:06Alternative approaches and API design
  7. 26:42Q&A and discussion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.