<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" color="#000000" face="Tahoma,sans-serif">Just to make that clear. Allstar unlike IRLP or Echolink has no limit up to available resources on the number of nodes or servers that can be behind one public IP address.<br><br>A server is one computer. In the case of users on this list a BBB or RPI2. You can put multiple nodes on one server but radio nodes on each server are limited by system capabilities. Recommendations are one node maximum on the BBB and two on the RPi2.<br><br>There is no limit on servers up to a reasonable and manageable number. So you could have 10 servers each with two nodes for a total of 20 nodes using RPi2's. Not practical but it could be done.<br><br>If you just had one server it would be assigned an IP address and port. In this case you would probably just use the default IAX port 4569. No port changes would be needed at allstarlink.org. You would need to port forward that port in your router to the IP address of the server for incoming connections to work.<br><br>Each server you add would need to have a distinct port and IP address in your LAN and the assigned port would need to be changed in both iax.conf on the server and also in the network settings for that server at allstarlink.org<br><br>Local IP addresses could be DHCP with persistent assignment base on the server mac address but for multiple servers it would probably be better to use static IP assignment for local addressees. The router has to have port forwarding for the IAX port to each server for incoming connections to work.<br><br>While persistent DHCP IP address assignment is nice be aware it is based on that one specific board which has a distinct MAC address. If you change boards, even if you use the same SD card things will break until you go into your router and make changes. If you use a static IP that would not happen.<br><br>There are advantages and disadvantages to both methods so you have to weigh your application. If total redundancy is your thing - being able to swap in a new board with cloned SD card then static would be the way to go.<br><br>Multiple servers need addressing setup in rpt.conf in order to be able to connect and talk to each other locally. Both IP local IP addresses and ports need to be known at server about all the other servers. There is a how-to on this on the hamvoip.org web page.<br><br>The port is the key one you have one public IP and multiple servers. Your router knows how to pass the traffic locally by using the port. Each node is assigned a IP address and port in the Allstar database. If you had multiple servers the IP address would be the same and the port would be different for each server.<br><br>Here is an example from the database of two nodes on one server. They both have identical routing information.<br><br>29014=radio@73.30.112.57:4569/29014,73.30.112.57<br>29015=radio@73.30.112.57:4569/29015,73.30.112.57<br><br>and two nodes on different servers and same public IP. The ports define the servers.<br><br>27225=radio@73.30.112.57:4569/27225,73.30.112.57<br>42291=radio@73.30.112.57:4560/42291,73.30.112.57<br><br>If you want to run two nodes with an RPi2 you have two choices. Put both nodes on the one server or use two RPi2's and setup two servers each with one node. Of course each could also have two nodes for a total of four.<br><br>Putting two nodes on one server is described in the setup how-to and there is a separate how-to on multiple servers at hamvoip.org.<br><br><a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/config-setup.pdf" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/config-setup.pdf</a><br><br><a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/multi-server%20howto.pdf" target="_blank"></a><a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/multi-server%20howto.pdf" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/multi-server%20howto.pdf</a><br><br></font><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="stopSpelling">From: kk6ecm@gmail.com<br>To: arm-allstar@hamvoip.org<br>Date: Sat, 29 Aug 2015 06:53:30 -0700<br>Subject: Re: [arm-allstar] 2 nodes behind 1 IP address<br><br>
<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman";
}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}
.ExternalClass span.ecxMsoHyperlinkFollowed {
color:blue;
text-decoration:underline;
}
.ExternalClass span.ecxEmailStyle17 {
font-family:Arial;
color:navy;
}
.ExternalClass div.ecxSection1 {
}
--></style>
<div class="ecxSection1">
<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;">Yes, you can run multiple nodes on one
server, and multiple servers behind one IP address. Each server requires a
separate sub IP address, and corresponding port number. The port number
differentiates the servers via the public IP address. The router ports are set for
the server, not each node. In iaxRpt, the node number is used for the account
"Name." </span></font></p>
<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;"> </span></font></p>
<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;">iasRpt example</span></font></p>
<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;"> </span></font></p>
<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;">Name Description
Host Username
(setup in iax.conf and extensions.conf)</span></font></p>
<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;"> </span></font></p>
<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;"><node 1> Node 1 / Server
1 192.168.x.105:4569
gui (or whatever you choose for the iax.conf stanza name)</span></font></p>
<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;"><node x> Node x / Server
2 192.168.x.120:4568 gui</span></font></p>
<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;"><node y> Node y / ext
server 245.xxx.x.xxx:4569 gui
(external server, not at your public IP address)</span></font></p>
<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;"> </span></font></p>
<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;">see http://docs.allstarlink.org/drupal/node/132</span></font></p>
<div>
<div class="ecxMsoNormal" style="text-align:center;" align="center"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;">
<hr tabindex="-1" align="center" size="2" width="100%">
</span></font></div>
<p class="ecxMsoNormal"><b><font face="Tahoma" size="2"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size:10.0pt;font-family:Tahoma;">
arm-allstar-bounces@hamvoip.org [mailto:arm-allstar-bounces@hamvoip.org] <b><span style="font-weight:bold;">On Behalf Of </span></b>Chuck Kraly<br>
<b><span style="font-weight:bold;">Sent:</span></b> Saturday, August 29, 2015
5:28 AM<br>
<b><span style="font-weight:bold;">To:</span></b> ARM
Allstar<br>
<b><span style="font-weight:bold;">Subject:</span></b> Re: [arm-allstar] 2 nodes
behind 1 IP address</span></font></p>
</div>
<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;"> </span></font></p>
<div>
<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;">yes. you may have to set one iax port different. I have been able to go
with both on 4569, and also had to have different ports. kinda weird but it has
happened.</span></font></p>
</div>
<div>
<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;"> </span></font></p>
<div>
<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;">On Sat, Aug 29, 2015 at 7:17 AM, Sal P. De Franco <<a href="mailto:sal@spdavanti.com" target="_blank">sal@spdavanti.com</a>>
wrote:</span></font></p>
<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;">Can 2 nodes work behind 1 IP address<br>
<br>
Sal<br>
N6SPD<br>
_______________________________________________<br>
<br>
arm-allstar mailing list<br>
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
<br>
Visit the BBB and RPi2 web page - <a href="http://hamvoip.org" target="_blank">http://hamvoip.org</a></span></font></p>
</div>
<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;"> </span></font></p>
</div>
</div>
<br>_______________________________________________
arm-allstar mailing list
arm-allstar@hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2 web page - http://hamvoip.org</div> </div></body>
</html>