IRLP Echolink AllstarLink single VM


Dave K9DC
 

I am not a programmer in anyone’s wildest imagination. I am a network guy though, retired Cisco CCIE. I am thinking there HAS to be a way to bring IRLP (reflector) Echolink and Allstarlink Hub together on the same device. David M and I have been screwing around with this for the last few weeks. Finally cracked it today.

IRLP 9735, Echolink *CROSSRDS* (9735) and AllstarLink Hub 539444, all on a single VM, with a single network interface, running TLB. It CAN be done. This should work similarly with an EXP reflctor as well.

One of the things I do for IRLP is maintain IRLP Server5, which is also Reflector 9730. For years I have run theBridge on IRLP 9735. Recently upgrading it to TLB

My hardware environment is a Synology NAS that I own, in a commercial data center in my city (Indianapolis). I have a /23 allocation from ampr.org which my provider happily advertises for me. The VM I am using is at 44.48.24.44.

Thanks to DavidM for leading me through the Allstarlink world. My first exposure.

So here goes. This is all Debian 10

First add the private address on the main interface

ip addr add 192.168.44.1/30 dev eth0 (it did not work with /32)

Here is the interfaces file version
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 44.48.24.44
netmask 255.255.255.192
gateway 44.48.24.1
dns-nameservers 1.1.1.1 1.0.0.1
post-up ip addr add 192.168.44.1/30 dev eth0

ip address
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 02:11:32:27:5e:43 brd ff:ff:ff:ff:ff:ff
inet 44.48.24.44/26 brd 44.48.24.63 scope global eth0
valid_lft forever preferred_lft forever
inet 192.168.44.1/30 scope global eth0
valid_lft forever preferred_lft forever

root@Server5-amd64:~# netstat -4uan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp 0 0 192.168.44.1:44966 0.0.0.0:*
udp 0 0 44.48.24.44:44966 0.0.0.0:*
udp 0 0 192.168.44.1:44967 0.0.0.0:*
udp 0 0 44.48.24.44:44967 0.0.0.0:*
udp 0 0 0.0.0.0:4569 0.0.0.0:*
udp 0 0 0.0.0.0:2074 0.0.0.0:*
udp 0 0 0.0.0.0:2075 0.0.0.0:*
udp 0 0 0.0.0.0:2076 0.0.0.0:*
udp 0 0 0.0.0.0:2077 0.0.0.0:*
udp 0 0 0.0.0.0:2078 0.0.0.0:*
udp 0 0 0.0.0.0:2079 0.0.0.0:*
udp 0 0 0.0.0.0:2080 0.0.0.0:*
udp 0 0 0.0.0.0:2081 0.0.0.0:*
udp 0 0 0.0.0.0:2082 0.0.0.0:*
udp 0 0 0.0.0.0:2083 0.0.0.0:*
udp 0 0 44.48.24.44:2084 0.0.0.0:*
udp 0 0 44.48.24.44:2085 0.0.0.0:*
udp 0 0 0.0.0.0:2086 0.0.0.0:*
udp 0 0 0.0.0.0:2087 0.0.0.0:*
udp 0 0 0.0.0.0:2088 0.0.0.0:*
udp 0 0 0.0.0.0:2089 0.0.0.0:*
udp 0 0 0.0.0.0:2090 0.0.0.0:*
udp 0 0 0.0.0.0:2091 0.0.0.0:*
udp 0 0 0.0.0.0:2092 0.0.0.0:*
udp 0 0 0.0.0.0:2093 0.0.0.0:*
udp 0 0 192.168.44.1:53 0.0.0.0:*
udp 0 0 44.48.24.44:53 0.0.0.0:*
udp 0 0 127.0.0.1:53 0.0.0.0:*
udp 0 0 127.0.0.1:5198 0.0.0.0:*
udp 0 0 44.48.24.44:5198 0.0.0.0:*
udp 0 0 127.0.0.1:5199 0.0.0.0:*
udp 0 0 44.48.24.44:5199 0.0.0.0:*
udp 0 0 0.0.0.0:37487 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*


Asterisk tlb.conf
[tlb0]
call=K9DC-A AS539444 ; Call of the app_rpt station up to 16 characters
port=44966 ; Listen on UDP port (this port, port + 1)
ipaddr=192.168.44.1 ; optional, listen on a specific ip addr.
astnode=539444 ; app_rpt node associated with this instance
; (for incoming connections)
context=radio-secure ; Asterisk context for incoming connections
codec=ULAW ; Default CODEC to be used
[nodes]
; this stanza lists private Allstar node numbers to connect tlb systems.
1773 = *CROSSRDS*,44.48.24.44,44966,ULAW

TLB tlb.conf
###### Your personal settings ######################################
; Callsign MUST be UPPERCASE and either a link "-L" or repeater "-R"

ConferenceCall = *CROSSRDS*
ConferencePass = xx
ConferenceQth = Crossroads Conf
EmailAdr = dave@dcg.us

###### Echolink - no need to change these settings #################
; EchoLinkEnable = 0
ConferenceID = Crossroads Conference
Banner = Welcome to the *CROSSRDS* conference
Banner = Shared conference with IRLP 9735
Banner = and AllstarLink Hub 539444
MaxConferenceClients = 99
UserCountEnable = 1
MaxCountEnable = 1
RunAsUser = tlb
WorkingDir = /home/tlb/thelinkbox
EnableRemoteDTMF = 0
ShowStatusInInfo = 2
DirServerHost = server1.echolink.org
DirServerHost1 = server2.echolink.org
DirServerHost2 = server3.echolink.org
DirServerHost3 = server4.echolink.org
LoginInterval = 360
StationListInterval = 600
InactiveDirTimeout = 51000
LogFileRolloverType = 5
CmdPort = 5198
ChatPort = 5199
ConfEnable = 0
EventScript = /home/tlb/thelinkbox/scripts/tlbevent.sh
WelcomeFile = welcome.wav
WelcomeDelay = 1
Bind2IP = 44.48.24.44
AdminPass = xx
SysopPass = xx
###### speakfreely/IRLP - no need to change these settings #########
SF_Enable = 1
RTP_Pass = -
SFBind2IP = 44.48.24.44
SF_Port = 2084
SF_ReplyPort = 2084
;FullDuplex = 0
CompressionType = 0 ; 5=ADPCM 3=GSM 0=Uncompressed/uLaw
##### Listen local Allstarlink
RTP_Port = 44966
RTPBind2IP = 44.48.24.44

Join thelinkbox@groups.io to automatically receive all group messages.