Multicast Scouting
Scouting is the mechanism by which Zenoh nodes discover each other without pre-configured addresses.
How It Works
- A new node sends a
Scoutmulticast on224.0.0.224:7446 - Existing nodes reply with a
Hellocontaining their transport endpoints - The new node establishes direct connections
Configuration
{
scouting: {
multicast: {
enabled: true,
address: "224.0.0.224:7446",
interface: "auto",
ttl: 1,
},
gossip: {
enabled: true, // peers gossip discovered nodes to each other
},
},
}Disabling Scouting
For production WAN deployments, disable scouting and configure explicit endpoints:
{
scouting: {
multicast: { enabled: false },
},
connect: {
endpoints: ["tcp/router.prod.example.com:7447"],
},
}