roadmap NOT-STARTED

941. A machine on two networks at once

Name: provisional. The number 941 is provisional until the merge queue lands it, and the title and slug are too.

calef, 2026-10-20 (UTC), on #2470, choosing between ways radon could use its two Ethernet ports: "Lets do a and create a milestones for b." Option a, one port at a time, is the milestone #2470 adds (radon's second Ethernet port). This is b: both ports up at once, each a network a program can be handed. A writing-only lane wrote it the same day and built nothing.

When to build it

Not until a workload needs two networks. #2470's milestone gives a person a lease from whichever jack they cable. The cases that would justify this:

Each is a customer-path workload in AGENTS.md's sense only once someone runs it. Until then this stays NOT-STARTED.

What the tree has

The decision it waits on

What a program asks for and what it is handed, when there are two networks. This is the socket contract's edge and the manifest's format, so it is calef's, and it is unwritten. The questions a lane writes up for it:

The capability answer is the one to beat: a program reaches the network whose Stack it holds, and no program holds one it was not given. That keeps the wire format as it is and moves the choice to the manifest and the progenitor.

Exit criteria, once the decision is written

  1. Two NICs up at once, each its own net_stack with its own DMA region and its own lease. The fixed DMA address becomes one per stack.
  2. The progenitor holds a Stack per network and hands each program only the ones its grant names, under the ruled format.
  3. A QEMU test with two NICs on two networks: a program granted one cannot open a socket that reaches the other, and a program granted both reaches each.
  4. On radon, once #2470's milestone has brought up its second port, with both jacks cabled to different networks, both lease, and a listener granted only one network is unreachable from the other.

BUGS

Reuse: the tree's own net_stack, run twice, is the stack; no multi-interface stack was searched for, because the capability answer needs one stack per network. Prior art, recalled rather than read: Linux network namespaces put each interface in its own stack and hand a process one namespace; FreeBSD's VNET jails do the same; Plan 9 binds a network's /net into a process's namespace. All three make the network a thing a process is given, which is the capability answer above.

Index row

Both of a machine's NICs up at once, each its own stack, and a program reaching only the network whose Stack capability it was granted: a management local area network and a data local area network, or a router. It waits on an unwritten decision about how the manifest names a network and what the progenitor hands out.