diff --git a/README.md b/README.md index 367d239..d0a9f06 100644 --- a/README.md +++ b/README.md @@ -361,6 +361,24 @@ link. For example, if reflectors A and B want to link, both configs must use the same name (e.g. `[TRUNK_AB]`). A connection from a peer whose section name does not match any local section will be rejected. +**International naming standard.** For links between countries, name the section +`TRUNK__` using each country's ISO 3166-1 alpha-2 code, with the two +codes in **alphabetical order**: + +```ini +# Germany (DE) <-> France (FR): "DE" sorts before "FR" +[TRUNK_DE_FR] + +# Italy (IT) <-> Germany (DE): alphabetical -> DE before IT +[TRUNK_DE_IT] +``` + +Alphabetical order makes the name deterministic, so both sysops independently +arrive at the *same* section name with no "my country goes first" dispute. (For +sub-national links, any agreed-upon shared name works — see +[`docs/WW_DEPLOYMENT.md`](docs/WW_DEPLOYMENT.md) for the full international +convention.) + ### 5. Routable prefixes — hierarchical and non-full-mesh topologies (optional) In a standard full mesh every pair of reflectors has a direct trunk link, so diff --git a/docs/INSTALL.md b/docs/INSTALL.md index dc74c72..920d545 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -188,9 +188,11 @@ REMOTE_PREFIX=240 ``` - **The section name must be identical on both sides.** Both sysops must agree - on a shared name (e.g. `TRUNK_DE_SE` for the link between Germany (`262`) - and Sweden (`240`); ISO 3166-1 alpha-2 codes in alphabetical order is a - readable convention). + on a shared name. For international links the standard is + `TRUNK__` using each country's ISO 3166-1 alpha-2 code, with the two + codes in **alphabetical order** — e.g. `TRUNK_DE_SE` for Germany (`262`) and + Sweden (`240`). Sorting alphabetically makes the name deterministic, so both + sysops reach the same name independently with no "my country first" dispute. - `PORT` defaults to `5302` if omitted. - Both sides must use the same `SECRET`. - `REMOTE_PREFIX` also accepts a comma-separated list.