You signed in with another tab or window. Reload to refresh your session.
<
8000
span class="js-stale-session-flash-signed-out" hidden>You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MikroTik RouterOS (CHR, Cloud Hosted Router) as a router node, as #657 lists for network operating systems.
RouterOS is not a systemd Linux, so the vivarium agent cannot run there and UML cannot boot it: its kernel is MikroTik's own.
Boot: QEMU with the CHR raw disk image (chr-7.x.img), free to download. The free licence limits each interface to 1 Mbit/s, enough for control-plane tests.
Control: the RouterOS REST API (/rest, 7.1+) or ssh, through a passt forward. The serial console for the first login. Phases get a small RouterOS driver instead of succeed.
Config: an .rsc script applied at first boot (/import), or the REST API.
Lost: the store view, /artifacts, journal events.
Done when a test routes between two NixOS guests through CHR and checks a BGP session with FRR.
Milestone 1 is built, on bookmark vivarium/routeros (stacked on vivarium/vyos, whose vivariumImageGuest plumbing it uses). Design: vivarium/docs/design/console-guests.md.
vivarium.routeros boots CHR 7.24.5 under QEMU from its own disk. The serial port is the control channel; no agent, no store.
Config: RouterOS script on a bare ext4 disk, /imported after login. (An ext4 in an MBR table stops CHR booting; a read-only disk does not mount.)
Machine.execute goes through a Control: AgentControl (the agent, unchanged) or ConsoleControl (anyio) with a RouterOS dialect. Each command travels as base64 in a fixed template and its output comes back as base64, so nothing wraps or gets rewritten by the line editor; errors return RouterOS's message. Login admin+ct65535w9999h.
The routeros test passes sandboxed in 20 s: config applied, a command, a failing command's message, 3000 lines of output, a 36 KB chunked script, agent calls refused.
Next: two NixOS guests routed through the CHR, then BGP with FRR.
The done line is met on bookmark vivarium/routeros: routeros-bgp runs eBGP between CHR 7.24.5 and an FRR guest, each learns the other's LAN, and hosts on the two LANs reach each other at TTL 62. routeros-route routes two NixOS guests through the CHR. All three RouterOS tests pass sandboxed.
A RouterOS guest's interfaces carry their vivarium attribute names (renamed by MAC from etherN) and their declared addresses, as on every other backend.
Stays open until the stack lands on main. Next on the console path: RestControl.
Activity
Lillecarl commentedon Oct 21, 2026
Milestone 1 is built, on bookmark
vivarium/routeros(stacked onvivarium/vyos, whosevivariumImageGuestplumbing it uses). Design:vivarium/docs/design/console-guests.md.vivarium.routerosboots CHR 7.24.5 under QEMU from its own disk. The serial port is the control channel; no agent, no store./imported after login. (An ext4 in an MBR table stops CHR booting; a read-only disk does not mount.)Machine.executegoes through aControl:AgentControl(the agent, unchanged) orConsoleControl(anyio) with a RouterOS dialect. Each command travels as base64 in a fixed template and its output comes back as base64, so nothing wraps or gets rewritten by the line editor; errors return RouterOS's message. Loginadmin+ct65535w9999h.routerostest passes sandboxed in 20 s: config applied, a command, a failing command's message, 3000 lines of output, a 36 KB chunked script, agent calls refused.Next: two NixOS guests routed through the CHR, then BGP with FRR.
Assisted-By: Claude Opus 5.5
Lillecarl commentedon Oct 21, 2026
The done line is met on bookmark
vivarium/routeros:routeros-bgpruns eBGP between CHR 7.24.5 and an FRR guest, each learns the other's LAN, and hosts on the two LANs reach each other at TTL 62.routeros-routeroutes two NixOS guests through the CHR. All three RouterOS tests pass sandboxed.A RouterOS guest's interfaces carry their vivarium attribute names (renamed by MAC from
etherN) and their declared addresses, as on every other backend.Stays open until the stack lands on main. Next on the console path:
RestControl.Assisted-By: Claude Opus 5.5
docs(vivarium): design for guests reached only through a console
feat(vivarium): drive a guest through its console, and speak RouterOS
feat(vivarium): a RouterOS guest under QEMU, driven through its console
feat(vivarium): a RouterOS guest's interfaces carry their vivarium names
test(vivarium): eBGP between RouterOS and FRR
test(vivarium): eBGP between VyOS and FRR
docs(vivarium): design for guests reached only through a console
feat(vivarium): drive a guest through its console, and speak RouterOS
feat(vivarium): a RouterOS guest under QEMU, driven through its console
feat(vivarium): a RouterOS guest's interfaces carry their vivarium names
test(vivarium): eBGP between RouterOS and FRR
test(vivarium): eBGP between VyOS and FRR