Router Mode
A router is a Zenoh node that routes messages between clients and peers across network segments.
Starting a Router
zenohdLinking Routers
Routers connect to each other to form a routing fabric:
{
mode: "router",
connect: {
endpoints: ["tcp/parent-router.example.com:7447"],
},
listen: {
endpoints: ["tcp/0.0.0.0:7447"],
},
}Router as Plugin Host
The router is also a plugin host — it can run storage backends, REST APIs, admin interfaces, and custom extensions:
{
plugins: {
rest: { http_port: 8000 },
storage_manager: { /* ... */ },
},
}