docs(topology): explain ROUTABLE_PREFIXES for Zone->international reach
The gateway example (section 2) only traced the foreign->Zone direction, which works via gateway prefix routing because the gateway holds the direct trunk. The reverse — a regional Zone client calling an international TG — does NOT work by default: the Zone's prefix table has only 222 + Zone prefixes, so a foreign TG matches nothing and stays local. Without ROUTABLE_PREFIXES a regional reflector can never call an international TG. Add a subsection to section 2 (in both TOPOLOGY_EXAMPLES.md and the PDF source topology.html) showing the Zone uplink config (ROUTABLE_PREFIXES=262,240 alongside REMOTE_PREFIX=222), the explicit-prefix rule for a multi-trunk Zone vs the '*' default route for a single-uplink leaf, and the multi-trunk '*' warning. Cross-links to README section 5 and CONCEPTS.md. Rebuilt TOPOLOGY_EXAMPLES.pdf.
This commit is contained in:
1 parent
e35cf42b27
commit
0f83a25e50
3 files changed
+57
No files matched your search
@@ -169,6 +169,40 @@ section. SE only knows the prefixes it has trunks for: `222` (IT) and `262`
|
|||||||
monitored) `22221` on their SvxLink node, via `MsgPeerTgInterest`
|
monitored) `22221` on their SvxLink node, via `MsgPeerTgInterest`
|
||||||
(type 129).
|
(type 129).
|
||||||
|
|
||||||
|
**Reaching international TGs *from* a Zone — `ROUTABLE_PREFIXES`.**
|
||||||
|
The gateway routing above carries a *foreign* talker *into* a Zone. The
|
||||||
|
opposite direction — a **Zone client calling an international TG** (say DE
|
||||||
|
`2629`, or any TG owned out in the international mesh) — does **not** work by
|
||||||
|
default. A Zone's prefix table contains only `222` (IT) and the other Zone
|
||||||
|
prefixes, so `2629` matches nothing, has no owner, and stays local; the Zone
|
||||||
|
never forwards it to IT 222. To open that path, declare the foreign prefixes
|
||||||
|
as **routable via the gateway** on the Zone's uplink to IT 222:
|
||||||
|
|
||||||
|
```ini
|
||||||
|
# On IT-Z2 (prefix 2222) — its trunk section shared with the gateway IT 222:
|
||||||
|
[TRUNK_222_2222]
|
||||||
|
HOST=it222.example.org
|
||||||
|
SECRET=...
|
||||||
|
REMOTE_PREFIX=222 # IT 222 owns 222
|
||||||
|
ROUTABLE_PREFIXES=262,240 # DE, SE, … reachable *via* IT 222
|
||||||
|
```
|
||||||
|
|
||||||
|
Now `2629` matches the routable `262` on the Zone→IT 222 link, so the Zone
|
||||||
|
forwards it to IT 222, which — being in the international mesh with a `262`
|
||||||
|
trunk to DE — relays it onward to Germany. The return audio comes back via
|
||||||
|
peer interest. Two patterns:
|
||||||
|
|
||||||
|
- **Multi-trunk Zone (in the national mesh):** list the foreign prefixes
|
||||||
|
explicitly, as above. Each prefix you want reachable must be named — there
|
||||||
|
is no automatic propagation.
|
||||||
|
- **Single-uplink leaf:** a region trunked *only* to IT 222 (not part of the
|
||||||
|
national mesh) can instead set `ROUTABLE_PREFIXES=*` — a default route that
|
||||||
|
reaches any TG through its one uplink. Do **not** use `*` on a multi-trunk
|
||||||
|
Zone (it logs a startup warning and is ambiguous about which leg to use).
|
||||||
|
|
||||||
|
See the [README routable-prefixes section](../README.md#5-routable-prefixes--hierarchical-and-non-full-mesh-topologies-optional)
|
||||||
|
and [`CONCEPTS.md`](CONCEPTS.md) for the full mechanism.
|
||||||
|
|
||||||
> **Cluster TGs are for unowned TGs, not for cross-mesh routing.**
|
> **Cluster TGs are for unowned TGs, not for cross-mesh routing.**
|
||||||
> Gateway prefix routing handles foreign-to-regional reach automatically
|
> Gateway prefix routing handles foreign-to-regional reach automatically
|
||||||
> as long as IT 222 has a `[TRUNK_x]` section pointing at the regional
|
> as long as IT 222 has a `[TRUNK_x]` section pointing at the regional
|
||||||
|
|||||||
Binary file not shown.
@@ -312,6 +312,29 @@ works the same way: audio from a Z3 client reaches SE because IT's
|
|||||||
<code>isPeerInterestedTG</code> for <code>22221</code> was registered on
|
<code>isPeerInterestedTG</code> for <code>22221</code> was registered on
|
||||||
the SE side when SE's PTT first arrived.</p>
|
the SE side when SE's PTT first arrived.</p>
|
||||||
|
|
||||||
|
<p><strong>Reaching international TGs <em>from</em> a Zone —
|
||||||
|
<code>ROUTABLE_PREFIXES</code>.</strong> The gateway routing above carries a
|
||||||
|
<em>foreign</em> talker <em>into</em> a Zone. The opposite direction — a
|
||||||
|
<strong>Zone client calling an international TG</strong> (say DE
|
||||||
|
<code>2629</code>, or any TG owned out in the international mesh) — does
|
||||||
|
<strong>not</strong> work by default: a Zone's prefix table holds only
|
||||||
|
<code>222</code> and the other Zone prefixes, so <code>2629</code> matches
|
||||||
|
nothing, has no owner, and stays local. To open that path, declare the foreign
|
||||||
|
prefixes as routable via the gateway on the Zone's uplink to IT 222 — e.g.
|
||||||
|
set <code>ROUTABLE_PREFIXES=262,240</code> (DE, SE, …) alongside
|
||||||
|
<code>REMOTE_PREFIX=222</code> in the Zone's <code>[TRUNK_x]</code> section
|
||||||
|
facing IT 222. Now <code>2629</code> matches the routable <code>262</code>, so
|
||||||
|
the Zone forwards it to IT 222, which — in the international mesh with a
|
||||||
|
<code>262</code> trunk to DE — relays it onward; the return audio comes
|
||||||
|
back via peer interest.</p>
|
||||||
|
|
||||||
|
<p>A multi-trunk Zone (inside the national mesh) must name each foreign prefix
|
||||||
|
explicitly — there is no automatic propagation. A region trunked
|
||||||
|
<em>only</em> to IT 222 (a single-uplink leaf) can instead use
|
||||||
|
<code>ROUTABLE_PREFIXES=*</code>, a default route reaching any TG via its one
|
||||||
|
uplink; do <strong>not</strong> use <code>*</code> on a multi-trunk Zone (it
|
||||||
|
logs a startup warning and is ambiguous about which leg to use).</p>
|
||||||
|
|
||||||
<div class="note">
|
<div class="note">
|
||||||
<span class="label">Cluster TGs are for unowned TGs, not cross-mesh routing</span>
|
<span class="label">Cluster TGs are for unowned TGs, not cross-mesh routing</span>
|
||||||
Gateway prefix routing handles foreign-to-regional reach automatically
|
Gateway prefix routing handles foreign-to-regional reach automatically
|
||||||
|
|||||||
Reference in new issue
Block a user