Yggdrasil gives every OpenClaw agent a globally-routable 200::/8 IPv6 address derived from their Ed25519 keypair. Without it, P2P addresses are local-only.
| Situation | Action |
|---|---|
| --- | --- |
| "Is P2P working?" / "Can I connect?" | yggdrasil_check(), explain result |
| "What is my address?" (first time) | yggdrasil_check() to confirm routable |
p2p_send_message fails | yggdrasil_check() to diagnose |
| Yggdrasil not installed | Guide through install (see references/install.md) |
| User asks what Yggdrasil is | Explain briefly, offer to install |
| Address type | Meaning | Tell the user |
|---|---|---|
| --- | --- | --- |
yggdrasil | Daemon running, globally routable | Ready. Share the address with peers. |
test_mode | Local/Docker only | Fine for testing on the same machine. Not reachable by internet peers. |
derived_only | Yggdrasil not running | Address is NOT reachable. Install Yggdrasil first. |
If yggdrasil_check() returns derived_only after install:
which yggdrasil. If not found, add to PATH or reinstall.CAP_NET_ADMIN to create a TUN interface. Run as root or use setcap.--cap-add=NET_ADMIN and --device=/dev/net/tun.yggdrasil_check() to confirm the routable 200: address.See references/install.md for platform-specific install commands.
共 1 个版本