From c6c05c6f47c8294222f87fb053e858cdd9c9ff12 Mon Sep 17 00:00:00 2001 From: Jason McCormick Date: Wed, 11 Dec 2024 09:53:43 -0500 Subject: [PATCH] Deployed 1004b90 with MkDocs version: 1.6.1 --- 404.html | 23 + adv-topics/allowdenylists/index.html | 23 + adv-topics/audio-level/index.html | 23 + adv-topics/autopatch/index.html | 23 + adv-topics/broadcastify/index.html | 23 + adv-topics/cloud-kernel/index.html | 23 + adv-topics/commands/index.html | 23 + adv-topics/conftmpl/index.html | 23 + adv-topics/hotspot_hd/index.html | 23 + adv-topics/httpreg/index.html | 23 + adv-topics/iaxreg/index.html | 23 + adv-topics/incompatibles/index.html | 23 + adv-topics/multinodesnetwork/index.html | 2408 ++++++++++++++++++++++ adv-topics/noderesolution/index.html | 23 + adv-topics/other-software/index.html | 23 + adv-topics/permissions/index.html | 23 + adv-topics/sa818modules/index.html | 23 + adv-topics/sip-phone/index.html | 23 + adv-topics/tts/index.html | 29 +- adv-topics/uefi-secureboot/index.html | 23 + adv-topics/usbinterfaces/index.html | 23 + allmon3/basics/index.html | 23 + allmon3/config/index.html | 23 + allmon3/install/index.html | 23 + allmon3/usermgmt/index.html | 23 + developers/aptly/index.html | 23 + developers/package-builds/index.html | 29 +- developers/source-install/index.html | 23 + index.html | 23 + mans/asl-find-sound/index.html | 23 + mans/asl-node-lookup/index.html | 23 + mans/asl-play-arn/index.html | 23 + mans/asl-say/index.html | 23 + mans/asl-setup-dkms-mok/index.html | 23 + pi/cockpit-basics/index.html | 23 + pi/cockpit-console/index.html | 23 + pi/cockpit-firewall/index.html | 23 + pi/cockpit-get-started/index.html | 23 + pi/cockpit-network/index.html | 23 + pi/cockpit-services/index.html | 23 + pi/cockpit-updates/index.html | 23 + print_page/index.html | 199 +- search/search_index.json | 2 +- sitemap.xml | 106 +- sitemap.xml.gz | Bin 630 -> 640 bytes user-guide/asl-cmds-tools/index.html | 23 + user-guide/betatest/index.html | 23 + user-guide/index.html | 23 + user-guide/install/index.html | 23 + user-guide/known-issues-diffs/index.html | 23 + user-guide/menu/index.html | 23 + user-guide/passwords/index.html | 23 + user-guide/pi-detailed/index.html | 23 + user-guide/support/index.html | 23 + user-guide/troubleshooting/index.html | 23 + user-guide/updates/index.html | 23 + user-guide/whats-new/index.html | 23 + 57 files changed, 3864 insertions(+), 59 deletions(-) create mode 100755 adv-topics/multinodesnetwork/index.html diff --git a/404.html b/404.html index bc08280..dbd6858 100755 --- a/404.html +++ b/404.html @@ -1323,6 +1323,8 @@ + + @@ -1758,6 +1760,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/allowdenylists/index.html b/adv-topics/allowdenylists/index.html index 82f5f7a..0ea18d5 100755 --- a/adv-topics/allowdenylists/index.html +++ b/adv-topics/allowdenylists/index.html @@ -1347,6 +1347,8 @@ + + @@ -1795,6 +1797,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/audio-level/index.html b/adv-topics/audio-level/index.html index 9dee4d9..c60a315 100755 --- a/adv-topics/audio-level/index.html +++ b/adv-topics/audio-level/index.html @@ -1347,6 +1347,8 @@ + + @@ -1903,6 +1905,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/autopatch/index.html b/adv-topics/autopatch/index.html index f3086f5..35ba18a 100755 --- a/adv-topics/autopatch/index.html +++ b/adv-topics/autopatch/index.html @@ -1347,6 +1347,8 @@ + + @@ -1879,6 +1881,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/broadcastify/index.html b/adv-topics/broadcastify/index.html index c737208..b80385b 100755 --- a/adv-topics/broadcastify/index.html +++ b/adv-topics/broadcastify/index.html @@ -1347,6 +1347,8 @@ + + @@ -1843,6 +1845,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/cloud-kernel/index.html b/adv-topics/cloud-kernel/index.html index 542340c..51870cb 100755 --- a/adv-topics/cloud-kernel/index.html +++ b/adv-topics/cloud-kernel/index.html @@ -1347,6 +1347,8 @@ + + @@ -1843,6 +1845,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/commands/index.html b/adv-topics/commands/index.html index 9389cea..5888768 100755 --- a/adv-topics/commands/index.html +++ b/adv-topics/commands/index.html @@ -1347,6 +1347,8 @@ + + @@ -1918,6 +1920,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/conftmpl/index.html b/adv-topics/conftmpl/index.html index b007f45..73138b4 100755 --- a/adv-topics/conftmpl/index.html +++ b/adv-topics/conftmpl/index.html @@ -1347,6 +1347,8 @@ + + @@ -1852,6 +1854,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/hotspot_hd/index.html b/adv-topics/hotspot_hd/index.html index 866d296..b17beba 100755 --- a/adv-topics/hotspot_hd/index.html +++ b/adv-topics/hotspot_hd/index.html @@ -1347,6 +1347,8 @@ + + @@ -1795,6 +1797,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/httpreg/index.html b/adv-topics/httpreg/index.html index 3117023..617d159 100755 --- a/adv-topics/httpreg/index.html +++ b/adv-topics/httpreg/index.html @@ -1347,6 +1347,8 @@ + + @@ -1795,6 +1797,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/iaxreg/index.html b/adv-topics/iaxreg/index.html index eadcc72..cb9703a 100755 --- a/adv-topics/iaxreg/index.html +++ b/adv-topics/iaxreg/index.html @@ -1347,6 +1347,8 @@ + + @@ -1843,6 +1845,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/incompatibles/index.html b/adv-topics/incompatibles/index.html index 08841a6..dbb4a44 100755 --- a/adv-topics/incompatibles/index.html +++ b/adv-topics/incompatibles/index.html @@ -1347,6 +1347,8 @@ + + @@ -1843,6 +1845,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/multinodesnetwork/index.html b/adv-topics/multinodesnetwork/index.html new file mode 100755 index 0000000..b849198 --- /dev/null +++ b/adv-topics/multinodesnetwork/index.html @@ -0,0 +1,2408 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Multiple Nodes on the Same Network - AllStarLink Manual + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + Skip to content + + +
    +
    + +
    + + + + +
    + + +
    + +
    + + + + + + + + + +
    +
    + + + +
    +
    +
    + + + + + + + + + +
    +
    +
    + + + + +
    +
    + + + + +

    Multiple Nodes on the Same Network

    +

    Multiple AllStarLink nodes on the same IP subnet (i.e. your "local network") when +those nodes are behind a NAT device can be a challenge. The reason is that +AllStarLink works exclusively with public IP addresses. When two nodes +are on the same network behind a NAT/router they independently need to +use a public IP address with the AllStarLink system but need to know about each +other's local IPs rather than their shared public IP. Additionally both nodes +cannot use the same UDP port as they will fight over it with the NAT/router.

    +

    For this example, let's consider two nodes on the same subnet. The nodes are:

    + + + + + + + + + + + + + + + + + +
    NodeLocal IP
    630010192.168.0.10
    630011192.168.0.11
    +

    These nodes are behind a NAT/router with a public IP address of 203.0.113.186.

    +

    When each node connects and registers with AllStarLink, its perceived registration +IP address will be 203.0.113.186. If another node asks "where is node 630010" it +would get back the answer 203.0.113.186. However, this is also the case for the +internal nodes. If node 630011 asks "where is node 630010" it also gets back +203.0.113.186. For various network reasons, this will not work.

    +

    One also has to consider the UDP port. By default, each Asterisk system +uses the default UDP port of 4569. This is a published standard. However, through +a NAT device, only one system can use the port at a time. Thus our local +nodes 630010 and 630011 will fight over that port.

    +

    The make two (or more) nodes on the same network function, the following +steps must be taken:

    +
      +
    1. Assign each node's server a different IAX port
    2. +
    3. Tell each node's server about the other node's internal address and port
    4. +
    +

    In this example, node 630011 will be assigned a different UDP port. The table +then of the nodes is:

    + + + + + + + + + + + + + + + + + + + + +
    NodeLocal IPPort
    630010192.168.0.10UDP 4569
    630011192.168.0.11UDP 4570
    +

    This document assumes one knows how to forward the port internally for one's +router/NAT device and that is has already been done.

    +

    Assigning a Different IAX Port

    +

    There are two places where the IAX port must be changed when using a +non-standard port:

    +
      +
    1. /etc/asterisk/iax.conf
    2. +
    3. The AllStarLink Portal for that node's server
    4. +
    +

    Changing iax.conf

    +

    The best way to edit the IAX port is to use asl-menu. Run sudo asl-menu. +Choose 1 Node Settings and then 4 Update Asterisk IAX port. Set +the new UDP port in the box and hit OK. Then choose 2 Restart Asterisk. +Then close asl-menu.

    +

    Alternatively, edit the file directly. As root (i.e. sudo -s), edit the file /etc/asterisk/iax.conf. Find the line:

    +
    bindport = 4569
    +
    +

    and change it to a different port. The ASL3 appliance comes preconfigured to permit +traffic on any port between 4560 and 4580. It is recommended to choose a port in +this range for any alternative IAX port. In this example, the node 630011 will be +changed to port 4570. Edit the file to state:

    +
    bindport = 4570
    +
    +

    and save and close the file. Restart asterisk with systemctl restart asterisk.

    +

    Changing the Portal

    +
    +

    Server-Node Relationship

    +

    Following the operating model, the base Asterisk/app_rpt installation is the "Server" +and a "Server" hosts one or more "Nodes". Make sure that each node is assigned to a +different server if the nodes are configured on different installations.

    +
    +

    Do the following to change a node's server's IAX port.

    +
      +
    1. +

      Logon to https://www.allstarlink.org using your AllStarLink username +and password.

      +
    2. +
    3. +

      Click on Portal and then Node Settings.

      +
    4. +
    5. +

      In the table, find the Server for the node you want to edit. In this example +node 630011 is located on server node63011. Remember or jot down the server +name.

      +
    6. +
    7. +

      Click on Portal and then Server Settings.

      +
    8. +
    9. +

      Click on the server from step #4 (in this case "node630011")

      +
    10. +
    11. +

      In the field IAX Port change the port number to the port configured +in "Changing iax.conf" above. In this example, the port will be 4570.

      +
    12. +
    13. +

      Click Submit

      +
    14. +
    +

    Propagation of the change takes 1-2 minutes.

    +

    Telling Local Nodes About Their Neighbors

    +

    Each node on the same network needs to be hardcoded with information +about the other node. In this example, node 630010 needs to be hardcoded +for where 630011 is and vice-versa.

    +

    Configuring Node 630010

    +

    As root (i.e. sudo -s) edit the file /etc/asterisk/rpt.conf. Locate +the line with the node's own definition. For example:

    +
    630010 = radio@127.0.0.1/630010,NONE
    +
    +

    After this line, add its local neighbor by its IP address and the alternative +IAX port. In this example, add 630011 as follows:

    +
    630010 = radio@127.0.0.1/630010,NONE
    +630011 = radio@192.168.0.11:4570/630011,NONE
    +
    +

    Note the inclusion of the port as :4570. This pattern can be repeated for multiple nodes +on the same network. Save the file and restart asterisk with systemctl restart asterisk.

    +

    Configuring Node 630011

    +

    The other node repeats same process but in the opposite direction. +As root (i.e. sudo -s) edit the file /etc/asterisk/rpt.conf. Locate +the line with the node's own definition. For example:

    +
    630011 = radio@127.0.0.1/630011,NONE
    +
    +

    After this line, add its local neighbor by its IP address and the standard +IAX port since it is unchanged. In this example, add 630010 as follows:

    +
    630011 = radio@127.0.0.1/630011,NONE
    +630010 = radio@192.168.0.10:4569/630010,NONE
    +
    +

    Note the inclusion of the port as :4569. This pattern can be repeated for multiple nodes +on the same network. Save the file and restart asterisk with systemctl restart asterisk.

    +

    Testing Linking Locally

    +

    Test linking the two nodes together to ensure configuration. In this example, node +630010 will connect to node 630011 using the Asterisk CLI:

    +
    rpt cmd 630010 ilink 3 630011
    +
    +

    Then the link should be shown to 630011 with the command:

    +
    rpt nodes 630010
    +
    +

    that should display:

    +
    node630010*CLI> rpt nodes 630010
    +
    +************************* CONNECTED NODES *************************
    +
    +T630011
    +
    +

    Disconnect the links with:

    +
    rpt cmd 630010 ilink 1 630011
    +
    +

    After that, everything should work. The most common issue with this configuration +is incorrect router/NAT port forwarding or a typo in rpt.conf.

    + + + + + + + + + + + + + +
    +
    + + + +
    + + + +
    + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/adv-topics/noderesolution/index.html b/adv-topics/noderesolution/index.html index 5df46d0..6b06945 100755 --- a/adv-topics/noderesolution/index.html +++ b/adv-topics/noderesolution/index.html @@ -1347,6 +1347,8 @@ + + @@ -1852,6 +1854,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/other-software/index.html b/adv-topics/other-software/index.html index 11b4a94..64deb63 100755 --- a/adv-topics/other-software/index.html +++ b/adv-topics/other-software/index.html @@ -1347,6 +1347,8 @@ + + @@ -1834,6 +1836,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/permissions/index.html b/adv-topics/permissions/index.html index 0b25f2d..02c8ab7 100755 --- a/adv-topics/permissions/index.html +++ b/adv-topics/permissions/index.html @@ -1347,6 +1347,8 @@ + + @@ -1885,6 +1887,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/sa818modules/index.html b/adv-topics/sa818modules/index.html index 7917c77..657602f 100755 --- a/adv-topics/sa818modules/index.html +++ b/adv-topics/sa818modules/index.html @@ -1347,6 +1347,8 @@ + + @@ -1843,6 +1845,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/sip-phone/index.html b/adv-topics/sip-phone/index.html index b61fe4a..2f22225 100755 --- a/adv-topics/sip-phone/index.html +++ b/adv-topics/sip-phone/index.html @@ -1347,6 +1347,8 @@ + + @@ -1888,6 +1890,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + diff --git a/adv-topics/tts/index.html b/adv-topics/tts/index.html index 84182a8..3d9bda2 100755 --- a/adv-topics/tts/index.html +++ b/adv-topics/tts/index.html @@ -18,7 +18,7 @@ - + @@ -1347,6 +1347,8 @@ + + @@ -1861,6 +1863,27 @@ + + + + + + +
  • + + + + + Multiple Nodes on the Same Network + + + + +
  • + + + + @@ -2155,13 +2178,13 @@

    Reporting Bugs

    - +