[arm-allstar] Direct to Controller
Doug Crompton
wa3dsp at gmail.com
Sat Nov 12 11:33:55 EST 2016
Wayne,
I thought you were talking about the old hardware KVM. First of all you
don't need a mouse for any of this. All the boards would be run in command
mode and could be accessed by ssh. Each board has an ssh server. You use an
ssh client such as putty to access it.
On the IP question when you have one IP given to you by a provider like
most of us do you use a nat'ed router which then gives you a block of
private IP address firewall'ed behind the router. All the IP's behind the
router are mapped in the router to go to the right IP address based on the
port they are using. The router does all the work. All you have to do is
tell the router (port forwarding) where to send a particular port when it
arrives. If you had 3 allstar nodes, IRLP, and Echolink each has specific
ports it uses. In the case of Allstar the ports can be user defined, for
IRLP and Echolink they are fixed.
Here is a visual example of what I mean -
The provider would supply the public IP - 100.100.100.100 and the router
would expand to a block of 255 addresses in the private 192.168.1 block.
Your router supplies you with a private subnet 192.168.1.0 thru
192.168.1.255
0 and 255 are reserved so you can use 1-254. So lets assign one of our
boards 192.168.1.50.
Assuming we are using port 4569 the board with IP address 192.168.1.50
sends a packet from port 4569 to the destination IP.
192.168.1.50:4569 > 100.100.100.100:4569
Then when that packet is returned the router knows what IP address to
return it to based on the port.
100.100.100.100:4569 > 192.168.1.50:4569
It actually is a little more involved than this in the router but this
gives you a picture of what happens.
I think you must be in the IRLP or Echolink mindset where they have fixed
ports and only allow 1 node per public IP address. Allstar is not like
that. You can have as many nodes behind a single IP as you want assigned by
different ports. The router sorts all that out. All it has to know is where
to send the packets based on the port.
Don't you have a Internet at home supplied by a provider? They only give
you one IP. You router takes care of managing all the devices you have
which are each on a single private IP address. In most cases the router
assigns the local IP (dhcp) but you can also set fixed (static) local IP's.
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Sat, Nov 12, 2016 at 10:06 AM, R. Wayne <allstar at controlservers.net>
wrote:
> After posting I thought about the low cost and I agree that it makes no
> sense kludging together virtualization. But a USB port can be opened by a
> container. EEK! I hate to counter the guru but KVM is Kernel Based
> Virtualization. KVM/IP is a referred video/keyboard/mouse. We use Advocent
> at work. There are others but they generally use a javascript app.
>
> Back to the point I don't know how using separate devices (which DOES make
> more sense) can get an IP. That's the problem. But as for a controller we'd
> rather use a hardware controller. As a System Technician I can do the
> commands (I think) but there are others to think of. We also have a second
> repeater to pull in plus IRLP and Allstar.. Don't much care about Echolink
> but well... users do. I've been reading this group a long time and now its
> time to do something even if the first time doesn't go as planned.
>
> I remain open to ideas though.
>
> -----Original Message----- From: Doug Crompton via arm-allstar
> Sent: Friday, November 11, 2016 2:47 PM
> To: ARM Allstar
> Cc: Doug Crompton
> Subject: Re: [arm-allstar] Direct to Controller
>
> Wayne,
>
> First of all the small board computers are so cheap it makes no sense to
> try and jamb multiple system on it. Even for Allstar if I were doing it I
> would put one node per board. Tie the boards together with an Ethernet
> switch or if you wanted wireless to a router. All the connections are done
> through node connections in software.
>
> Putting all you eggs in one basket is not a good idea from a redundancy
> standpoint. It also makes things much more complicated. Pi3's are $35 -
> $29.95 at Microcenter instore.
>
> KVM is an ssh connection to each board. This could be from a computer at
> the site or anywhere in the world on a computer, phone, tablet, etc. There
> is no need to have monitors or keyboards connected to each computer. You
> would walk in with your laptop, connected to the wifi from your router and
> then use Putty or and ssh client to connect to the various computer at the
> site. You could have multiple screens open at a time.
>
> If your provider only gives you one IP the question is, is that IP nat'ed
> or a provider IP. Assuming it is a provider public IP like you would have
> coming into your home you would just use a standard router to nat as many
> local IP addresses behind it as you want. Then port forward in that router.
>
> Allstar can run an unlimited number of nodes on one IP. IRLP and Echolink
> can only run one.
>
> If the IP address supplied to you is already nat'ed then you would be in a
> double NAt'ed situation. That could be a problem because unless that IP
> address was on a DMZ - allowing all ports to pass without a firewall - you
> would have to double port forward and it would get complicated.
>
> Also be aware that Allstar is a very competent repeater controller in
> itself so properly setup you would not need any other controller.
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
> On Fri, Nov 11, 2016 at 4:37 PM, R. Wayne via arm-allstar <
> arm-allstar at hamvoip.org> wrote:
>
> Since we aren’t doing anything fancy I’ve decided to setup a computer at
>> the repeater site and to the controller, a RC-210. I’ve been reading this
>> group for some time and assume that something as simple as RasPi is all
>> that I need. But I wonder: has anyone installed KVM, Virtuozzo, OpenVZ or
>> any other partitioning software so that they may run Allstar in one
>> container and that (ah-hum, sorry...) IRLP in another container? I run
>> Virtuozzo and OpenVZ at work and the simplest PC I have is a dual
>> processor
>> AMD. I know that it won’t boot from USB unless *maybe* if I update the
>> BIOS. I haven’t tried. I may have another dual Intel. I have stacks of
>> these things. I’d love to use just a RasPI but I’m new to this part of it.
>> My ultimate goal is to put the computer at the repeater site where we have
>> 5.8GHz between each site that I want to put remote receivers on. So, I’ll
>> have an Intranet even if the Internet goes down.
>>
>>
>> OK. Here’s the biggy. My site owner only provides me one IP. I have to
>> provide my own router/firewall. Not a problem. But then I’ll have to go
>> DHCP. ==>> Can I do port forwarding to get to Allstar and (ah-hum) that
>> other RasPI? <<== I can host a domain somewhere and assign it to the base
>> IP but is there a file I can modify to specify the port? Please excuse my
>> NooPness. Not sure how to ask these questions. As it is the RC-210 is only
>> a three port controller. It has a hidden and very simple 4th port that I
>> can put a RTCM on unless there’s an easier way like a FOB. I know that
>> NooP
>> questions are frowned upon.
>>
>> Thanks.
>>
>> Wayne
>> KI6ZTP
>> _______________________________________________
>>
>> arm-allstar mailing list
>> arm-allstar at hamvoip.org
>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>
>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>>
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
>
More information about the arm-allstar
mailing list