docs(topology): document LOCAL_ALIASES, fix stale and incorrect claims
The PDF is built from docs/topology_pdf/ (HTML + Graphviz), not from TOPOLOGY_EXAMPLES.md, so the two prose copies had drifted. Resync them and correct several claims that no longer matched the code. - Add a LOCAL_ALIASES overlay section (+ diagram 6): re-home a short local TG under an owned prefix so the mesh routes the long number while local clients keep dialing the short one. Translation happens at the trunk boundary only -- clients and satellites see the short number. - Peer interest: MsgPeerTgInterest (type 129) lets a passive listener register interest without keying. The HTML still claimed the owner cannot fan a TG back until the peer transmits; corrected in the Background, the section-2 return leg, and the Properties list. - Satellite trust model: per-satellite SECRET_<id> is implemented (Reflector::resolveSatelliteSecret); drop the "future work" note. - SATELLITE_FILTER: filter entries are exact unless suffixed with "*" (TgFilter::parse), so the documented bare 2222/2224 values matched only those literal TGs. Use 2222* and document the syntax. - Zones are no longer drawn as satellites. A satellite owns no prefix and inherits its parent's identity, so a prefix-owning Zone cannot be one. Zones now hang off IT 222 as sub-trunks (REMOTE_PREFIX supports a comma-separated list), shown with a mix of owned, local-only and aliased TGs. Note that ROUTABLE_PREFIXES=* forwards unowned TGs to the uplink, where the peer drops them. - Merge the old section 3 into section 2 as a "sub-trunk star" variant -- it was the same two-domain topology with a star instead of a full mesh. Satellite becomes section 3, twin section 4. - Disable code-font ligatures: JetBrains Mono rendered SECRET_<id>= as SECRET_<id>= with the ">" swallowed by a ">=" ligature.
This commit is contained in:
1 parent
a9b622b2c7
commit
76a7f3dce0
12 files changed
+763
-374
No files matched your search
@@ -1,49 +0,0 @@
|
||||
// Satellite tree — Italian Zones are satellites of IT 222.
|
||||
// Only IT 222 is on the international trunk mesh.
|
||||
digraph SatTree {
|
||||
layout = dot;
|
||||
rankdir = TB;
|
||||
bgcolor = "transparent";
|
||||
margin = 0.3;
|
||||
splines = true;
|
||||
ranksep = 0.9;
|
||||
nodesep = 0.4;
|
||||
|
||||
node [shape=box, style="filled,rounded", fontname="Helvetica-Bold",
|
||||
fontsize=13, penwidth=2, width=1.05, height=0.65, fixedsize=true];
|
||||
|
||||
// Foreign country gateways (top row)
|
||||
subgraph cluster_intl {
|
||||
label = "International trunk mesh (port :5302)";
|
||||
fontname = "Helvetica-Bold"; fontsize = 12; color = "#1a4fa3";
|
||||
style = "rounded,dashed"; bgcolor = "#f4f8ff";
|
||||
SE [label="SE\n240", fillcolor="#dde8fb", color="#1a4fa3"];
|
||||
DE [label="DE\n262", fillcolor="#dde8fb", color="#1a4fa3"];
|
||||
IT [label="IT\n222", fillcolor="#fde2d4", color="#c0531c"];
|
||||
}
|
||||
|
||||
// Satellite zones hanging off IT 222
|
||||
subgraph cluster_sat {
|
||||
label = "Italian satellite tree (port :5303)";
|
||||
fontname = "Helvetica-Bold"; fontsize = 12; color = "#1e7d34";
|
||||
style = "rounded,dashed"; bgcolor = "#f5fbf6";
|
||||
Z1 [label="IT-Z1\n2221\nfilter=2221", fillcolor="#dff3e0", color="#1e7d34", height=0.85];
|
||||
Z2 [label="IT-Z2\n2222\nfilter=2222", fillcolor="#dff3e0", color="#1e7d34", height=0.85];
|
||||
Z3 [label="IT-Z3\n2223\nfilter=2223", fillcolor="#dff3e0", color="#1e7d34", height=0.85];
|
||||
Z4 [label="IT-Z4\n2224\nfilter=2224", fillcolor="#dff3e0", color="#1e7d34", height=0.85];
|
||||
Z5 [label="IT-Z5\n2225\nfilter=2225", fillcolor="#dff3e0", color="#1e7d34", height=0.85];
|
||||
}
|
||||
|
||||
// Trunk edges (intl full mesh)
|
||||
edge [color="#5f6368", penwidth=1.5, dir=none, constraint=false];
|
||||
SE -> DE; SE -> IT; DE -> IT;
|
||||
|
||||
// Satellite mirror edges (IT 222 ↔ each zone)
|
||||
edge [color="#c0531c", penwidth=1.6, style=dashed, dir=both,
|
||||
arrowhead=normal, arrowtail=normal, arrowsize=0.6, constraint=true];
|
||||
IT -> Z1;
|
||||
IT -> Z2;
|
||||
IT -> Z3;
|
||||
IT -> Z4;
|
||||
IT -> Z5;
|
||||
}
|
||||
@@ -1,133 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.42.4 (0)
|
||||
-->
|
||||
<!-- Title: SatTree Pages: 1 -->
|
||||
<svg width="563pt" height="296pt"
|
||||
viewBox="21.60 21.60 541.60 274.61" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(25.6 270.61)">
|
||||
<title>SatTree</title>
|
||||
<g id="clust1" class="cluster">
|
||||
<title>cluster_intl</title>
|
||||
<path fill="#f4f8ff" stroke="#1a4fa3" stroke-dasharray="5,2" d="M230,-134C230,-134 492,-134 492,-134 498,-134 504,-140 504,-146 504,-146 504,-190 504,-190 504,-196 498,-202 492,-202 492,-202 230,-202 230,-202 224,-202 218,-196 218,-190 218,-190 218,-146 218,-146 218,-140 224,-134 230,-134"/>
|
||||
<text text-anchor="middle" x="361" y="-188.4" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="12.00">International trunk mesh (port :5302)</text>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_sat</title>
|
||||
<path fill="#f5fbf6" stroke="#1e7d34" stroke-dasharray="5,2" d="M20,-8C20,-8 492,-8 492,-8 498,-8 504,-14 504,-20 504,-20 504,-78 504,-78 504,-84 498,-90 492,-90 492,-90 20,-90 20,-90 14,-90 8,-84 8,-78 8,-78 8,-20 8,-20 8,-14 14,-8 20,-8"/>
|
||||
<text text-anchor="middle" x="256" y="-76.4" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="12.00">Italian satellite tree (port :5303)</text>
|
||||
</g>
|
||||
<!-- SE -->
|
||||
<g id="node1" class="node">
|
||||
<title>SE</title>
|
||||
<path fill="#dde8fb" stroke="#1a4fa3" stroke-width="2" d="M492,-181C492,-181 440,-181 440,-181 434,-181 428,-175 428,-169 428,-169 428,-146 428,-146 428,-140 434,-134 440,-134 440,-134 492,-134 492,-134 498,-134 504,-140 504,-146 504,-146 504,-169 504,-169 504,-175 498,-181 492,-181"/>
|
||||
<text text-anchor="middle" x="466" y="-161.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">SE</text>
|
||||
<text text-anchor="middle" x="466" y="-147.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">240</text>
|
||||
</g>
|
||||
<!-- DE -->
|
||||
<g id="node2" class="node">
|
||||
<title>DE</title>
|
||||
<path fill="#dde8fb" stroke="#1a4fa3" stroke-width="2" d="M387,-181C387,-181 335,-181 335,-181 329,-181 323,-175 323,-169 323,-169 323,-146 323,-146 323,-140 329,-134 335,-134 335,-134 387,-134 387,-134 393,-134 399,-140 399,-146 399,-146 399,-169 399,-169 399,-175 393,-181 387,-181"/>
|
||||
<text text-anchor="middle" x="361" y="-161.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">DE</text>
|
||||
<text text-anchor="middle" x="361" y="-147.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">262</text>
|
||||
</g>
|
||||
<!-- SE->DE -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>SE->DE</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.5" d="M427.87,-157.5C418.3,-157.5 408.72,-157.5 399.14,-157.5"/>
|
||||
</g>
|
||||
<!-- IT -->
|
||||
<g id="node3" class="node">
|
||||
<title>IT</title>
|
||||
<path fill="#fde2d4" stroke="#c0531c" stroke-width="2" d="M282,-181C282,-181 230,-181 230,-181 224,-181 218,-175 218,-169 218,-169 218,-146 218,-146 218,-140 224,-134 230,-134 230,-134 282,-134 282,-134 288,-134 294,-140 294,-146 294,-146 294,-169 294,-169 294,-175 288,-181 282,-181"/>
|
||||
<text text-anchor="middle" x="256" y="-161.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">IT</text>
|
||||
<text text-anchor="middle" x="256" y="-147.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">222</text>
|
||||
</g>
|
||||
<!-- SE->IT -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>SE->IT</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.5" d="M453.17,-181.24C441.78,-199.59 423.27,-223.62 399.5,-234.5 368.79,-248.56 354.27,-248.44 323.5,-234.5 299.54,-223.64 280.72,-199.6 269.11,-181.25"/>
|
||||
</g>
|
||||
<!-- DE->IT -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>DE->IT</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.5" d="M322.87,-157.5C313.3,-157.5 303.72,-157.5 294.14,-157.5"/>
|
||||
</g>
|
||||
<!-- Z1 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Z1</title>
|
||||
<path fill="#dff3e0" stroke="#1e7d34" stroke-width="2" d="M492,-69C492,-69 440,-69 440,-69 434,-69 428,-63 428,-57 428,-57 428,-20 428,-20 428,-14 434,-8 440,-8 440,-8 492,-8 492,-8 498,-8 504,-14 504,-20 504,-20 504,-57 504,-57 504,-63 498,-69 492,-69"/>
|
||||
<text text-anchor="middle" x="466" y="-49.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">IT-Z1</text>
|
||||
<text text-anchor="middle" x="466" y="-35.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">2221</text>
|
||||
<text text-anchor="middle" x="466" y="-21.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">filter=2221</text>
|
||||
</g>
|
||||
<!-- IT->Z1 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>IT->Z1</title>
|
||||
<path fill="none" stroke="#c0531c" stroke-width="1.6" stroke-dasharray="5,2" d="M299.81,-137.88C302.92,-136.57 306.01,-135.26 309,-134 355.62,-114.34 371.78,-117.89 414,-90 421.25,-85.21 428.38,-79.33 434.91,-73.29"/>
|
||||
<polygon fill="#c0531c" stroke="#c0531c" stroke-width="1.6" points="298.91,-135.98 294.2,-140.26 300.55,-139.85 298.91,-135.98"/>
|
||||
<polygon fill="#c0531c" stroke="#c0531c" stroke-width="1.6" points="436.43,-74.75 439.34,-69.1 433.54,-71.7 436.43,-74.75"/>
|
||||
</g>
|
||||
<!-- Z2 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Z2</title>
|
||||
<path fill="#dff3e0" stroke="#1e7d34" stroke-width="2" d="M387,-69C387,-69 335,-69 335,-69 329,-69 323,-63 323,-57 323,-57 323,-20 323,-20 323,-14 329,-8 335,-8 335,-8 387,-8 387,-8 393,-8 399,-14 399,-20 399,-20 399,-57 399,-57 399,-63 393,-69 387,-69"/>
|
||||
<text text-anchor="middle" x="361" y="-49.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">IT-Z2</text>
|
||||
<text text-anchor="middle" x="361" y="-35.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">2222</text>
|
||||
<text text-anchor="middle" x="361" y="-21.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">filter=2222</text>
|
||||
</g>
|
||||
<!-- IT->Z2 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>IT->Z2</title>
|
||||
<path fill="none" stroke="#c0531c" stroke-width="1.6" stroke-dasharray="5,2" d="M280.66,-129.02C295.43,-112.56 314.34,-91.5 330.1,-73.93"/>
|
||||
<polygon fill="#c0531c" stroke="#c0531c" stroke-width="1.6" points="278.69,-128.07 276.25,-133.94 281.82,-130.88 278.69,-128.07"/>
|
||||
<polygon fill="#c0531c" stroke="#c0531c" stroke-width="1.6" points="332.01,-74.95 334.45,-69.08 328.88,-72.14 332.01,-74.95"/>
|
||||
</g>
|
||||
<!-- Z3 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Z3</title>
|
||||
<path fill="#dff3e0" stroke="#1e7d34" stroke-width="2" d="M282,-69C282,-69 230,-69 230,-69 224,-69 218,-63 218,-57 218,-57 218,-20 218,-20 218,-14 224,-8 230,-8 230,-8 282,-8 282,-8 288,-8 294,-14 294,-20 294,-20 294,-57 294,-57 294,-63 288,-69 282,-69"/>
|
||||
<text text-anchor="middle" x="256" y="-49.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">IT-Z3</text>
|
||||
<text text-anchor="middle" x="256" y="-35.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">2223</text>
|
||||
<text text-anchor="middle" x="256" y="-21.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">filter=2223</text>
|
||||
</g>
|
||||
<!-- IT->Z3 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>IT->Z3</title>
|
||||
<path fill="none" stroke="#c0531c" stroke-width="1.6" stroke-dasharray="5,2" d="M256,-127.62C256,-111.76 256,-91.95 256,-75.13"/>
|
||||
<polygon fill="#c0531c" stroke="#c0531c" stroke-width="1.6" points="253.9,-127.94 256,-133.94 258.1,-127.94 253.9,-127.94"/>
|
||||
<polygon fill="#c0531c" stroke="#c0531c" stroke-width="1.6" points="258.1,-75.08 256,-69.08 253.9,-75.08 258.1,-75.08"/>
|
||||
</g>
|
||||
<!-- Z4 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Z4</title>
|
||||
<path fill="#dff3e0" stroke="#1e7d34" stroke-width="2" d="M177,-69C177,-69 125,-69 125,-69 119,-69 113,-63 113,-57 113,-57 113,-20 113,-20 113,-14 119,-8 125,-8 125,-8 177,-8 177,-8 183,-8 189,-14 189,-20 189,-20 189,-57 189,-57 189,-63 183,-69 177,-69"/>
|
||||
<text text-anchor="middle" x="151" y="-49.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">IT-Z4</text>
|
||||
<text text-anchor="middle" x="151" y="-35.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">2224</text>
|
||||
<text text-anchor="middle" x="151" y="-21.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">filter=2224</text>
|
||||
</g>
|
||||
<!-- IT->Z4 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>IT->Z4</title>
|
||||
<path fill="none" stroke="#c0531c" stroke-width="1.6" stroke-dasharray="5,2" d="M231.34,-129.02C216.57,-112.56 197.66,-91.5 181.9,-73.93"/>
|
||||
<polygon fill="#c0531c" stroke="#c0531c" stroke-width="1.6" points="230.18,-130.88 235.75,-133.94 233.31,-128.07 230.18,-130.88"/>
|
||||
<polygon fill="#c0531c" stroke="#c0531c" stroke-width="1.6" points="183.12,-72.14 177.55,-69.08 179.99,-74.95 183.12,-72.14"/>
|
||||
</g>
|
||||
<!-- Z5 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Z5</title>
|
||||
<path fill="#dff3e0" stroke="#1e7d34" stroke-width="2" d="M72,-69C72,-69 20,-69 20,-69 14,-69 8,-63 8,-57 8,-57 8,-20 8,-20 8,-14 14,-8 20,-8 20,-8 72,-8 72,-8 78,-8 84,-14 84,-20 84,-20 84,-57 84,-57 84,-63 78,-69 72,-69"/>
|
||||
<text text-anchor="middle" x="46" y="-49.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">IT-Z5</text>
|
||||
<text text-anchor="middle" x="46" y="-35.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">2225</text>
|
||||
<text text-anchor="middle" x="46" y="-21.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">filter=2225</text>
|
||||
</g>
|
||||
<!-- IT->Z5 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>IT->Z5</title>
|
||||
<path fill="none" stroke="#c0531c" stroke-width="1.6" stroke-dasharray="5,2" d="M211.98,-142.67C179.29,-131.28 134.41,-113.25 99,-90 91.66,-85.18 84.43,-79.29 77.77,-73.25"/>
|
||||
<polygon fill="#c0531c" stroke="#c0531c" stroke-width="1.6" points="211.59,-144.75 217.94,-144.72 212.95,-140.78 211.59,-144.75"/>
|
||||
<polygon fill="#c0531c" stroke="#c0531c" stroke-width="1.6" points="79.09,-71.61 73.26,-69.06 76.23,-74.68 79.09,-71.61"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 9.8 KiB |
@@ -0,0 +1,64 @@
|
||||
// Sub-trunk star — IT 222 delegates Zone sub-prefixes over ordinary trunks.
|
||||
// The Zones own their prefixes (unlike satellites) but hold a single uplink.
|
||||
digraph SubTrunkStar {
|
||||
layout = dot;
|
||||
rankdir = TB;
|
||||
bgcolor = "transparent";
|
||||
margin = 0.3;
|
||||
splines = true;
|
||||
ranksep = 1.35;
|
||||
nodesep = 0.7;
|
||||
|
||||
node [shape=box, style="filled,rounded", fontname="Helvetica-Bold",
|
||||
fontsize=13, penwidth=2, width=1.05, height=0.65, fixedsize=true];
|
||||
|
||||
// Foreign country gateways (top row)
|
||||
subgraph cluster_intl {
|
||||
label = "International trunk mesh (port :5302)";
|
||||
fontname = "Helvetica-Bold"; fontsize = 12; color = "#1a4fa3";
|
||||
style = "rounded,dashed"; bgcolor = "#f4f8ff";
|
||||
SE [label="SE\n240", fillcolor="#dde8fb", color="#1a4fa3"];
|
||||
DE [label="DE\n262", fillcolor="#dde8fb", color="#1a4fa3"];
|
||||
IT [label="IT\n222", fillcolor="#fde2d4", color="#c0531c"];
|
||||
}
|
||||
|
||||
// Zone reflectors, sub-trunked to IT 222. They own delegated sub-prefixes.
|
||||
subgraph cluster_zones {
|
||||
label = "Italian sub-trunks (port :5302)";
|
||||
fontname = "Helvetica-Bold"; fontsize = 12; color = "#1e7d34";
|
||||
style = "rounded,dashed"; bgcolor = "#f5fbf6"; margin = 14;
|
||||
Z1 [label="IT-Z1\n2221", fillcolor="#dff3e0", color="#1e7d34",
|
||||
fixedsize=false, width=1.3];
|
||||
Z24 [label="IT-Z2/Z4\n2222, 2224", fillcolor="#dff3e0", color="#1e7d34",
|
||||
fixedsize=false, width=1.6];
|
||||
}
|
||||
|
||||
// Annotation: the Zone side of every uplink
|
||||
UP [label="each Zone's uplink to IT 222:\lREMOTE_PREFIX=222\lROUTABLE_PREFIXES=*\l",
|
||||
shape=note, fillcolor="#fff9e6", color="#a37300",
|
||||
style="filled,dashed", fontname="Helvetica", fontsize=10,
|
||||
fixedsize=false];
|
||||
|
||||
// Annotation: a Zone mixes local-only TGs with aliased ones
|
||||
MIX [label="IT-Z2/Z4 talk groups:\lTG 40 no owner → effectively local\lTG 8 LOCAL_ALIASES=8:2222008 → mesh-reachable\lTG 22241 owned outright (under 2224)\l",
|
||||
shape=note, fillcolor="#eceff1", color="#5f6368",
|
||||
style="filled,dashed", fontname="Helvetica", fontsize=10,
|
||||
fixedsize=false];
|
||||
|
||||
// Trunk edges — international full mesh
|
||||
edge [color="#5f6368", penwidth=1.5, dir=none, constraint=false];
|
||||
SE -> DE; SE -> IT; DE -> IT;
|
||||
|
||||
// Sub-trunk edges — IT 222 down to each Zone (bidirectional trunks)
|
||||
edge [color="#5f6368", penwidth=1.6, style=solid, dir=none,
|
||||
constraint=true, fontname="Helvetica", fontsize=10,
|
||||
fontcolor="#3c4043"];
|
||||
IT -> Z1 [label=" REMOTE_PREFIX=2221 "];
|
||||
IT -> Z24 [label=" REMOTE_PREFIX=2222,2224 "];
|
||||
|
||||
// Attach annotations
|
||||
edge [color="#a37300", penwidth=1.2, style=dotted, dir=none, label=""];
|
||||
Z1 -> UP;
|
||||
edge [color="#5f6368"];
|
||||
Z24 -> MIX;
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.42.4 (0)
|
||||
-->
|
||||
<!-- Title: SubTrunkStar Pages: 1 -->
|
||||
<svg width="555pt" height="457pt"
|
||||
viewBox="21.60 21.60 533.10 434.92" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(25.6 430.92)">
|
||||
<title>SubTrunkStar</title>
|
||||
<g id="clust1" class="cluster">
|
||||
<title>cluster_intl</title>
|
||||
<path fill="#f4f8ff" stroke="#1a4fa3" stroke-dasharray="5,2" d="M79.5,-307C79.5,-307 483.5,-307 483.5,-307 489.5,-307 495.5,-313 495.5,-319 495.5,-319 495.5,-363 495.5,-363 495.5,-369 489.5,-375 483.5,-375 483.5,-375 79.5,-375 79.5,-375 73.5,-375 67.5,-369 67.5,-363 67.5,-363 67.5,-319 67.5,-319 67.5,-313 73.5,-307 79.5,-307"/>
|
||||
<text text-anchor="middle" x="281.5" y="-361.4" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="12.00">International trunk mesh (port :5302)</text>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_zones</title>
|
||||
<path fill="#f5fbf6" stroke="#1e7d34" stroke-dasharray="5,2" d="M74.5,-137C74.5,-137 338.5,-137 338.5,-137 344.5,-137 350.5,-143 350.5,-149 350.5,-149 350.5,-221 350.5,-221 350.5,-227 344.5,-233 338.5,-233 338.5,-233 74.5,-233 74.5,-233 68.5,-233 62.5,-227 62.5,-221 62.5,-221 62.5,-149 62.5,-149 62.5,-143 68.5,-137 74.5,-137"/>
|
||||
<text text-anchor="middle" x="206.5" y="-219.4" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="12.00">Italian sub-trunks (port :5302)</text>
|
||||
</g>
|
||||
<!-- SE -->
|
||||
<g id="node1" class="node">
|
||||
<title>SE</title>
|
||||
<path fill="#dde8fb" stroke="#1a4fa3" stroke-width="2" d="M483.5,-354C483.5,-354 431.5,-354 431.5,-354 425.5,-354 419.5,-348 419.5,-342 419.5,-342 419.5,-319 419.5,-319 419.5,-313 425.5,-307 431.5,-307 431.5,-307 483.5,-307 483.5,-307 489.5,-307 495.5,-313 495.5,-319 495.5,-319 495.5,-342 495.5,-342 495.5,-348 489.5,-354 483.5,-354"/>
|
||||
<text text-anchor="middle" x="457.5" y="-334.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">SE</text>
|
||||
<text text-anchor="middle" x="457.5" y="-320.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">240</text>
|
||||
</g>
|
||||
<!-- DE -->
|
||||
<g id="node2" class="node">
|
||||
<title>DE</title>
|
||||
<path fill="#dde8fb" stroke="#1a4fa3" stroke-width="2" d="M307.5,-354C307.5,-354 255.5,-354 255.5,-354 249.5,-354 243.5,-348 243.5,-342 243.5,-342 243.5,-319 243.5,-319 243.5,-313 249.5,-307 255.5,-307 255.5,-307 307.5,-307 307.5,-307 313.5,-307 319.5,-313 319.5,-319 319.5,-319 319.5,-342 319.5,-342 319.5,-348 313.5,-354 307.5,-354"/>
|
||||
<text text-anchor="middle" x="281.5" y="-334.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">DE</text>
|
||||
<text text-anchor="middle" x="281.5" y="-320.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">262</text>
|
||||
</g>
|
||||
<!-- SE->DE -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>SE->DE</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.5" d="M419.27,-330.5C386.07,-330.5 352.86,-330.5 319.66,-330.5"/>
|
||||
</g>
|
||||
<!-- IT -->
|
||||
<g id="node3" class="node">
|
||||
<title>IT</title>
|
||||
<path fill="#fde2d4" stroke="#c0531c" stroke-width="2" d="M131.5,-354C131.5,-354 79.5,-354 79.5,-354 73.5,-354 67.5,-348 67.5,-342 67.5,-342 67.5,-319 67.5,-319 67.5,-313 73.5,-307 79.5,-307 79.5,-307 131.5,-307 131.5,-307 137.5,-307 143.5,-313 143.5,-319 143.5,-319 143.5,-342 143.5,-342 143.5,-348 137.5,-354 131.5,-354"/>
|
||||
<text text-anchor="middle" x="105.5" y="-334.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">IT</text>
|
||||
<text text-anchor="middle" x="105.5" y="-320.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">222</text>
|
||||
</g>
|
||||
<!-- SE->IT -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>SE->IT</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.5" d="M421.8,-354.16C394.93,-370.49 356.52,-390.76 319.5,-399.5 286.63,-407.26 276.37,-407.26 243.5,-399.5 206.48,-390.76 168.07,-370.49 141.2,-354.16"/>
|
||||
</g>
|
||||
<!-- DE->IT -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>DE->IT</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.5" d="M243.27,-330.5C210.07,-330.5 176.86,-330.5 143.66,-330.5"/>
|
||||
</g>
|
||||
<!-- Z1 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Z1</title>
|
||||
<path fill="#dff3e0" stroke="#1e7d34" stroke-width="2" d="M158.5,-198C158.5,-198 88.5,-198 88.5,-198 82.5,-198 76.5,-192 76.5,-186 76.5,-186 76.5,-163 76.5,-163 76.5,-157 82.5,-151 88.5,-151 88.5,-151 158.5,-151 158.5,-151 164.5,-151 170.5,-157 170.5,-163 170.5,-163 170.5,-186 170.5,-186 170.5,-192 164.5,-198 158.5,-198"/>
|
||||
<text text-anchor="middle" x="123.5" y="-178.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">IT-Z1</text>
|
||||
<text text-anchor="middle" x="123.5" y="-164.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">2221</text>
|
||||
</g>
|
||||
<!-- IT->Z1 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>IT->Z1</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.6" d="M99.06,-306.97C95.19,-290.31 91.7,-267.13 95.5,-247 98.72,-229.97 105.89,-211.8 112.16,-198.04"/>
|
||||
<text text-anchor="middle" x="157.5" y="-250" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#3c4043">  REMOTE_PREFIX=2221  </text>
|
||||
</g>
|
||||
<!-- Z24 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Z24</title>
|
||||
<path fill="#dff3e0" stroke="#1e7d34" stroke-width="2" d="M324,-198C324,-198 233,-198 233,-198 227,-198 221,-192 221,-186 221,-186 221,-163 221,-163 221,-157 227,-151 233,-151 233,-151 324,-151 324,-151 330,-151 336,-157 336,-163 336,-163 336,-186 336,-186 336,-192 330,-198 324,-198"/>
|
||||
<text text-anchor="middle" x="278.5" y="-178.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">IT-Z2/Z4</text>
|
||||
<text text-anchor="middle" x="278.5" y="-164.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">2222, 2224</text>
|
||||
</g>
|
||||
<!-- IT->Z24 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>IT->Z24</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.6" d="M143.64,-313.15C169.46,-300.74 203.18,-281.76 227.5,-258 245.21,-240.7 259.4,-216.07 268.27,-198.23"/>
|
||||
<text text-anchor="middle" x="310.5" y="-250" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#3c4043">  REMOTE_PREFIX=2222,2224  </text>
|
||||
</g>
|
||||
<!-- UP -->
|
||||
<g id="node6" class="node">
|
||||
<title>UP</title>
|
||||
<polygon fill="#fff9e6" stroke="#a37300" stroke-width="2" stroke-dasharray="5,2" points="137,-49.5 0,-49.5 0,-2.5 143,-2.5 143,-43.5 137,-49.5"/>
|
||||
<polyline fill="none" stroke="#a37300" stroke-width="2" stroke-dasharray="5,2" points="137,-49.5 137,-43.5 "/>
|
||||
<polyline fill="none" stroke="#a37300" stroke-width="2" stroke-dasharray="5,2" points="143,-43.5 137,-43.5 "/>
|
||||
<text text-anchor="start" x="8" y="-34.5" font-family="Helvetica,sans-Serif" font-size="10.00">each Zone's uplink to IT 222:</text>
|
||||
<text text-anchor="start" x="8" y="-23.5" font-family="Helvetica,sans-Serif" font-size="10.00">REMOTE_PREFIX=222</text>
|
||||
<text text-anchor="start" x="8" y="-12.5" font-family="Helvetica,sans-Serif" font-size="10.00">ROUTABLE_PREFIXES=*</text>
|
||||
</g>
|
||||
<!-- Z1->UP -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Z1->UP</title>
|
||||
<path fill="none" stroke="#a37300" stroke-width="1.2" stroke-dasharray="1,5" d="M115.49,-150.93C105.75,-123.48 89.39,-77.41 79.61,-49.84"/>
|
||||
</g>
|
||||
<!-- MIX -->
|
||||
<g id="node7" class="node">
|
||||
<title>MIX</title>
|
||||
<polygon fill="#eceff1" stroke="#5f6368" stroke-width="2" stroke-dasharray="5,2" points="462,-52 193,-52 193,0 468,0 468,-46 462,-52"/>
|
||||
<polyline fill="none" stroke="#5f6368" stroke-width="2" stroke-dasharray="5,2" points="462,-52 462,-46 "/>
|
||||
<polyline fill="none" stroke="#5f6368" stroke-width="2" stroke-dasharray="5,2" points="468,-46 462,-46 "/>
|
||||
<text text-anchor="start" x="201" y="-40" font-family="Helvetica,sans-Serif" font-size="10.00">IT-Z2/Z4 talk groups:</text>
|
||||
<text text-anchor="start" x="201" y="-29" font-family="Helvetica,sans-Serif" font-size="10.00">TG 40      no owner → effectively local</text>
|
||||
<text text-anchor="start" x="201" y="-18" font-family="Helvetica,sans-Serif" font-size="10.00">TG 8       LOCAL_ALIASES=8:2222008 → mesh-reachable</text>
|
||||
<text text-anchor="start" x="201" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">TG 22241   owned outright (under 2224)</text>
|
||||
</g>
|
||||
<!-- Z24->MIX -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Z24->MIX</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.2" stroke-dasharray="1,5" d="M286.51,-150.93C296,-124.2 311.75,-79.82 321.61,-52.05"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.5 KiB |
@@ -24,7 +24,7 @@ graph Hybrid {
|
||||
Z4 [label="IT-Z4\n2224", fillcolor="#dff3e0", color="#1e7d34", pos="2.6,-1.5!"];
|
||||
|
||||
// Satellite hanging off Z2 (NAT'd club reflector)
|
||||
MI [label="MI club\n(satellite)\nfilter=2222",
|
||||
MI [label="MI club\n(satellite)\nfilter=2222*",
|
||||
fillcolor="#fff4d6", color="#a37300", style="filled,rounded,dashed",
|
||||
height=0.95, width=1.4, pos="5.6, 0.5!"];
|
||||
|
||||
|
||||
@@ -123,7 +123,7 @@
|
||||
<path fill="#fff4d6" stroke="#a37300" stroke-width="2" stroke-dasharray="5,2" d="M536.55,-167.51C536.55,-167.51 459.55,-167.51 459.55,-167.51 453.55,-167.51 447.55,-161.51 447.55,-155.51 447.55,-155.51 447.55,-111.51 447.55,-111.51 447.55,-105.51 453.55,-99.51 459.55,-99.51 459.55,-99.51 536.55,-99.51 536.55,-99.51 542.55,-99.51 548.55,-105.51 548.55,-111.51 548.55,-111.51 548.55,-155.51 548.55,-155.51 548.55,-161.51 542.55,-167.51 536.55,-167.51"/>
|
||||
<text text-anchor="middle" x="498.05" y="-144.11" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">MI club</text>
|
||||
<text text-anchor="middle" x="498.05" y="-130.11" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">(satellite)</text>
|
||||
<text text-anchor="middle" x="498.05" y="-116.11" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">filter=2222</text>
|
||||
<text text-anchor="middle" x="498.05" y="-116.11" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">filter=2222*</text>
|
||||
</g>
|
||||
<!-- Z2--MI -->
|
||||
<g id="edge14" class="edge">
|
||||
|
||||
|
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
@@ -0,0 +1,51 @@
|
||||
// Local aliases — a short local TG (8) re-homed under IT's owned prefix 222
|
||||
// as the globally-unique number 2220008. The mesh routes the long number;
|
||||
// local clients (and satellites) keep dialing the short one.
|
||||
graph LocalAlias {
|
||||
layout = neato;
|
||||
bgcolor = "transparent";
|
||||
margin = 0.3;
|
||||
overlap = false;
|
||||
splines = true;
|
||||
|
||||
node [shape=box, style="filled,rounded", fontname="Helvetica-Bold",
|
||||
fontsize=13, penwidth=2, width=1.0, height=0.65, fixedsize=true];
|
||||
|
||||
// International domain on the left
|
||||
SE [label="SE\n240", fillcolor="#dde8fb", color="#1a4fa3", pos="-4.6, 1.0!"];
|
||||
DE [label="DE\n262", fillcolor="#dde8fb", color="#1a4fa3", pos="-4.6,-1.0!"];
|
||||
|
||||
// The aliasing reflector — owns 222, re-homes local TG 8 as 2220008
|
||||
IT [label="IT\n222", fillcolor="#fde2d4", color="#c0531c", pos="0,0!"];
|
||||
|
||||
// Local SvxLink nodes hanging off IT — they only ever see TG 8
|
||||
NODES [label="local SvxLink nodes\nselect TG 8",
|
||||
fillcolor="#eceff1", color="#5f6368", style="filled,rounded,dashed",
|
||||
height=0.8, width=2.0, pos="0,-2.1!"];
|
||||
|
||||
// Annotation: the number the mesh routes on (sits between the two trunk legs)
|
||||
MESH [label="trunk: the mesh\nroutes TG 2220008", shape=plaintext,
|
||||
style="", fillcolor="none", fontname="Helvetica", fontsize=11,
|
||||
fontcolor="#3c4043", width=1.6, height=0.5, pos="-2.35,0!"];
|
||||
|
||||
// Annotation: what the alias boundary does inside IT
|
||||
ALIAS [label="alias boundary\nroute on 2220008\ndeliver on 8",
|
||||
shape=note, fillcolor="#fff9e6", color="#a37300",
|
||||
style="filled,dashed", fontname="Helvetica",
|
||||
fontsize=11, height=0.95, width=1.75, pos="3.0, 0!"];
|
||||
|
||||
edge [color="#5f6368", penwidth=1.2, fontname="Helvetica", fontsize=11,
|
||||
fontcolor="#3c4043"];
|
||||
|
||||
// International full mesh — the long number is what these peers route on
|
||||
SE -- DE;
|
||||
SE -- IT;
|
||||
DE -- IT;
|
||||
|
||||
// Local delivery leg — the short number is what these clients see
|
||||
IT -- NODES [label=" local: TG 8 "];
|
||||
|
||||
// Tie the annotation to the reflector that performs the translation
|
||||
edge [color="#a37300", penwidth=1.6, style=dotted, len=0.8];
|
||||
IT -- ALIAS;
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.42.4 (0)
|
||||
-->
|
||||
<!-- Title: LocalAlias Pages: 1 -->
|
||||
<svg width="493pt" height="244pt"
|
||||
viewBox="21.60 21.60 471.48 221.96" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(25.6 217.96)">
|
||||
<title>LocalAlias</title>
|
||||
<!-- SE -->
|
||||
<g id="node1" class="node">
|
||||
<title>SE</title>
|
||||
<path fill="#dde8fb" stroke="#1a4fa3" stroke-width="2" d="M60,-192.36C60,-192.36 12,-192.36 12,-192.36 6,-192.36 0,-186.36 0,-180.36 0,-180.36 0,-157.36 0,-157.36 0,-151.36 6,-145.36 12,-145.36 12,-145.36 60,-145.36 60,-145.36 66,-145.36 72,-151.36 72,-157.36 72,-157.36 72,-180.36 72,-180.36 72,-186.36 66,-192.36 60,-192.36"/>
|
||||
<text text-anchor="middle" x="36" y="-172.46" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">SE</text>
|
||||
<text text-anchor="middle" x="36" y="-158.46" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">240</text>
|
||||
</g>
|
||||
<!-- DE -->
|
||||
<g id="node2" class="node">
|
||||
<title>DE</title>
|
||||
<path fill="#dde8fb" stroke="#1a4fa3" stroke-width="2" d="M60,-102.13C60,-102.13 12,-102.13 12,-102.13 6,-102.13 0,-96.13 0,-90.13 0,-90.13 0,-67.13 0,-67.13 0,-61.13 6,-55.13 12,-55.13 12,-55.13 60,-55.13 60,-55.13 66,-55.13 72,-61.13 72,-67.13 72,-67.13 72,-90.13 72,-90.13 72,-96.13 66,-102.13 60,-102.13"/>
|
||||
<text text-anchor="middle" x="36" y="-82.23" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">DE</text>
|
||||
<text text-anchor="middle" x="36" y="-68.23" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">262</text>
|
||||
</g>
|
||||
<!-- SE--DE -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>SE--DE</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.2" d="M36,-145.15C36,-131.89 36,-115.41 36,-102.18"/>
|
||||
</g>
|
||||
<!-- IT -->
|
||||
<g id="node3" class="node">
|
||||
<title>IT</title>
|
||||
<path fill="#fde2d4" stroke="#c0531c" stroke-width="2" d="M267.53,-147.24C267.53,-147.24 219.53,-147.24 219.53,-147.24 213.53,-147.24 207.53,-141.24 207.53,-135.24 207.53,-135.24 207.53,-112.24 207.53,-112.24 207.53,-106.24 213.53,-100.24 219.53,-100.24 219.53,-100.24 267.53,-100.24 267.53,-100.24 273.53,-100.24 279.53,-106.24 279.53,-112.24 279.53,-112.24 279.53,-135.24 279.53,-135.24 279.53,-141.24 273.53,-147.24 267.53,-147.24"/>
|
||||
<text text-anchor="middle" x="243.53" y="-127.34" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">IT</text>
|
||||
<text text-anchor="middle" x="243.53" y="-113.34" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">222</text>
|
||||
</g>
|
||||
<!-- SE--IT -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>SE--IT</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.2" d="M72.09,-166.56C105.4,-163.73 155.96,-157.64 198.21,-144.94 201.21,-144.04 204.25,-142.98 207.28,-141.81"/>
|
||||
</g>
|
||||
<!-- DE--IT -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>DE--IT</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.2" d="M72.09,-80.93C105.4,-83.75 155.96,-89.84 198.21,-102.54 201.21,-103.44 204.25,-104.51 207.28,-105.68"/>
|
||||
</g>
|
||||
<!-- NODES -->
|
||||
<g id="node4" class="node">
|
||||
<title>NODES</title>
|
||||
<path fill="#eceff1" stroke="#5f6368" stroke-width="2" stroke-dasharray="5,2" d="M303.53,-58C303.53,-58 183.53,-58 183.53,-58 177.53,-58 171.53,-52 171.53,-46 171.53,-46 171.53,-12 171.53,-12 171.53,-6 177.53,0 183.53,0 183.53,0 303.53,0 303.53,0 309.53,0 315.53,-6 315.53,-12 315.53,-12 315.53,-46 315.53,-46 315.53,-52 309.53,-58 303.53,-58"/>
|
||||
<text text-anchor="middle" x="243.53" y="-32.6" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">local SvxLink nodes</text>
|
||||
<text text-anchor="middle" x="243.53" y="-18.6" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="13.00">select TG 8</text>
|
||||
</g>
|
||||
<!-- IT--NODES -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>IT--NODES</title>
|
||||
<path fill="none" stroke="#5f6368" stroke-width="1.2" d="M243.53,-99.84C243.53,-87.23 243.53,-71.65 243.53,-58.32"/>
|
||||
<text text-anchor="middle" x="211.53" y="-82.55" font-family="Helvetica,sans-Serif" font-size="11.00" fill="#3c4043">  local: TG 8  </text>
|
||||
</g>
|
||||
<!-- ALIAS -->
|
||||
<g id="node6" class="node">
|
||||
<title>ALIAS</title>
|
||||
<polygon fill="#fff9e6" stroke="#a37300" stroke-width="2" stroke-dasharray="5,2" points="435.88,-157.74 315.88,-157.74 315.88,-89.74 441.88,-89.74 441.88,-151.74 435.88,-157.74"/>
|
||||
<polyline fill="none" stroke="#a37300" stroke-width="2" stroke-dasharray="5,2" points="435.88,-157.74 435.88,-151.74 "/>
|
||||
<polyline fill="none" stroke="#a37300" stroke-width="2" stroke-dasharray="5,2" points="441.88,-151.74 435.88,-151.74 "/>
|
||||
<text text-anchor="middle" x="378.88" y="-132.94" font-family="Helvetica,sans-Serif" font-size="11.00">alias boundary</text>
|
||||
<text text-anchor="middle" x="378.88" y="-120.94" font-family="Helvetica,sans-Serif" font-size="11.00">route on 2220008</text>
|
||||
<text text-anchor="middle" x="378.88" y="-108.94" font-family="Helvetica,sans-Serif" font-size="11.00">deliver on 8</text>
|
||||
</g>
|
||||
<!-- IT--ALIAS -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>IT--ALIAS</title>
|
||||
<path fill="none" stroke="#a37300" stroke-width="1.6" stroke-dasharray="1,5" d="M279.8,-123.74C290.92,-123.74 303.49,-123.74 315.86,-123.74"/>
|
||||
</g>
|
||||
<!-- MESH -->
|
||||
<g id="node5" class="node">
|
||||
<title>MESH</title>
|
||||
<text text-anchor="middle" x="137.51" y="-126.94" font-family="Helvetica,sans-Serif" font-size="11.00" fill="#3c4043">trunk: the mesh</text>
|
||||
<text text-anchor="middle" x="137.51" y="-114.94" font-family="Helvetica,sans-Serif" font-size="11.00" fill="#3c4043">routes TG 2220008</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.6 KiB |
+246
-97
@@ -30,7 +30,7 @@
|
||||
html { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
|
||||
body { color: #202124; line-height: 1.55; font-size: 10.5pt; }
|
||||
|
||||
h1, h2, h3 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
h1, h2, h3, h4 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
color: #202124; line-height: 1.25; }
|
||||
h1 { font-size: 22pt; margin: 0 0 6pt 0; }
|
||||
h2 { font-size: 16pt; margin: 18pt 0 6pt 0;
|
||||
@@ -38,13 +38,18 @@
|
||||
page-break-after: avoid; }
|
||||
h3 { font-size: 12pt; margin: 14pt 0 4pt 0;
|
||||
color: #1a4fa3; page-break-after: avoid; }
|
||||
h4 { font-size: 10.5pt; margin: 12pt 0 4pt 0; color: #1e7d34;
|
||||
page-break-after: avoid; }
|
||||
|
||||
p { margin: 0 0 6pt 0; }
|
||||
strong { color: #1a4fa3; }
|
||||
|
||||
code { font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
|
||||
background: #f1f3f4; color: #c0531c;
|
||||
padding: 0.5pt 3pt; border-radius: 3pt; font-size: 9pt; }
|
||||
padding: 0.5pt 3pt; border-radius: 3pt; font-size: 9pt;
|
||||
/* JetBrains Mono ligates ">=" into a single glyph, which would
|
||||
silently swallow the ">" in tokens like SECRET_<id>=. */
|
||||
font-variant-ligatures: none; }
|
||||
|
||||
table { border-collapse: collapse; margin: 8pt 0 12pt 0; width: 100%;
|
||||
font-size: 9.5pt; page-break-inside: avoid; }
|
||||
@@ -132,6 +137,8 @@
|
||||
.legend .sat { background: #fff4d6; border-color: #a37300;
|
||||
border-style: dashed; }
|
||||
.legend .twin { background: #e6dcff; border-color: #5430a8; }
|
||||
.legend .nodes { background: #eceff1; border-color: #5f6368;
|
||||
border-style: dashed; }
|
||||
.legend .trunk-line {
|
||||
display: inline-block; width: 18pt; height: 2pt; background: #5f6368;
|
||||
vertical-align: middle; margin-right: 4pt;
|
||||
@@ -155,7 +162,7 @@
|
||||
<div class="eyebrow">GeuReflector documentation</div>
|
||||
<h1>Mesh Topology Examples</h1>
|
||||
<div class="subtitle">
|
||||
A visual cookbook of trunk and satellite layouts —
|
||||
A visual cookbook of trunk, satellite and twin layouts —
|
||||
European running example with Italian BrandMeister Zone prefixes
|
||||
</div>
|
||||
<div class="tagline">
|
||||
@@ -200,9 +207,15 @@ down.</p>
|
||||
<p>Two other behaviours show up repeatedly in the flow descriptions below:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>Peer interest</strong> is populated when a peer emits
|
||||
<code>PeerTalkerStart</code> / <code>PeerAudio</code> for a TG. Until
|
||||
that happens, the owner doesn't know to fan that TG back to that peer.
|
||||
<li><strong>Peer interest</strong> is populated either when a peer emits
|
||||
<code>PeerTalkerStart</code> / <code>PeerAudio</code> on a TG, or
|
||||
proactively when a peer advertises its local clients' selected /
|
||||
monitored TGs via <code>MsgPeerTgInterest</code> (type 129). The
|
||||
proactive path means a passive listener — a SvxLink node that has
|
||||
selected a foreign TG or added it to <code>monitoredTGs</code> without
|
||||
keying — registers as interested at the owner without first
|
||||
transmitting; the receiver re-advertises one hop further toward the
|
||||
owner so multi-hop national-mesh layouts (§2) propagate correctly.
|
||||
Interest expires after <strong>10 minutes</strong> of inactivity on
|
||||
that TG from that peer (or immediately on trunk disconnect).</li>
|
||||
<li><strong>MCC-style country prefixes</strong> are used for the
|
||||
@@ -217,6 +230,7 @@ down.</p>
|
||||
<span><span class="swatch zone"></span>Italian Zone reflector</span>
|
||||
<span><span class="swatch sat"></span>Satellite reflector</span>
|
||||
<span><span class="swatch twin"></span>Twin (HA pair)</span>
|
||||
<span><span class="swatch nodes"></span>Local SvxLink nodes (clients)</span>
|
||||
<span><span class="trunk-line"></span>Trunk link (port :5302)</span>
|
||||
<span><span class="sat-line"></span>Satellite mirror (port :5303)</span>
|
||||
<span><span class="twin-line"></span>Twin link</span>
|
||||
@@ -249,7 +263,7 @@ SE is excluded as the source.</p>
|
||||
</section>
|
||||
|
||||
<section class="topology">
|
||||
<h2>2. National trunk mesh joined at the country gateway</h2>
|
||||
<h2>2. National trunk topology joined at the country gateway</h2>
|
||||
|
||||
<p>Italy adds per-Zone reflectors that form a <strong>national trunk
|
||||
mesh</strong> together with IT 222. Foreign countries see only
|
||||
@@ -310,7 +324,9 @@ prefix route for <code>2222</code>). Z2 plays locally and fans the audio
|
||||
out to its national peers (excluding IT as the source). The return leg
|
||||
works the same way: audio from a Z3 client reaches SE because IT's
|
||||
<code>isPeerInterestedTG</code> for <code>22221</code> was registered on
|
||||
the SE side when SE's PTT first arrived.</p>
|
||||
the SE side — either by a previous PTT from SE, or proactively as soon as
|
||||
the Swedish operator selected (or monitored) <code>22221</code> on their
|
||||
SvxLink node, via <code>MsgPeerTgInterest</code> (type 129).</p>
|
||||
|
||||
<p><strong>Reaching international TGs <em>from</em> a Zone —
|
||||
<code>ROUTABLE_PREFIXES</code>.</strong> The gateway routing above carries a
|
||||
@@ -348,102 +364,118 @@ logs a startup warning and is ambiguous about which leg to use).</p>
|
||||
that should join the broadcast.
|
||||
</div>
|
||||
|
||||
<h3>Trade-offs</h3>
|
||||
<ul>
|
||||
<li><strong>Pro:</strong> Zones only need inbound reachability from peers
|
||||
inside the national mesh, not from the entire international Internet.</li>
|
||||
<li><strong>Pro:</strong> Foreign reflectors carry no Italian internal
|
||||
prefix table; the country presents one face upstream
|
||||
(<code>222</code>).</li>
|
||||
<li><strong>Pro:</strong> the national mesh stays healthy if intl
|
||||
connectivity is degraded — Zones keep talking to each other.</li>
|
||||
<li><strong>Pro:</strong> foreign-to-regional reach works out of the
|
||||
box thanks to gateway prefix routing on IT 222.</li>
|
||||
<li><strong>Con:</strong> IT 222 is a single point of failure for any
|
||||
international reach into or out of Italy — unless it's run as a
|
||||
twin pair (§5), which removes this caveat.</li>
|
||||
</ul>
|
||||
</section>
|
||||
<h3>Variant: sub-trunk star</h3>
|
||||
|
||||
<section class="topology">
|
||||
<h2>3. Satellite tree — Zones as satellites of IT 222</h2>
|
||||
|
||||
<p>Pull the Zones off the international mesh entirely. Only IT 222 is a trunk
|
||||
peer; the Zones become satellites of IT 222.</p>
|
||||
|
||||
<div class="note">
|
||||
<span class="label">Trust model</span>
|
||||
<strong>Small-deployment / single-operator pattern.</strong> Satellites
|
||||
were originally introduced as a development/check reflector — a small
|
||||
NAT'd instance hanging off a parent for testing. The use case has grown
|
||||
beyond that, but the authentication model has not yet caught up: the
|
||||
parent's <code>[SATELLITE] SECRET</code> is <strong>a single shared
|
||||
string</strong> used to validate every inbound satellite
|
||||
(<code>Reflector.cpp:2675-2701</code>). If the secret leaks, an attacker
|
||||
can connect as any <code>sat_id</code> and present any
|
||||
<code>SATELLITE_FILTER</code> of their choosing — there's no per-satellite
|
||||
scoping on the parent side. This makes §3 most appropriate for small
|
||||
deployments under one trusted operator. For multi-operator national
|
||||
meshes, prefer §2 (national trunk mesh) where each
|
||||
<code>[TRUNK_x]</code> has its own <code>SECRET</code>, or §4 (hybrid)
|
||||
for a single NAT'd downstream site. <strong>Future work</strong>:
|
||||
per-satellite secrets keyed by <code>sat_id</code>, mirroring how trunks
|
||||
already work — until then, treat the shared secret as a design constraint
|
||||
of this pattern.
|
||||
</div>
|
||||
<p>The national side does not have to be a full mesh. IT 222 can delegate
|
||||
sub-prefixes of its own <code>222</code> over ordinary trunks to Zones that
|
||||
each trunk <em>only</em> to IT 222. The Zones still <strong>own</strong> their
|
||||
prefixes — that is the whole difference from a satellite, which owns nothing
|
||||
and inherits its parent's identity (§3). A Zone may own more than one prefix:
|
||||
<code>REMOTE_PREFIX</code> is a comma-separated list, so one reflector can
|
||||
serve Lombardia and Emilia-Romagna together.</p>
|
||||
|
||||
<figure>
|
||||
<img src="03_satellite_tree.svg" alt="Satellite tree under IT 222">
|
||||
<figcaption>Diagram 3 — IT 222 is the only Italian reflector on the
|
||||
international trunk mesh. Zones hang off as satellites over port :5303,
|
||||
each with <code>SATELLITE_FILTER</code> set to its own prefix.</figcaption>
|
||||
<img src="03_subtrunk_star.svg" alt="Sub-trunk star under IT 222">
|
||||
<figcaption>Diagram 3 — IT 222 owns <code>222</code> and delegates
|
||||
<code>2221</code> and <code>2222,2224</code> to Zone reflectors over ordinary
|
||||
trunks. A star, not a full mesh: each Zone holds exactly one uplink, so its
|
||||
uplink section carries <code>ROUTABLE_PREFIXES=*</code>.</figcaption>
|
||||
</figure>
|
||||
|
||||
<h3>Flow</h3>
|
||||
<p>An SE client keys <code>22241</code> (Emilia-Romagna). SE only knows
|
||||
<code>222 → IT</code> (the Zone prefixes are not on the international mesh
|
||||
in this variant), so SE→IT 222 over the trunk. IT 222 delivers locally and
|
||||
mirrors down the satellite tree; only Z4's filter (<code>2224</code>) accepts
|
||||
<code>22241</code>, so Z4 receives it. Z1/Z2/Z3/Z5 see nothing because
|
||||
IT 222 dropped those forwards.</p>
|
||||
<p>Each Zone has exactly one trunk, so its uplink takes the
|
||||
single-uplink-leaf <code>ROUTABLE_PREFIXES=*</code> described above rather than
|
||||
an explicit prefix list.</p>
|
||||
|
||||
<p>A Z3 client keying <code>2629</code> (DE) goes Z3 → IT 222
|
||||
(satellite mirror up) → DE (intl trunk forward). Two-hop cross-country path;
|
||||
no daisy-chain trunk relay needed because the satellite hop is independent
|
||||
of the trunk single-hop rule.</p>
|
||||
<h4>Delegation, not collision</h4>
|
||||
<p>IT 222 owns <code>222</code>; Z1 owns <code>2221</code>. TG <code>22213</code>
|
||||
matches both, and longest-prefix-match hands it to Z1. That overlap is the
|
||||
mechanism, not a hazard.</p>
|
||||
|
||||
<h3>Trade-offs vs. the national trunk mesh</h3>
|
||||
<table>
|
||||
<tr><th>Property</th><th>National trunk mesh (§2)</th><th>Satellite tree (§3)</th></tr>
|
||||
<tr><th>TG</th><th>Longest match</th><th>Owner</th></tr>
|
||||
<tr><td><code>22213</code></td><td><code>2221</code></td><td>IT-Z1</td></tr>
|
||||
<tr><td><code>22241</code></td><td><code>2224</code></td><td>IT-Z2/Z4</td></tr>
|
||||
<tr><td><code>22299</code></td><td><code>222</code></td><td>IT 222</td></tr>
|
||||
<tr><td><code>2629</code></td><td>none locally → <code>*</code> route</td>
|
||||
<td>up to IT 222, then DE</td></tr>
|
||||
</table>
|
||||
|
||||
<p>A <strong>Z1 client keying <code>2629</code></strong> (DE) reaches Germany
|
||||
because <code>2629</code> matches nothing Z1 owns and the uplink's
|
||||
<code>*</code> makes IT 222 the default route: Z1 → IT 222 → DE. Inbound, an SE
|
||||
client keying <code>22241</code> lands on IT 222, whose gateway prefix routing
|
||||
bridges it down to IT-Z2/Z4 exactly as in the full-mesh case.</p>
|
||||
|
||||
<h4>A Zone mixes local-only and mesh-reachable TGs</h4>
|
||||
<p>Owning <code>2222,2224</code> does not mean every TG on that reflector is
|
||||
routable. Three kinds coexist.</p>
|
||||
|
||||
<table>
|
||||
<tr><th>TG on IT-Z2/Z4</th><th>Config</th><th>Reach</th></tr>
|
||||
<tr><td><code>22241</code></td>
|
||||
<td>owned outright (under <code>2224</code>)</td>
|
||||
<td>routed across the mesh by prefix</td></tr>
|
||||
<tr><td><code>40</code></td>
|
||||
<td>nothing — matches no prefix</td>
|
||||
<td><strong>effectively local</strong>: no reflector owns it</td></tr>
|
||||
<tr><td><code>8</code></td>
|
||||
<td><code>LOCAL_ALIASES=8:2222008</code></td>
|
||||
<td>dialed as <code>8</code> locally, <code>2222008</code> on the mesh</td></tr>
|
||||
</table>
|
||||
|
||||
<p><code>40</code> stays a private Zone talk group and <code>8</code> is the
|
||||
club TG operators keep dialing by its short number while the mesh routes it as
|
||||
<code>2222008</code> under the Zone's own <code>2222</code> prefix. Mind the
|
||||
cost of the <code>*</code> route, though: it matches everything no longer
|
||||
prefix claims, so <code>40</code> is still forwarded up the uplink, and IT 222
|
||||
discards it only on arrival — it matches neither IT's <code>LOCAL_PREFIX</code>
|
||||
nor the Zone's <code>REMOTE_PREFIX</code>. Nobody hears it, but it crosses the
|
||||
wire. With an explicit <code>ROUTABLE_PREFIXES=262,240</code> it would never
|
||||
egress at all.</p>
|
||||
|
||||
<h4>Full mesh or star?</h4>
|
||||
<table>
|
||||
<tr><th>Property</th><th>Full mesh</th><th>Sub-trunk star</th></tr>
|
||||
<tr><td>TCP connections per Zone</td>
|
||||
<td>M − 1 within the national mesh (Zones + IT 222)</td>
|
||||
<td>1 (to IT 222)</td></tr>
|
||||
<tr><td>NAT story</td>
|
||||
<td>Zones need inbound reachability from other Zones + IT 222</td>
|
||||
<td>only IT 222 needs an inbound port</td></tr>
|
||||
<td>Zone dials out; only IT 222 needs an inbound port</td></tr>
|
||||
<tr><td>IT 222 outage</td>
|
||||
<td>Zones keep talking to each other; international reach is lost</td>
|
||||
<td>whole country offline</td></tr>
|
||||
<td>Zones are isolated from each other and from abroad</td></tr>
|
||||
<tr><td>Zone-to-Zone audio</td>
|
||||
<td>direct, one hop</td>
|
||||
<td>two hops, relayed by IT 222</td></tr>
|
||||
<tr><td>Foreign → regional TG reach</td>
|
||||
<td>works automatically via gateway prefix routing on IT 222 (<code>shouldRelayInbound</code>)</td>
|
||||
<td>works automatically via parent mirror + filter</td></tr>
|
||||
<tr><td>Fanout cost on a busy Zone</td>
|
||||
<td>O(other national peers)</td>
|
||||
<td>O(0) — parent does it</td></tr>
|
||||
<td>gateway prefix routing on IT 222 (<code>shouldRelayInbound</code>)</td>
|
||||
<td>same</td></tr>
|
||||
<tr><td>Reaching international TGs from a Zone</td>
|
||||
<td>list foreign prefixes in <code>ROUTABLE_PREFIXES</code> per leg</td>
|
||||
<td><code>ROUTABLE_PREFIXES=*</code> on the one uplink</td></tr>
|
||||
<tr><td>Prefix advertised upstream</td>
|
||||
<td>only <code>222</code> (Zones not visible to SE/DE)</td>
|
||||
<td>only <code>222</code> (Zones hidden behind parent)</td></tr>
|
||||
<td>only <code>222</code></td></tr>
|
||||
</table>
|
||||
|
||||
<p>Either way, foreign reflectors carry no Italian internal prefix table — the
|
||||
country presents one face upstream (<code>222</code>) — and IT 222 is a single
|
||||
point of failure for international reach into or out of Italy, unless it is run
|
||||
as a twin pair (§4).</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>4. Satellite under a regional reflector</h2>
|
||||
<h2>3. Satellite under a regional reflector</h2>
|
||||
|
||||
<p>Hybrid layout: keep the §2 two-domain structure (intl mesh + national mesh
|
||||
joined at IT 222), and let one Zone host its own satellite reflector. The
|
||||
Zone itself is <em>not</em> a satellite — it wears two hats: trunk peer in
|
||||
the national mesh, parent to its own satellite. Two motivations apply,
|
||||
often together:</p>
|
||||
the national mesh, parent to its own satellite. A satellite is a
|
||||
<strong>leaf</strong>: it owns no prefix, accepts no children of its own, and
|
||||
inherits the parent's identity. That is why a Zone (which owns
|
||||
<code>2222</code>) is sub-trunked in §2 rather than made a satellite. Two
|
||||
motivations apply, often together:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>NAT traversal.</strong> The downstream site (e.g. a Milano
|
||||
@@ -463,6 +495,18 @@ often together:</p>
|
||||
authentication state stays separated on each side.</li>
|
||||
</ul>
|
||||
|
||||
<div class="note">
|
||||
<span class="label">Trust model</span>
|
||||
Pin each satellite to its own credential with a
|
||||
<code>SECRET_<id></code> entry in <code>[SATELLITE]</code>, matched
|
||||
against the satellite's <code>SATELLITE_ID</code>. Per-id wins, and an HMAC
|
||||
mismatch on a pinned id is rejected with no fallback to the shared
|
||||
<code>SECRET</code> — so a leaked secret from one club cannot impersonate
|
||||
another. Use it whenever more than one operator runs satellites under the
|
||||
same parent. A single shared <code>SECRET</code> is fine for a one-operator
|
||||
deployment.
|
||||
</div>
|
||||
|
||||
<figure>
|
||||
<img src="04_hybrid.svg" alt="Hybrid layout — two-domain trunk + a satellite under Z2">
|
||||
<figcaption>Diagram 4 — International + national trunk mesh joined at IT 222,
|
||||
@@ -483,7 +527,7 @@ often together:</p>
|
||||
owner of <code>2222</code>, but its gateway-routing rule
|
||||
(<code>shouldRelayInbound</code> finds a <code>2222</code> route in
|
||||
IT's trunk table) bridges the frame to Z2. Z2 plays locally and
|
||||
mirrors down to MI through the satellite link (filter <code>2222</code>
|
||||
mirrors down to MI through the satellite link (filter <code>2222*</code>
|
||||
matches). The return leg works symmetrically through
|
||||
<code>isPeerInterestedTG</code>.</li>
|
||||
<li><strong>MI client keys <code>22241</code></strong> (Emilia-Romagna,
|
||||
@@ -499,18 +543,23 @@ often together:</p>
|
||||
|
||||
<div class="note">
|
||||
<span class="label">Filter caveat</span>
|
||||
A restrictive <code>SATELLITE_FILTER</code> like <code>2222</code> prevents
|
||||
A restrictive <code>SATELLITE_FILTER</code> like <code>2222*</code> prevents
|
||||
MI from reaching anything outside Lombardia: filter is bidirectional, so MI
|
||||
suppresses non-<code>2222*</code> outbound and Z2 drops non-<code>2222*</code>
|
||||
forwards going down. The MI→<code>22241</code> example above only works if
|
||||
the filter is broadened to <code>222</code> (or unset). Use a tight filter
|
||||
the filter is broadened to <code>222*</code> (or unset). Use a tight filter
|
||||
only when the satellite truly is single-purpose (e.g. a regional repeater
|
||||
that should never hear other Zones' traffic).
|
||||
that should never hear other Zones' traffic). Mind the syntax: entries are
|
||||
<strong>exact</strong> unless they end in <code>*</code> —
|
||||
<code>2222</code> matches only literal TG <code>2222</code>, while
|
||||
<code>2222*</code> matches everything under Lombardia. The shared TG-filter
|
||||
syntax is exact <code>26200</code>, prefix <code>24*</code>, range
|
||||
<code>2427-2438</code>, comma-separated.
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="topology">
|
||||
<h2>5. HA twin pair</h2>
|
||||
<h2>4. HA twin pair</h2>
|
||||
|
||||
<p>A <strong>twin</strong> is a purpose-built link type for running two
|
||||
reflector instances as a redundant pair. Both nodes declare the
|
||||
@@ -594,11 +643,101 @@ clients</strong> on a single reflector site — for instance, two physical
|
||||
servers on the same LAN, both with public IPs, fronting a cluster of
|
||||
SvxLink nodes. It composes with everything else: the twin pair can
|
||||
simultaneously be a country gateway in the international mesh (§1), a
|
||||
parent of regional satellites (§3), or a member of a national trunk mesh
|
||||
(§2). Don't reach for twins just to share traffic across two boxes — that's
|
||||
member of a national trunk topology (§2), or the parent of a club
|
||||
satellite (§3). Don't reach for twins just to share traffic across two boxes — that's
|
||||
what plain trunks are for.</p>
|
||||
</section>
|
||||
|
||||
<section class="topology">
|
||||
<h2>Overlay: local aliases</h2>
|
||||
|
||||
<p>Not a topology shape but an overlay that composes with all five: a way to
|
||||
make an existing <strong>short local TG</strong> reachable from the mesh
|
||||
without renumbering it on the clients. Routing follows the number, so a TG
|
||||
matching no configured prefix has no owner and stays <strong>local-only</strong>
|
||||
— yet a club or legacy talk group like <code>8</code> is exactly the kind
|
||||
of number operators have in their muscle memory and their node configs.
|
||||
<code>LOCAL_ALIASES</code> (in <code>[GLOBAL]</code>) resolves the tension by
|
||||
<strong>re-homing</strong> the short TG under one of the reflector's own
|
||||
prefixes, giving it a globally-unique number while local users keep dialing the
|
||||
short one — e.g. <code>LOCAL_ALIASES=8:2220008</code> alongside
|
||||
<code>LOCAL_PREFIX=222</code> on IT 222.</p>
|
||||
|
||||
<figure>
|
||||
<img src="06_local_alias.svg" alt="Local alias — short TG 8 re-homed as 2220008">
|
||||
<figcaption>Diagram 6 — IT 222 re-homes its local TG <code>8</code> as
|
||||
<code>2220008</code>. Foreign peers route the long number by ordinary
|
||||
longest-prefix-match; IT translates at the trunk boundary and its own nodes
|
||||
keep selecting <code>8</code>.</figcaption>
|
||||
</figure>
|
||||
|
||||
<h3>Syntax and direction</h3>
|
||||
<p>Comma-separated entries of the form <code>localTG:aliasTG[/dir]</code>,
|
||||
where <code>dir</code> is <code>in</code> or <code>out</code>; omitted means
|
||||
two-way.</p>
|
||||
<ul>
|
||||
<li><strong>two-way</strong> (<code>8:2220008</code>): local talk on
|
||||
<code>8</code> is exported to the mesh as <code>2220008</code>, and mesh
|
||||
traffic on <code>2220008</code> is delivered to local clients as
|
||||
<code>8</code>.</li>
|
||||
<li><strong><code>/out</code></strong> (<code>90:2220090/out</code>):
|
||||
publish-only — local talk is exported, inbound mesh traffic is not
|
||||
folded back onto the short number.</li>
|
||||
<li><strong><code>/in</code></strong> (<code>91:2220091/in</code>):
|
||||
listen-only — mesh traffic is delivered locally, the short number
|
||||
is never exported.</li>
|
||||
</ul>
|
||||
|
||||
<h3>Ownership rule</h3>
|
||||
<p><code>aliasTG</code> must fall under one of <em>this</em> reflector's
|
||||
<code>LOCAL_PREFIX</code> values, checked with the same longest-prefix match
|
||||
used for TG ownership everywhere else. An entry whose <code>aliasTG</code> is
|
||||
not owned is rejected at config load — logged as an error and skipped,
|
||||
while the reflector still starts and the remaining valid entries take effect.
|
||||
A reflector can therefore never alias its way onto a number another peer owns:
|
||||
you may only re-home a TG into space you already own.</p>
|
||||
|
||||
<h3>Routing on the long number, delivery on the short one</h3>
|
||||
<p>The alias is a translation applied at the <strong>trunk boundary</strong>,
|
||||
not a rename. Prefix routing, owner-relay fanout and peer-interest bookkeeping
|
||||
all run on the long number, because that is the identity the rest of the mesh
|
||||
matches prefixes against. Local delivery and talker arbitration run on the
|
||||
short number, because that is what local clients selected. Everything on the
|
||||
local side of the boundary — clients and satellites alike — sees
|
||||
<code>8</code>; everything across a trunk sees <code>2220008</code>. A client
|
||||
that dials the long number directly is folded onto the short one the moment it
|
||||
selects or monitors the TG (<em>rewrite-on-select</em>), so the two are always
|
||||
one conversation locally.</p>
|
||||
|
||||
<h3>Flow</h3>
|
||||
<ul>
|
||||
<li>An <strong>SE client keys <code>2220008</code></strong>: SE's prefix
|
||||
table matches <code>222 → IT</code>, so the audio crosses the trunk
|
||||
to IT exactly like any other owned TG. IT translates at the boundary and
|
||||
delivers it to its local nodes on TG <code>8</code>.</li>
|
||||
<li>An <strong>IT client keys <code>8</code></strong>: IT exports it to the
|
||||
mesh as <code>2220008</code>, reaching peers that have registered
|
||||
interest in that TG. Locally it is an ordinary TG <code>8</code>
|
||||
transmission.</li>
|
||||
</ul>
|
||||
|
||||
<p>Because <code>aliasTG</code> must be owned locally, each reflector aliases
|
||||
into its <em>own</em> prefix space: in §2 an Italian Zone re-homes its club TGs
|
||||
under its Zone prefix (<code>2222…</code> for Z2) while IT 222 re-homes under
|
||||
<code>222…</code>. In a twin pair (§4), give <strong>both</strong> twins
|
||||
identical <code>LOCAL_ALIASES</code> — each twin independently applies the
|
||||
translation on its own trunk sections.</p>
|
||||
|
||||
<div class="note">
|
||||
<span class="label">Aliases are not cluster TGs</span>
|
||||
<code>CLUSTER_TGS</code> broadcasts an <em>unowned</em> TG to every peer
|
||||
regardless of prefix. <code>LOCAL_ALIASES</code> does the opposite: it pulls
|
||||
an unowned short number <em>into</em> your owned prefix space so that ordinary
|
||||
longest-prefix-match routing takes over. Reach for an alias when the TG
|
||||
belongs to you; reach for a cluster TG when it belongs to everyone.
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>Picking a topology</h2>
|
||||
|
||||
@@ -607,18 +746,21 @@ what plain trunks are for.</p>
|
||||
<tr><td>Just one reflector per country, no regional split needed</td>
|
||||
<td>International only (§1)</td></tr>
|
||||
<tr><td>Each Zone has a public IP; want regional autonomy and resilience to gateway outage</td>
|
||||
<td>National trunk mesh joined at the gateway (§2)</td></tr>
|
||||
<tr><td>Most Zones are behind NAT; only the country gateway has a public IP; one trusted operator runs the lot</td>
|
||||
<td>Satellite tree (§3)</td></tr>
|
||||
<td>National trunk topology, full mesh (§2)</td></tr>
|
||||
<tr><td>Zones own their prefixes but sit behind NAT, or you want one simple uplink per Zone instead of a full mesh</td>
|
||||
<td>National trunk topology, sub-trunk star (§2)</td></tr>
|
||||
<tr><td>§2 layout overall, plus a sub-group needs its own reflector — either NAT'd or with its own user DB to delegate (<code>[USERS]</code>/<code>[PASSWORDS]</code> separated)</td>
|
||||
<td>Hybrid — satellite under a regional reflector (§4)</td></tr>
|
||||
<td>Satellite under a regional reflector (§3)</td></tr>
|
||||
<tr><td>HA failover for SvxLink clients on a single site (two boxes, same LAN)</td>
|
||||
<td>Twin pair (§5) — composes with §1–§4</td></tr>
|
||||
<td>Twin pair (§4) — composes with §1–§3</td></tr>
|
||||
<tr><td>An existing short local TG (e.g. <code>8</code>) must stay dialable locally but become reachable across the mesh</td>
|
||||
<td><code>LOCAL_ALIASES</code> overlay — composes with §1–§4</td></tr>
|
||||
</table>
|
||||
|
||||
<p>The shapes compose: the international layer (§1) is always present,
|
||||
and §2, §3, §4 are alternative ways to fan out <em>inside</em> a country. §5 is orthogonal — any single
|
||||
reflector role above can be played by a twin pair instead.</p>
|
||||
<p>The shapes compose: the international layer (§1) is always present, and §2
|
||||
and §3 are ways to fan out <em>inside</em> a country. §4 is orthogonal — any
|
||||
single reflector role above can be played by a twin pair instead, and the
|
||||
<code>LOCAL_ALIASES</code> overlay applies to any of them.</p>
|
||||
|
||||
<h3>Appendix: MCC ranges and cluster-TG numbering</h3>
|
||||
|
||||
@@ -684,14 +826,21 @@ the <code>100–199</code> / <code>800–999</code> rule.</p>
|
||||
<code>22210</code>→<code>222</code>, <code>26201</code>→<code>262</code>,
|
||||
when those country prefixes are owned). A TG matching <strong>no</strong>
|
||||
configured prefix has no owner and stays <strong>local-only</strong> —
|
||||
it relays among the originating reflector's own nodes but is never trunked.
|
||||
it relays among the originating reflector's own nodes but is never trunked
|
||||
— unless a link carries <code>ROUTABLE_PREFIXES=*</code>, whose default
|
||||
route forwards it to the uplink, where the peer drops it as unowned.
|
||||
Local TG numbering is the operator's choice; only numbers under the agreed
|
||||
prefix scheme are reachable across the mesh.</li>
|
||||
prefix scheme are reachable across the mesh. A local-only number can be
|
||||
given mesh reach without renumbering the clients, via the
|
||||
<code>LOCAL_ALIASES</code> overlay.</li>
|
||||
<li>Aliases translate at the trunk boundary only: the mesh routes the long
|
||||
owned number, local clients and satellites see the short one.</li>
|
||||
<li>Trunk relay is single-hop. Satellite mirror is independent of that
|
||||
rule.</li>
|
||||
<li>Owner fanout is gated by <strong>peer interest</strong> with a
|
||||
10-minute idle window. Interest is registered the first time a peer
|
||||
transmits on a TG.</li>
|
||||
10-minute idle window. Interest is registered when a peer first
|
||||
transmits on a TG, or proactively when it advertises a selected /
|
||||
monitored TG via <code>MsgPeerTgInterest</code>.</li>
|
||||
<li>Source-side exclusion in the owner's fanout prevents echo loops.</li>
|
||||
<li><code>SATELLITE_FILTER</code> is bidirectional and advertised to the
|
||||
parent.</li>
|
||||
|
||||
Reference in new issue
Block a user