<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ampr.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=WB6CYT</id>
	<title>44Net Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ampr.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=WB6CYT"/>
	<link rel="alternate" type="text/html" href="https://wiki.ampr.org/wiki/Special:Contributions/WB6CYT"/>
	<updated>2026-05-01T04:11:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=ARDC&amp;diff=868</id>
		<title>ARDC</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=ARDC&amp;diff=868"/>
		<updated>2019-07-25T11:55:35Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Amateur Radio Digital Communications corporation (ARDC) is a non-profit California corporation that owns the AMPRNet (44.0.0.0/9 and 44.128.0.0/10).  It was formed to encourage and foster the development of Amateur Radio digital networking.  You may contact ARDC by sending email to ardc@ampr.org.&lt;br /&gt;
&lt;br /&gt;
Note that ARDC is &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; an Internet Service Provider. It does not provide any networking access or facilities. It manages and allocates subnets of network 44 (AMPRNet), to interested Amateur Radio operators. Persons who obtain an allocation of address space on AMPRNet must make their own arrangements for connectivity and Internet service.&lt;br /&gt;
&lt;br /&gt;
ARDC also has a philanthropic arm which grants funding to organizations in support of related project and scholarships.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=ARDC&amp;diff=867</id>
		<title>ARDC</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=ARDC&amp;diff=867"/>
		<updated>2019-07-25T11:52:57Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ARDC, the Amateur Radio Digital Communications corporation, is a non-profit California corporation that owns network 44 (44.0.0.0/9 and 44.128.0.0/10), known as the AMPRNet.  It was formed to encourage and foster the development of the Amateur Radio packet and other amateur radio digital networking.  You may contact ARDC by sending email to ardc@ampr.org.&lt;br /&gt;
&lt;br /&gt;
Note that ARDC is &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; an Internet Service Provider. It does not provide any networking access or facilities. It manages and allocates subnets of network 44 (AMPRNet), to interested Amateur Radio operators. Persons who obtain an allocation of address space on AMPRNet must make their own arrangements for connectivity and Internet service.  It also has a philanthropic arm which grants funding to organizations in support of related project and scholarships.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Startampr&amp;diff=866</id>
		<title>Startampr</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Startampr&amp;diff=866"/>
		<updated>2019-07-25T11:46:19Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;startampr&#039;&#039;&#039; is a custom suite of [https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29 Bourne Again Shell] scripts developed by KB3VWG and others in the [[44Net mailing list]] Community, that turns a Debian/Ubuntu-based Linux machine into an AMPR [[Gateway]] on boot; and starts an [https://en.wikipedia.org/wiki/IP_in_IP IPENCAP] (or [https://en.wikipedia.org/wiki/List_of_IP_protocol_numbers IP Protocol] number four) tunnel. The primary advantage to using this suite is that it executes and enables AMPR RIP44 daemons, munge scripts, interfaces and routing commands in proper boot order; and references them using the command syntax, default command arguments and practices that have become the de facto standard on [[AMPRNet]]. It is also minimally invasive, in that the machine otherwise remains an &amp;quot;untouched&amp;quot; default installation; and can be returned to an OEM Ubuntu installation by simply removing all associated files and uninstalling all packages added when configuring the machine to run &#039;&#039;&#039;startampr&#039;&#039;&#039; (please assist me in developing an uninstall script, if interested). Also, if you install a server GUI (e.g. [http://www.webmin.com Webmin]), you can disable the routing features of the machine simply by checking a box, and hitting APPLY (on next reboot, it is disabled). &#039;&#039;&#039;The current versions are 1.0 (no longer developed), and 2.0, released to the [[44Net mailing list]] Community on May 26, 2017 at 14:14 UTC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Detailed Summary ==&lt;br /&gt;
&lt;br /&gt;
In addition to the first and main script, &#039;&#039;&#039;startampr&#039;&#039;&#039;, other tools included with the official release are: init scripts to execute the file, save the routing table (if using a method that does not automatically save it); and an executable script generator (made using [http://linux.die.net/man/1/sed the sed command]) that can restore the AMPR routing table (i.e. in the case the administrator flushes the table). The script uses the [http://www.linuxfoundation.org/collaborate/workgroups/networking/tunneling ipip Linux Kernel module] and implements [http://linux.die.net/man/8/ip Linux ip] routing table&#039;s [https://en.wikipedia.org/wiki/Policy-based_routing policy-based routing] to properly move traffic across the routing plane. It is suggested that [https://en.wikipedia.org/wiki/Iptables iptables] be used to firewall traffic after verification of a proper installation.&lt;br /&gt;
&lt;br /&gt;
The official release uses [[rip44d]] as its [[RIP]]44 protocol daemon; but [[ampr-ripd]] or [[Encap.txt]] with a [[munge script]] may be used (instructions by KB9MWR use ampr-ripd). &#039;&#039;&#039;To operate a [[Gateway]] on [[AMPRNet]], you must have a method of obtaining up-to-date route information. On AMPRNet, a variant of [https://en.wikipedia.org/wiki/Routing_Information_Protocol RIP version 2] protocol, named [[RIP]]44 is used. [https://en.wikipedia.org/wiki/Routing_Information_Protocol RIP version 2] is not the same as [[RIP]]44.&#039;&#039;&#039; rip44d is written in the Perl programming language by Heikki Hannikainen, OH7LZB. [[ampr-ripd]] is written in C by YO2LOJ. The routing table is relatively small, so the performance or memory consumption of this daemon isn&#039;t very critical. The developer choose rip44d simply because it was the only daemon available when version 1.0 was developed. The use of any method to add route information to table 44 will work. It should be noted that: &#039;&#039;&#039;startampr&#039;&#039;&#039; was developed around &#039;&#039;&#039;rip44d&#039;&#039;&#039;; and improves on features not included (e.g. reload of routing table upon reboot). The scripts to backup/restore are not needed when using [[ampr-ripd]] (but can be developed to provide geographically-local tertiary sources of the AMPR routing table).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: if you do not wish to compile software, you must use [[rip44d]] or [[Encap.txt]] with a [[munge script]].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== 2.0 Security Update ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;startampr 2.0&#039;s code includes a security fix that corrects a routing issue that allows unencapsulated traffic from the tunnel to leak onto the LAN or Public Internet interface in version 1.0 - this only occurs when a AMPRNnet-facing user attempts to connect using invalid source IPs or invalid AMPRNet IP address&#039;&#039;&#039;. In original development of version 1.0, it was considered that this behavior could be valid to reach subnets ran by operators using the option at: [[Announcing your allocation directly]]; &#039;&#039;&#039;but do not make their tunnel available on a non-44.0.0.0/8 address&#039;&#039;&#039; (it was announced on the [[44Net mailing list]] on 04AUG2015, that AMPRGW now routes traffic to/from BGPed and IPENCAPed AMPR subnets, making this programmatic workaround unnecessary).&lt;br /&gt;
&lt;br /&gt;
It is a generally accepted practice on the Internet that network operators source filter their traffic, making BGPed subnets an exception for AMPRNet Gateways (see [https://tools.ietf.org/html/rfc3013 RFC3013, section 4.3 and 4.4]). It is also accepted AMPRNet practice that these operators consider running a tunneled Gateway on any non-AMPRNet IP available for accessibility to/from those running IPENCAP Gateways. It may be useful to also have redundant VLANs on two or more interfaces possessing the same Public IP at two or more borders; and run a script between the AMPR Gateways - using [https://en.wikipedia.org/wiki/Dynamic_DNS Dynamic DNS] to synchronize them, verify if connectivity goes down on either device&#039;s tunl0 interface and update the [[Portal]] accordingly.&lt;br /&gt;
&lt;br /&gt;
I&#039;m happy and willing to work with any BGP subnet operator who wishes to develop a script to establish an AMPR Gateway for your multi-homed AMPRNet BGPed subnet.&lt;br /&gt;
&lt;br /&gt;
= Requirements, Installation Overview and Features =&lt;br /&gt;
&lt;br /&gt;
# You&#039;ll need a Linux computer, which has been added in the Gateways file using the [[Portal]], so that it is known as an AMPRnet Gateway; and will receive RIP44 updates from the main [[Gateway]]. It will take some time before Amprgw will learn about new gateways.&lt;br /&gt;
# The instructions below are currently only for Debian/Ubuntu, but there&#039;s nothing Debian-specific - it should work fine on other distributions (if the correct packages used (e.g. wget/curl, The Bourne Again Shell/BASH, sed, ip, chmod, PERL, etc.) Interface names, file and folder locations, file permissions, etc. are edited.&lt;br /&gt;
&lt;br /&gt;
You must first properly install:&lt;br /&gt;
* the operating system and network interfaces&lt;br /&gt;
* then properly install &#039;&#039;&#039;startampr&#039;&#039;&#039; at &#039;&#039;&#039;/usr/local/sbin&#039;&#039;&#039; to enable the tunnel. &#039;&#039;&#039;The tunnel interface must be operational and in &#039;UP&#039; status before proceeding.&#039;&#039;&#039;&lt;br /&gt;
* the [[RIP]]44 daemon ([[rip44d]] uses the location &#039;&#039;&#039;/usrlocal/sbin/&#039;&#039;&#039;) which receives periodic routing table updates from the [[AMPRNet]] routing service, and inserts them in the Linux routing table of your choice (most users use table 44; and the scripts use this value as well). &#039;&#039;&#039;You must verify that you are receiving route information before proceeding.&#039;&#039;&#039;&lt;br /&gt;
* boot script for &#039;&#039;&#039;startampr&#039;&#039;&#039;, to &#039;&#039;&#039;/etc/init/&#039;&#039;&#039;&lt;br /&gt;
* (Optional) a script to backup the routing table and create a corresponding restore script, at &#039;&#039;&#039;/etc/cron.hourly/&#039;&#039;&#039;&lt;br /&gt;
* (Optional) a script to restore the AMPRNet routing table on boot, at &#039;&#039;&#039;/etc/if-ip.d/&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Installation of startampr =&lt;br /&gt;
&lt;br /&gt;
Install the the script to &#039;&#039;&#039;/usr/local/sbin&#039;&#039;&#039; and &#039;&#039;&#039;sudo chmod ug+x /usr/local/sbin/startampr&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
After obtaining the correct password from the route announcement and entering it into the properly configured script, install the boot and interface-up scripts (sample init scripts provided).&lt;br /&gt;
&lt;br /&gt;
The additional script &#039;&#039;&#039;/etc/cron.hourly/backup_ampr&#039;&#039;&#039; creates an hourly backup of the AMPR routing table, located in two files at &#039;&#039;&#039;/usr/local/sbin&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;/usr/local/sbin/table44_bak &#039;&#039;&#039; - It is a text file that contains a copy of output from the command: &#039;ip route get table 44&#039;&lt;br /&gt;
* &#039;&#039;&#039;/usr/local/sbin/restore44sh&#039;&#039;&#039; - It contains a copy of &#039;&#039;&#039;table44_bak&#039;&#039;&#039; with the command &amp;quot;ip route add table 44 &amp;quot; appended to each line. &#039;&#039;&#039;backup_ampr&#039;&#039;&#039; gives this file executable permissions to user:root and group:root. Execute this file using the command: &#039;&#039;&#039;sudo ./usr/local/sbin/restore44sh&#039;&#039;&#039; to restore your routing table if the need ever occurs.&lt;br /&gt;
&lt;br /&gt;
You can verify the backup is running by issuing the command: &#039;&#039;&#039;ls -l /usr/local/sbin/restore44sh&#039;&#039;&#039; and &#039;&#039;&#039;ls -l /usr/local/sbin/table44_bak&#039;&#039;&#039;&lt;br /&gt;
If the machine has been up, the files should be no more than an hour old.&lt;br /&gt;
&lt;br /&gt;
That should be all. Really. The downside of this configuration is that it will take up to 5 minutes for the gateway to receive a routing update and become operational after a reboot. The additional scripts provided store the current routing table in a local file hourly and load it from there when starting up. Thereafter, after every hour of uptime your routing table is backed up at :17 on the hour. This backup can be used if you ever need to execute the ip command to flush table 44.&lt;br /&gt;
&lt;br /&gt;
= Installation of dependencies on Debian/Ubuntu =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you use rip44d&#039;&#039;&#039;, install perl, and IO::Socket::Multicast, a Perl module used for receiving the RIP multicast packets&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install perl libio-socket-multicast-perl libio-interface-perl&lt;br /&gt;
&lt;br /&gt;
recommended: &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install traceroute openssh-server ipset&lt;br /&gt;
&lt;br /&gt;
= Installation of dependencies on other distributions =&lt;br /&gt;
&lt;br /&gt;
Other distributions should have an easy way to install the required packages too (using yum or a similar program). Please fill in details here, if you know them.&lt;br /&gt;
&lt;br /&gt;
= Script =&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #############################################################&lt;br /&gt;
 ###STARTAMPR v2.0 May 26, 2017###&lt;br /&gt;
 ###&lt;br /&gt;
 ### TO DO - Have the AMPRNet Community test and verify&lt;br /&gt;
 ###&lt;br /&gt;
 ### CHANGELOG&lt;br /&gt;
 ###&lt;br /&gt;
 ### v2.0 RC4&lt;br /&gt;
 ### - Dialogue about how to add routes and rules for any created test subnet(s).&lt;br /&gt;
 ###&lt;br /&gt;
 ### v2.0 RC3&lt;br /&gt;
 ### - Exclusively seperates route and tables, as well as priotities by: class and type&lt;br /&gt;
 ### - This makes unnecessary the exclusion of local subnets in ampr-ripd using the &#039;-a&#039; switch,&lt;br /&gt;
 ###   by adding local 44 network(s) to a higher priority routing table&lt;br /&gt;
 ### - This should enable  you can to become a tunnel GW for BGPed 44/8 subnets&lt;br /&gt;
 ### - Provides table 7777 as a BLACKHOLE/NULL Route&lt;br /&gt;
 ### - Adds script to load last hourly backup of table 44 on boot&lt;br /&gt;
 ### -  With script backup_ampr, creates a backup of the routing table a file named table44_bak&lt;br /&gt;
 ###   and an executable restore44sh hourly to use on the running machine to&lt;br /&gt;
 ###   restore table 44  if the table needs to be flushed during uptime&lt;br /&gt;
 ###&lt;br /&gt;
 ### v2.0&lt;br /&gt;
 ### - Streamlined commands and routes&lt;br /&gt;
 ### - Placed syntax for Debian/Ubuntu and OpenWRT/LEDE devices&lt;br /&gt;
 #############################################################&lt;br /&gt;
 ## This script was developed by KB3VWG on a standard&lt;br /&gt;
 ## Ubuntu 16.04.2 LTS PC eth0 configured to the Public facing&lt;br /&gt;
 ## LAN and eth1 to the 44LAN. It is designed to enable an&lt;br /&gt;
 ## AMPR Router using the ampr-ripd v2.0, the standard ampr-ripd,&lt;br /&gt;
 ## using the -t switch to add routes to routing table &#039;44&#039;&lt;br /&gt;
 ## with no further configuration needed (firewall optional)&lt;br /&gt;
 ##############################################################&lt;br /&gt;
 ##################################################################&lt;br /&gt;
 ## This script was modified by LX1DUC to automate even more tasks.&lt;br /&gt;
 ##################################################################&lt;br /&gt;
 ##################################################################&lt;br /&gt;
 ## Thanks to PE1CHL for discovering the need for policy-based routing&lt;br /&gt;
 ## Thanks to KI4SZJ for testing v2.0&lt;br /&gt;
 ##################################################################&lt;br /&gt;
 &lt;br /&gt;
 ### ENABLE IP FORWARDING ###&lt;br /&gt;
 sysctl -w net.ipv4.ip_forward=1&lt;br /&gt;
 ## Allows traceroute to respond using 44net IP of tunl0 or br-amprlan ##&lt;br /&gt;
 echo 1 &amp;gt; /proc/sys/net/ipv4/icmp_errors_use_inbound_ifaddr&lt;br /&gt;
 &lt;br /&gt;
 ################### AMPRNet IPENCAP UBUNTU SYNTAX #######################&lt;br /&gt;
 # modprobe ipip&lt;br /&gt;
 # ip tunnel add tunl0 mode ipip&lt;br /&gt;
 ###NUMBER tunl0 with a /32 from your allocation&lt;br /&gt;
 ###(you may reuse this IP on an Ethernet interface&lt;br /&gt;
 # ip addr add &amp;lt;IP from your 44&amp;gt;/32  dev tunl0&lt;br /&gt;
 # ip link set tunl0 mtu 1480 up&lt;br /&gt;
 # ip tunnel change tunl0 ttl 64 tos inherit pmtudisc&lt;br /&gt;
 &lt;br /&gt;
 ################### AMPRNet IPENCAP OpenWRT/LEDE SYNTAX #######################&lt;br /&gt;
 # ip tunnel add tunl0&lt;br /&gt;
 # ip tunnel change tunl0 mode ipip ttl 64 tos inherit pmtudisc&lt;br /&gt;
 ###(you may reuse this IP on an Ethernet interface&lt;br /&gt;
 # ip addr add &amp;lt;IP from your 44&amp;gt;/32  dev tunl0&lt;br /&gt;
 # ip link set tunl0 mtu 1480 up&lt;br /&gt;
 &lt;br /&gt;
 ################### OPTIONAL - DEFAULT ROUTE FOR INTERNET ACCESS #######################&lt;br /&gt;
 ip route add default dev tunl0 via &amp;lt;AMPRGW_IP&amp;gt; onlink proto 44 table 44&lt;br /&gt;
 &lt;br /&gt;
 ################### POLICY-BADED ROUTING #######################&lt;br /&gt;
 ###OPTIONAL LOCAL RULES&lt;br /&gt;
 ip rule add from &amp;lt;CIDR_44_allocation&amp;gt;  to &amp;lt;LAN e.g. 192.168.1.0/24&amp;gt; table main priority 22&lt;br /&gt;
 &lt;br /&gt;
 #REQUIRED RULES&lt;br /&gt;
 ip rule add to &amp;lt;CIDR_44_allocation&amp;gt;  table main priority 44&lt;br /&gt;
 ip rule add dev tunl0 table 44 priority 45&lt;br /&gt;
 ip rule add dev &amp;lt;interface_for_44LAN&amp;gt; table 44 priority 46&lt;br /&gt;
 ip rule add from &amp;lt;CIDR_44_allocation&amp;gt;  table 44 priority 47&lt;br /&gt;
 &lt;br /&gt;
 ###SOME OF THIS MAY BE NEEDED TO RUN ampr-ripd from another folder than the compile option&lt;br /&gt;
 ###make sure you create the correct save and working folders, etc if you cant recompile ampr-ripd&lt;br /&gt;
 # This directory is not persistent on OpenWRT/LEDE, it must be made on boot for dynamic filtering&lt;br /&gt;
 # mkdir /var/lib/ampr-ripd&lt;br /&gt;
 # Create a blank bootstrap file at /etc/config/encap.txt for this to work&lt;br /&gt;
 # ln -s /etc/config/encap.txt /tmp/lib/ampr-ripd/encap.txt&lt;br /&gt;
 # cd /usr/local/sbin&lt;br /&gt;
 &lt;br /&gt;
 ################### RUN AMPR-RIPD&lt;br /&gt;
 ################### WITH DYNAMIC FIREWALL SCRIPT USING -x&lt;br /&gt;
 ################### see http://wiki.ampr.org/wiki/Firewalls for dynamic script&lt;br /&gt;
 ./ampr-ripd-2.0.x64_Ubuntu16 -i &amp;lt;tunl_interface&amp;gt; -t 44 -a &amp;lt;CIDR_44_allocation&amp;gt; -s -x &#039;/etc/config/load_ipipfilter.sh&#039; -L &amp;lt;CALLSIGN&amp;gt;@&amp;lt;GRID_SQUARE&amp;gt; &amp;amp;&lt;br /&gt;
&lt;br /&gt;
= Notes =&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;startampr documentation uses tunl0 as the tunnel interface (it is the default on RIP44 daemons) and table 44 for those routes. Use the -i &amp;lt;if&amp;gt; and -t &amp;lt;ip table&amp;gt; option to change to another. The command arguments differ between [[rip44d]] and [[ampr-ripd]]. startampr uses rip44d. See the documentation for the RIP44 programs if decide to use custom interfaces, tables or switch to a routing daemon other than [[rip44d]].&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;The script places the routing daemon at /usr/local/sbin/rip44d_&amp;lt;version number&amp;gt; (this assists in preventing inadvertent running of RIP44 Protocol before you have configured startampr.&lt;br /&gt;
* &#039;&#039;&#039;The routing rules do not account for rogue traffic containing both an invalid source and destination IP (which the security of the [[Portal]] generally prevents). Use iptables to DROP forwarding of all traffic entering tunl0 not matching a source or destination of in your allocated subnet(s). This can be done by adding adding rules to drop forwarding, by default, packets not possessing correct source and destination IPs in the range of 44.0.0.0/8, etc.&#039;&#039;&#039;&lt;br /&gt;
* The -a &amp;lt;IP in [[Portal]]&amp;gt; is used to remove your routes from the table (which is incorrect, as they are local). &#039;&#039;&#039;startampr&#039;&#039;&#039; places your local routes in a higher routing table, eliminating the need to use the -a argument. This is a good feature for those who are assigned a dynamic IP address from their Internet Service Provider.&lt;br /&gt;
* The tunnel interface must be up and configured before &#039;&#039;&#039;rip44d&#039;&#039;&#039; starts up. &#039;&#039;&#039;startampr&#039;&#039;&#039; places this command in the proper location.&lt;br /&gt;
* rip44d automatically adds an AMPR route to the Main AMPRNet Gateway on table 44&lt;br /&gt;
* The &#039;&#039;&#039;startampr&#039;&#039;&#039; backup script &#039;&#039;&#039;/etc/cron.hourly/backup_ampr&#039;&#039;&#039; is added to a folder that is configured in Ubuntu, by default, to run scripts at :17 after the hour. The Main AMPR Gateway sends an update every five minutes. For advanced instructions on changing this time interval, see [https://help.ubuntu.com/community/CronHowto the Ubuntu Community cron HowTo].&lt;br /&gt;
* A strict assortment of: file permissions, naming conventions and leading characters (e.g. &#039;&#039;&#039;&amp;quot;#!/bin/bash&amp;quot;&#039;&#039;&#039;) are required in &#039;&#039;&#039;/etc/init/&#039;&#039;&#039;, &#039;&#039;&#039;/etc/if-up.d/&#039;&#039;&#039; (used in a script to reload table 44 on boot) and &#039;&#039;&#039;/etc/cron.hourly/&#039;&#039;&#039;. Note that: &#039;&#039;&#039;startampr&#039;&#039;&#039; has properly named those files. If you wish to edit them, please follow the documentation and README for more details.&lt;br /&gt;
* &#039;&#039;&#039;Please note that: any machine acting as an AMPRNet Gateway must explicitly create high-priority routing rules for all traffic addressed to or from eth0. The network assigned to eth0 must be configured to ONLY use table main.&#039;&#039;&#039; No other valid configuration has been found to properly work (discovered by PE1CHL and tested by KB3VWG and others in the [[44Net mailing list]] Community). &#039;&#039;&#039;This is due to the unique fact that, on AMPRNet routers, 44.0.0.0/8 exists on both the Public (eth0) and AMPRNet-facing (tunl0) sides of the device. There is no way to properly differentiate the route or destination interface of the traffic received from 44.0.0.0/8 over tunl0 (with your 44Router&#039;s 44 IP address), versus that from eth0 (on the Gateway&#039;s Public-facing IP). Meaning, there is no way to route traffic for all cases, except by SOURCE OR DESTINATION IP ADDRESS. Therefore, ALL traffic to and from the network facing eth0, must use eth0.&#039;&#039;&#039; In order to access your AMPRNet from a local network, you must create another routable LAN (and add TO rules, e.g. ip route add to 172.55.0.0/24 table main priority - and masquerade accordingly if configured to reach all of AMPRNet), or simply connect directly to an AMPR-facing interface. The rule to only use the main table for the eth0 network allows the AMPRNet Gateway to reach 44 hosts on the Public Internet, leaving the operator to provide all routing rules for AMPR-facing interfaces, which is the intent of &#039;&#039;&#039;startampr&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Support, bug reports and improvements =&lt;br /&gt;
&lt;br /&gt;
If you have questions to ask about the usage of this script, please contact the [[44Net mailing list]].&lt;br /&gt;
&lt;br /&gt;
If you have improvements to the script and wish to submit a patch, please contact KB3VWG on the [[44Net mailing list]], or via contact details in the [[Portal]]. Thank you!&lt;br /&gt;
&lt;br /&gt;
The daemon was written by Lynwood, KB3VWG, and with major contributions from PE1CHL (for implementation of policy-based IP routing), Heikki Hannikainen, OH7LZB (to version 1.0&#039;s integration with &#039;&#039;&#039;[[rip44d]]&#039;&#039;&#039;), and Marc, LX1DUC (to automate enabling of IP forwarding).&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Ubuntu Linux Gateway Example]]&lt;br /&gt;
* [[Setting up a gateway on Linux]]&lt;br /&gt;
* [[ampr-ripd]]&lt;br /&gt;
* [[Encap.txt]]&lt;br /&gt;
* [[munge script]]&lt;br /&gt;
* [[rip44d]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
&lt;br /&gt;
* [http://www.qsl.net/kb9mwr/wapr/tcpip/ampr-ripd.html Alternative installation instructions by KB9MWR]&lt;br /&gt;
* [http://marc.storck.lu/blog/2013/08/howto-setup-an-amprnet-gateway-on-linux/ Alternative installation instructions by Marc, LX1DUC]&lt;br /&gt;
* [(link to KB3VWG&#039;s site here) Detailed Readme and Installation instructions by KB3VWG]&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Gateway&amp;diff=864</id>
		<title>Gateway</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Gateway&amp;diff=864"/>
		<updated>2019-07-25T11:42:53Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A lot of the AMPRNet address space is interconnected via [[gateway|gateways]]. These are IPENCAP ([http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml IP Protocol Number 4]) encapsulated [[tunnel|tunnels]] that carry the AMPRNet address space allocated to a particular region or end user. There exists a database of all the gateways public IP addresses and the subnets they service on the [[portal]]. This database is used to dynamically generate gateway information via modified [[RIP]] advertisements. This database also generates a file called [[encap.txt]] which is basically a routing table that specifies which subnets can be reached via which gateway. &lt;br /&gt;
&lt;br /&gt;
Learn how to [[Setting up a gateway on Linux|setup a Linux gateway]]&lt;br /&gt;
&lt;br /&gt;
Learn how to [[Setting up a gateway on OpenWRT|setup an OpenWRT gateway]]&lt;br /&gt;
&lt;br /&gt;
Learn how to [[Setting up a gateway on Cisco Routers|setup a  Cisco Router gateway]]&lt;br /&gt;
&lt;br /&gt;
Learn how to [[setting up a gateway on MikroTik Routers|setting up a  gateway on MikroTik Routers]]&lt;br /&gt;
&lt;br /&gt;
In order to keep this database up to date, everyone that operates a gateway must register on the [[portal]] and have their gateway assigned to their account.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=ARDC&amp;diff=863</id>
		<title>ARDC</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=ARDC&amp;diff=863"/>
		<updated>2019-07-25T11:41:11Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ARDC, the Amateur Radio Digital Communications corporation, is a non-profit California corporation that owns network 44 (44.0.0.0/9 and 44.128.0.0/10), known as the AMPRNet.  It was formed to encourage and foster the development of the Amateur Radio packet and other amateur radio digital networking.  You may contact ARDC by sending email to ardc@ampr.org.&lt;br /&gt;
&lt;br /&gt;
Note that ARDC is &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; an Internet Service Provider. It does not provide any networking access or facilities. It solely manages and allocates Internet address space, subnets of network 44 (AMPRNet), to interested Amateur Radio operators. Persons who obtain an allocation of address space on AMPRNet must make their own arrangements for connectivity and Internet service.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Quickstart&amp;diff=862</id>
		<title>Quickstart</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Quickstart&amp;diff=862"/>
		<updated>2019-07-25T11:39:46Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So you&#039;re a licensed amateur radio operator, you&#039;re interested in IP networking, and you want to combine the two. [[AMPRNet]] is for you. This Quickstart guide can help get you set up quickly.&lt;br /&gt;
&lt;br /&gt;
To get online with [[AMPRNet]], you will probably want to start with a tunnel connection to the rest of the network. You will need the following:&lt;br /&gt;
&lt;br /&gt;
# A router. This can be a specialized routing device, or a general purpose computer. It probably won&#039;t need a lot of compute power, so you can recycle an old PC or something similar.&lt;br /&gt;
# An Internet connection that gives you a stable IP address for the rest of the network to talk to you: [[AMPRnet]] tunnels pass AMPRNet data between parts of the AMPR network by encapsulating them in non-44net Internet traffic. Static IP addresses are best for this, but IP addresses dynamically assigned to you by your ISP may work if they change infrequently.&lt;br /&gt;
&lt;br /&gt;
Once you have a machine to act as a router and a suitable network connection, do the following:&lt;br /&gt;
&lt;br /&gt;
# [https://portal.ampr.org/register.php Register] on the [[portal]].&lt;br /&gt;
# Request a network allocation from your regional coordinator.&lt;br /&gt;
## From the portal&#039;s [https://portal.ampr.org/networks.php networks] page, navigate to your country and region&#039;s network subpage.&lt;br /&gt;
## From the regional network page, request an allocation. Note, select only ONE of the connection options (Radio, Tunnel, or Direct). To start, you probably want to select &#039;Tunnel&#039;. For more information on requesting an allocation, see the wiki page on [[Requesting a block]].&lt;br /&gt;
# Once your allocation has been granted, [https://portal.ampr.org/gateways_manage.php register your gateway through the portal].&lt;br /&gt;
# Once your gateway has been registered, contact your regional coordinator to register DNS mappings for the hosts on your network. Note that the main tunnel router at UCSD will NOT pass traffic to an IP address unless that address is associated with a hostname in the [[Ampr.org|ampr.org]] DNS domain.&lt;br /&gt;
# Configure your router to act as a [[Gateway]] to the rest of the network.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it! You now have a tunnel to the rest of the network. From here, you can connect devices via RF links, subnet your network if you like, and start exploring TCP/IP over amateur radio.&lt;br /&gt;
&lt;br /&gt;
== Next Steps ==&lt;br /&gt;
&lt;br /&gt;
Once you are connected, you should subscribe to the [[44Net mailing list]].&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Gateway&amp;diff=861</id>
		<title>Gateway</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Gateway&amp;diff=861"/>
		<updated>2019-07-25T11:38:22Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A lot of the 44/8 address space is interconnected via [[gateway|gateways]]. These are IPENCAP ([http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml IP Protocol Number 4]) encapsulated [[tunnel|tunnels]] that carry the AMPRNet address space allocated to a particular region or end user. There exists a database of all the gateways public IP addresses and the subnets they service on the [[portal]]. This database is used to dynamically generate gateway information via modified [[RIP]] advertisements. This database also generates a file called [[encap.txt]] which is basically a routing table that specifies which subnets can be reached via which gateway. &lt;br /&gt;
&lt;br /&gt;
Learn how to [[Setting up a gateway on Linux|setup a Linux gateway]]&lt;br /&gt;
&lt;br /&gt;
Learn how to [[Setting up a gateway on OpenWRT|setup an OpenWRT gateway]]&lt;br /&gt;
&lt;br /&gt;
Learn how to [[Setting up a gateway on Cisco Routers|setup a  Cisco Router gateway]]&lt;br /&gt;
&lt;br /&gt;
Learn how to [[setting up a gateway on MikroTik Routers|setting up a  gateway on MikroTik Routers]]&lt;br /&gt;
&lt;br /&gt;
In order to keep this database up to date, everyone that operates a gateway must register on the [[portal]] and have their gateway assigned to their account.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Setting_up_a_gateway_on_Cisco_Routers&amp;diff=860</id>
		<title>Setting up a gateway on Cisco Routers</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Setting_up_a_gateway_on_Cisco_Routers&amp;diff=860"/>
		<updated>2019-07-25T11:37:09Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To create a gateway using Cisco equipment you must have a Cisco Router (preferred from series 2600 and above)&lt;br /&gt;
&lt;br /&gt;
Preferred with two Ethernet ports (but can be done also with one Ethernet port)&lt;br /&gt;
&lt;br /&gt;
Pre requirement to the setup to work are as follows:&lt;br /&gt;
&lt;br /&gt;
You have already registered with AMPRNet and got your 44.x.x.x/y allocation and it is showing in the encap.txt file (see &amp;quot;If you are looking to get an IP allocation within the AMPRNet please read the Portal page.&amp;quot;) info on the main page .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You have registered some hosts of your allocated network in the AMPRNet DNS like &amp;lt;your call sign&amp;gt;.ampr.org&lt;br /&gt;
&lt;br /&gt;
The example given here here is of one Ethernet port.&lt;br /&gt;
&lt;br /&gt;
You have to assign the router Ethernet port the Commercial IP  &lt;br /&gt;
&lt;br /&gt;
The commands are:&lt;br /&gt;
&lt;br /&gt;
 enable&lt;br /&gt;
 configure terminal&lt;br /&gt;
 interface ethernet0&lt;br /&gt;
 ip address &amp;lt;and here you give the ip of the commercial isp the router is connected to&amp;gt; (it can also be the IP of a network the router is on  (as long as this IP is accessible to the outside world))&amp;gt; &amp;lt;The NetMask of the network&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The interface name can vary depending on your router type, it can be  Ethernet0  FastEthernet0 GigabitEthernet0/0 etc.  &lt;br /&gt;
&lt;br /&gt;
(To see what interfaces you have in order to assign them the address  use the command Show interface and identify the Ethernet port name.)&lt;br /&gt;
&lt;br /&gt;
Then you have to assign the AMPRNet 44.x.x.x IP .&lt;br /&gt;
&lt;br /&gt;
For a router with one port any additional network IP has to be secondary and the command is:&lt;br /&gt;
&lt;br /&gt;
 int eth0&lt;br /&gt;
 ip add &amp;lt;the AMPR IP &amp;gt; &amp;lt;the netmask of the network &amp;gt; secondary&lt;br /&gt;
  &lt;br /&gt;
Now  some  tunneling commands have to be added to redirect your outgoing  traffic  (via tunnel) to  the main  AMPRNET router , you do it because every ISP  block  outgoing IP&#039;s which is not a part of their network  (and 44 net is not belong to any  ISP) so in order to allow the 44 net IP traffic  to gain  access to the outside world  you need to do a tunnel to the AMPR.ORG router  to the  outgoing  traffic (traffic that intend to reach the internet (all other IP&#039;s that are not part of the AMPRNet))&lt;br /&gt;
&lt;br /&gt;
To open a tunnel channel you have to specify the tunnel source address (from where the tunnel is established) and tunnel destination (to where the tunnel establish to)&lt;br /&gt;
&lt;br /&gt;
This is done by a few commands  here they are&lt;br /&gt;
&lt;br /&gt;
 interface tunnel0&lt;br /&gt;
 tunnel source &amp;lt;here you put the router commercial IP&amp;gt;&lt;br /&gt;
 tunnel destination &amp;lt;here you put  the AMPR.ORG main tunnel router IP&amp;gt;&lt;br /&gt;
 tunnel mode ipip (this command is to tell the tunnel (cisco support lot of tunneling types) which  mode to use)&lt;br /&gt;
&lt;br /&gt;
In addition the router has to be  notified to pass all the  outgoing 44 Net Traffic to the tunnel interface and not to route it just like that to the  Internet  (because as explained  they will be probably  blocked by the  closest ISP you are connected  to ) &lt;br /&gt;
&lt;br /&gt;
The command to do it is  &lt;br /&gt;
&lt;br /&gt;
 ip route 0.0.0.0 0.0.0.0 Tunnel0 &amp;lt;the ip address of the AMPR.ORG main tunnel router &amp;gt;&lt;br /&gt;
 &lt;br /&gt;
(0.0.0.0 0.0.0.0 mean &amp;quot;any IP&amp;quot;)  (will be explained latter)&lt;br /&gt;
&lt;br /&gt;
Another important command is a command to route  the tunneled traffic from the router  to the main ampr.org router  not via a tunnel (this important to establish  tunnel)  &lt;br /&gt;
&lt;br /&gt;
This command is more specific then the &amp;quot;any IP&amp;quot; route command  described before and say to the router :  &amp;quot;pass the tunneled traffic  belong to the other side of the tunnel direct and not via tunnel&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The Command is : &lt;br /&gt;
&lt;br /&gt;
 ip route &amp;lt;the ampr.org main tunnel IP &amp;gt; 255.255.255.255 Ethernet0 &amp;lt;your  router commercial IP&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This  are the minimum  commands necessary  to be able to route your  inside 44  net IP to the outside world (but not to any  other 44 net  networks worldwide) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This method  will redirect any  outgoing traffic (no matter what local IP  is  used ) to the tunnel and since the AMPR.ORG tunnel deal with tunneling from only  44 Net IP  it mean  that if the router local  Lan is sharing 44 and non 44 IP machines the non 44 Net machines  will have no connectivity  to the world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To overcome this problem a route policy will have to  be used (with the command route-map) because regular route command deal with route  for destination  IP  without  looking at the source (local net)  and   route policy  can do it ...&lt;br /&gt;
&lt;br /&gt;
So two policy  have to be created  one for all addresses (excluding the AMPRnet that needed to be routed direct to the internet (without tunnel) and second one specifically for the 44 net hosts that needed to redirect their  outgoing traffic to the tunnels &lt;br /&gt;
&lt;br /&gt;
In order to route your traffic  to other 44 net gateways  you need to build  a tunnel interface to every gateway  (unlike JNOS that one tunnel deal with all  tunnels)&lt;br /&gt;
and the tunnel  have to have a tunnel source  tunnel destination  (as explained above ) and tunnel  mode&lt;br /&gt;
&lt;br /&gt;
In addition two route lines have to  be added  &lt;br /&gt;
&lt;br /&gt;
One is route command to route the specific 44 network of the gateway  this tunnel deal into this   tunnel  &lt;br /&gt;
&lt;br /&gt;
And another is to allow the tunnel traffic to go thorough  the internet  &lt;br /&gt;
&lt;br /&gt;
Enclosed is example from   router that is doing tunnel to the main  AMPR router and to  one gateway  somewhere in the world&lt;br /&gt;
&lt;br /&gt;
The tunnel0 interface is the Main AMPR.ORG  router  and the tunnel with 741916672 is one tunnel to a gateway &lt;br /&gt;
&lt;br /&gt;
The section  of tunnel74xxx have to duplicated to every 44 net gateway  (of course with the corresponding ip of the specific gateway) (currently about 400 times)&lt;br /&gt;
&lt;br /&gt;
TIP: If you  are not familiar with Cisco Commands you can use the GUI  Software  called Cisco Configuration Professional (CCP)&lt;br /&gt;
&lt;br /&gt;
to config  the router with it &lt;br /&gt;
&lt;br /&gt;
Later on we will deal of how to create these tunnels  lines configuration  using a script &lt;br /&gt;
that takes the info from the ENCAP.TXT  file and convert it to  Cisco config&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 interface Tunnel0&lt;br /&gt;
 ip unnumbered Ethernet0&lt;br /&gt;
 no ip directed-broadcast&lt;br /&gt;
 tunnel source Ethernet0&lt;br /&gt;
 tunnel destination 169.228.34.84&lt;br /&gt;
 tunnel mode ipip&lt;br /&gt;
 !&lt;br /&gt;
 interface Tunnel741916672&lt;br /&gt;
 description Link to 44.56.192.0&lt;br /&gt;
 ip unnumbered Ethernet0&lt;br /&gt;
 ip access-group acl_44 in&lt;br /&gt;
 no ip directed-broadcast&lt;br /&gt;
 tunnel source 10.0.0.180&lt;br /&gt;
 tunnel destination 24.229.88.253&lt;br /&gt;
 tunnel mode ipip&lt;br /&gt;
&lt;br /&gt;
 interface Ethernet0&lt;br /&gt;
 description connected to EthernetLAN_HAIFA&lt;br /&gt;
 ip address 44.138.1.1 255.255.255.0 secondary&lt;br /&gt;
 ip address 10.0.0.180 255.255.255.0&lt;br /&gt;
 no ip directed-broadcast&lt;br /&gt;
&lt;br /&gt;
 ip classless&lt;br /&gt;
 ip route 0.0.0.0 0.0.0.0 Tunnel0 169.228.34.84&lt;br /&gt;
 ip route 169.228.34.84 255.255.255.255 Ethernet0 10.0.0.138&lt;br /&gt;
 ip route 44.56.192.0 255.255.255.0 Tunnel741916672&lt;br /&gt;
 ip route 24.229.88.253 255.255.255.255 Ethernet0 10.0.0.138&lt;br /&gt;
&lt;br /&gt;
Making the route  commands  automatically&lt;br /&gt;
&lt;br /&gt;
Because  the route info of the gateways (the encap file) changes  periodically&lt;br /&gt;
mainly because a lot of gateway sits on dynamic ip &lt;br /&gt;
&lt;br /&gt;
and because the  tunnel ip as a result  change you may loose the tunnel to these gateways &lt;br /&gt;
&lt;br /&gt;
In order to be &amp;quot;updated&amp;quot; it is needed to take the new encap file periodically and put it into the cisco router&lt;br /&gt;
&lt;br /&gt;
Because the encap file lines are not a format of commands that  Cisco &amp;quot;understand&amp;quot;  a fomat conversion need to  be made  in order to convert route info in the encap file to commands that cisco  can &amp;quot;understand&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So a Script that take the encap file and make a new file of Cisco commands  must  be run&lt;br /&gt;
&lt;br /&gt;
There are two scripts that do it   available , one is Perl  and other is VBS&lt;br /&gt;
&lt;br /&gt;
The example will give the results of the  Perl Script&lt;br /&gt;
&lt;br /&gt;
The Perl  Script for the Cisco  enclosed &lt;br /&gt;
&lt;br /&gt;
  #!/usr/bin/perl&lt;br /&gt;
 #encapconvert.pl V0.1 10-31-12&lt;br /&gt;
 #Script created by Jason Begley KY9J ky9j.com ky9j@arrl.net&lt;br /&gt;
 #This script is used for converting the encap.txt file from the AMPR net&lt;br /&gt;
 #into a loadable config file for use on cisco routers. It is advised to use&lt;br /&gt;
 #this on a 2600 or better router due to interface limits.&lt;br /&gt;
 #&lt;br /&gt;
&lt;br /&gt;
 my ($line);&lt;br /&gt;
 my %nets = ();&lt;br /&gt;
 my $net = undef;&lt;br /&gt;
 my $mask = undef;&lt;br /&gt;
&lt;br /&gt;
 #####&lt;br /&gt;
 #Below are user defined varibles&lt;br /&gt;
&lt;br /&gt;
 my $loop = &amp;quot;Ethernet0&amp;quot;; #LOOPBACK INT CHANGE IF ALREADY IN USE&lt;br /&gt;
 my $outip = &amp;quot;10.0.0.180&amp;quot;; #YOUR PUBLIC IP ADDRESS&lt;br /&gt;
 my $loopip = &amp;quot;44.138.1.1&amp;quot;; #YOUR AMPR IP ADDRESS&lt;br /&gt;
 #EO user defined varibles&lt;br /&gt;
 #####&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 my $file = $ARGV[0];&lt;br /&gt;
 my $debug = $ARGV[1];&lt;br /&gt;
 if(!$file) { usage(); exit; } &lt;br /&gt;
 if($file =~ /--help/) { usage(); exit; } &lt;br /&gt;
&lt;br /&gt;
 open (MYFILE, &#039;&amp;gt;cisco-config.txt&#039;);&lt;br /&gt;
 print MYFILE &amp;quot;!\ninterface $loop\nip address $loopip 255.255.255.255\n!\n&amp;quot;;&lt;br /&gt;
 close (MYFILE);&lt;br /&gt;
 open(ENCAP, $file);&lt;br /&gt;
 @line = &amp;lt;ENCAP&amp;gt;;&lt;br /&gt;
 close (ENCAP);&lt;br /&gt;
 @line = grep (!/^\s*$/,@line);&lt;br /&gt;
 @line = grep (!/^#/,@line);&lt;br /&gt;
 chomp(@line);&lt;br /&gt;
&lt;br /&gt;
 foreach $line(@line)&lt;br /&gt;
 {&lt;br /&gt;
        $n1 = $n2 = $n3 = $n4 = undef;&lt;br /&gt;
        @ln = (split(/ +/, $line));&lt;br /&gt;
        ($n, $s) = (split(/\//, $ln[2]));&lt;br /&gt;
        ($n1, $n2, $n3, $n4) = split(/\./, $n);&lt;br /&gt;
        $gw = $ln[4];&lt;br /&gt;
        $gw =~ s/\s*$//;&lt;br /&gt;
 &lt;br /&gt;
        if      ($n1 == &#039;&#039;)  {  $n1=&#039;0&#039;};&lt;br /&gt;
        if      ($n2 == &#039;&#039;)  {  $n2=&#039;0&#039;};&lt;br /&gt;
        if      ($n3 == &#039;&#039;)  {  $n3=&#039;0&#039;};&lt;br /&gt;
        if      ($n4 == &#039;&#039;)  {  $n4=&#039;0&#039;};&lt;br /&gt;
&lt;br /&gt;
        if ($s == &#039;1&#039;)  { $mask=&#039;128.0.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;2&#039;)  { $mask=&#039;192.0.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;3&#039;)  { $mask=&#039;224.0.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;4&#039;)  { $mask=&#039;240.0.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;5&#039;)  { $mask=&#039;248.0.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;6&#039;)  { $mask=&#039;252.0.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;7&#039;)  { $mask=&#039;254.0.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;8&#039;)  { $mask=&#039;255.0.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;9&#039;)  { $mask=&#039;255.128.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;10&#039;) { $mask=&#039;255.192.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;11&#039;) { $mask=&#039;255.224.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;12&#039;) { $mask=&#039;255.240.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;13&#039;) { $mask=&#039;255.248.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;14&#039;) { $mask=&#039;255.252.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;15&#039;) { $mask=&#039;255.254.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;16&#039;) { $mask=&#039;255.255.0.0&#039;};&lt;br /&gt;
        if ($s == &#039;17&#039;) { $mask=&#039;255.255.128.0&#039;};&lt;br /&gt;
        if ($s == &#039;18&#039;) { $mask=&#039;255.255.192.0&#039;};&lt;br /&gt;
        if ($s == &#039;19&#039;) { $mask=&#039;255.255.224.0&#039;};&lt;br /&gt;
        if ($s == &#039;20&#039;) { $mask=&#039;255.255.240.0&#039;};&lt;br /&gt;
        if ($s == &#039;21&#039;) { $mask=&#039;255.255.248.0&#039;};&lt;br /&gt;
        if ($s == &#039;22&#039;) { $mask=&#039;255.255.252.0&#039;};&lt;br /&gt;
        if ($s == &#039;23&#039;) { $mask=&#039;255.255.254.0&#039;};&lt;br /&gt;
        if ($s == &#039;24&#039;) { $mask=&#039;255.255.255.0&#039;};&lt;br /&gt;
        if ($s == &#039;25&#039;) { $mask=&#039;255.255.255.128&#039;};&lt;br /&gt;
        if ($s == &#039;26&#039;) { $mask=&#039;255.255.255.192&#039;};&lt;br /&gt;
        if ($s == &#039;27&#039;) { $mask=&#039;255.255.255.224&#039;};&lt;br /&gt;
        if ($s == &#039;28&#039;) { $mask=&#039;255.255.255.240&#039;};&lt;br /&gt;
        if ($s == &#039;29&#039;) { $mask=&#039;255.255.255.248&#039;};&lt;br /&gt;
        if ($s == &#039;30&#039;) { $mask=&#039;255.255.255.252&#039;};&lt;br /&gt;
        if ($s == &#039;31&#039;) { $mask=&#039;255.255.255.254&#039;};&lt;br /&gt;
        if ($s == &#039;32&#039;) { $mask=&#039;255.255.255.255&#039;};&lt;br /&gt;
        if ($s == &#039;&#039;)   { $mask=&#039;255.255.255.255&#039;};&lt;br /&gt;
&lt;br /&gt;
  $net = &amp;quot;$n1.$n2.$n3.$n4&amp;quot;;&lt;br /&gt;
  $ifid = cipdec(1, $net);&lt;br /&gt;
  $wmask = do_subtract($mask);&lt;br /&gt;
  print &amp;quot;*ip info*\n&amp;quot;;&lt;br /&gt;
  print &amp;quot;NET:$n\nBITS:$s MASK:$mask-$wmask\nGW:$gw\nIF:$ifid\n\n&amp;quot;;&lt;br /&gt;
  open (MYFILE, &#039;&amp;gt;&amp;gt;cisco-config.txt&#039;);&lt;br /&gt;
&lt;br /&gt;
 if ($debug != NULL) {&lt;br /&gt;
  print &amp;quot;LINE:$line&amp;quot;;&lt;br /&gt;
  print &amp;quot;\n!\n&amp;quot;;&lt;br /&gt;
  print &amp;quot;interface tunnel $ifid\n&amp;quot;;&lt;br /&gt;
  print &amp;quot;description Link to $net\n&amp;quot;;&lt;br /&gt;
  print &amp;quot;ip unnumbered $loop\n&amp;quot;;&lt;br /&gt;
  print &amp;quot;tunnel source $outip\n&amp;quot;;&lt;br /&gt;
  print &amp;quot;tunnel destination $gw\n&amp;quot;;&lt;br /&gt;
  print &amp;quot;tunnel mode ipip\n!\n&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 if ($gw != $outip) {&lt;br /&gt;
&lt;br /&gt;
  print MYFILE &amp;quot;!\n&amp;quot;;&lt;br /&gt;
  print MYFILE &amp;quot;interface tunnel $ifid\n&amp;quot;;&lt;br /&gt;
  print MYFILE &amp;quot;description Link to $net\n&amp;quot;;&lt;br /&gt;
  print MYFILE &amp;quot;ip unnumbered $loop\n&amp;quot;;&lt;br /&gt;
  print MYFILE &amp;quot;tunnel source $outip\n&amp;quot;;&lt;br /&gt;
  print MYFILE &amp;quot;tunnel destination $gw\n&amp;quot;;&lt;br /&gt;
  print MYFILE &amp;quot;ip tcp adjust-mss 1436\n&amp;quot;;&lt;br /&gt;
  print MYFILE &amp;quot;ip access-group acl_44 in\n!\n&amp;quot;;&lt;br /&gt;
  print MYFILE &amp;quot;tunnel mode ipip\n!\n&amp;quot;;&lt;br /&gt;
  print MYFILE &amp;quot;ip route $net $mask tunnel$ifid\n!\n&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
  print MYFILE &amp;quot;ip route  $gw 255.255.255.255 Eth0 10.0.0.138\n&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
 print MYFILE &amp;quot;!\nend\n!\n&amp;quot;;&lt;br /&gt;
 close (MYFILE);&lt;br /&gt;
&lt;br /&gt;
 sub usage&lt;br /&gt;
  {&lt;br /&gt;
  print &amp;lt;&amp;lt; &amp;quot;EOT&amp;quot;;&lt;br /&gt;
 *** This script is for creating a loadable config (copy tftp run) for cisco routers ***&lt;br /&gt;
 *** Please note that this was tested to work on 2651XM or better, expect poor resp- ***&lt;br /&gt;
 *** -onse on smaller/slower platforms.                                              ***&lt;br /&gt;
 *** Edit this file and change varibles as noted to your values.                     ***&lt;br /&gt;
 *** File \&amp;quot;cisco-config.txt\&amp;quot; will be generated in this directory for tftp upload     ***&lt;br /&gt;
 *** Run as follows:                                                                 ***&lt;br /&gt;
 *** perl encapconvert.pl encap.txt                                                  ***&lt;br /&gt;
 EOT&lt;br /&gt;
  }&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 ########################################################&lt;br /&gt;
 # Sub cipdec&lt;br /&gt;
 # USAGE: For converting IP to DEC values and reverse&lt;br /&gt;
 #&lt;br /&gt;
 # my ($err, $ret) = cipdec(1, $ip);  #1 =from ip to dec, 2 = from dec to ip &lt;br /&gt;
 # if($err != 0) { print &amp;quot;MAIN: ERR ON \&amp;quot;$ret\&amp;quot;\n&amp;quot;; next; }  &lt;br /&gt;
 #&lt;br /&gt;
 sub cipdec&lt;br /&gt;
   {&lt;br /&gt;
  my $debug = 0;&lt;br /&gt;
  my (@oct, $opt, $var, $err, $ret, $errmsg);&lt;br /&gt;
  my ($oct1, $oct2, $oct3, $oct4);&lt;br /&gt;
  my ($dec1, $dec2, $dec3);&lt;br /&gt;
  $opt = shift(@_); #1 =from ip to dec, 2 = from dec to ip&lt;br /&gt;
  $var = shift(@_); # IP or a DEC &lt;br /&gt;
  $err = 0;&lt;br /&gt;
  $ret = 0;&lt;br /&gt;
  if($debug == 1) &lt;br /&gt;
    { &lt;br /&gt;
    print &amp;quot;SUB TEST: OPT=\&amp;quot;$opt\&amp;quot;\n&amp;quot;;&lt;br /&gt;
    print &amp;quot;SUB TEST: VAR=\&amp;quot;$var\&amp;quot;\n&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
  if($opt == 1) #1 =from ip to dec&lt;br /&gt;
    {&lt;br /&gt;
    my $ip = $var;&lt;br /&gt;
&lt;br /&gt;
    if(!($ip) || ($ip eq &amp;quot;&amp;quot;) || !($ip =~ /\./))&lt;br /&gt;
      {&lt;br /&gt;
      if($debug == 1) { print &amp;quot;NO . in IP.. Next\n&amp;quot;; }&lt;br /&gt;
      $err = 1;&lt;br /&gt;
      $ret = &amp;quot;ERR: IP WITH NO \&amp;quot;.\&amp;quot;&amp;quot;;&lt;br /&gt;
      return($err, $ret);&lt;br /&gt;
      }&lt;br /&gt;
    @oct = split(/\./, $ip);&lt;br /&gt;
    my $numoct = @oct;&lt;br /&gt;
    if($numoct != 4)&lt;br /&gt;
      {&lt;br /&gt;
      if($debug == 1) { print &amp;quot;--INVALID IP: \&amp;quot;$ip\&amp;quot;\n&amp;quot;; }&lt;br /&gt;
      $err = 1;&lt;br /&gt;
      $ret = &amp;quot;ERR: OCT CT \&amp;quot;$ip\&amp;quot;&amp;quot;;&lt;br /&gt;
      return($err, $ret);&lt;br /&gt;
      }&lt;br /&gt;
    foreach my $val (@oct)&lt;br /&gt;
      {&lt;br /&gt;
      if(!(defined $val) || ($val eq &amp;quot;&amp;quot;) || ($val =~ /\D/) || ($val &amp;gt; 255) || ($val &amp;lt; 0))&lt;br /&gt;
        { &lt;br /&gt;
        if($debug == 1) { print &amp;quot;--INVALID IP: \&amp;quot;$ip\&amp;quot;\n&amp;quot;; }&lt;br /&gt;
        $err = 1;&lt;br /&gt;
        $ret = &amp;quot;ERR: OCT SIZE \&amp;quot;$ip:$val\&amp;quot;&amp;quot;;&lt;br /&gt;
        return($err, $ret);&lt;br /&gt;
        } # EO IF oct container&lt;br /&gt;
      } #EO FOREACH OCT&lt;br /&gt;
    $ret += ($oct[0] * (256**3)); #Convert 1st octet to decimal and add&lt;br /&gt;
    $ret += ($oct[1] * (256**2)); #Convert 2nd octet to decimal and add&lt;br /&gt;
    $ret += $oct[2] * 256; #Convert 3rd octet to decimal and add&lt;br /&gt;
    $ret += $oct[3]; #Add the 4th octet to decimal&lt;br /&gt;
    if(($ret &amp;lt; 0) || ($ret &amp;gt; 4294967296)) #0.0.0.0 or 255.255.255.255 = Err&lt;br /&gt;
      {&lt;br /&gt;
      if($debug == 1) { print &amp;quot;--INVALID IP: \&amp;quot;$ip\&amp;quot;\n&amp;quot;; }&lt;br /&gt;
      $err = 1;&lt;br /&gt;
      $ret = &amp;quot;ERR: DEC SIZE \&amp;quot;$ip\&amp;quot;&amp;quot;;&lt;br /&gt;
      return($err, $ret);&lt;br /&gt;
      } #EO DEC Size&lt;br /&gt;
    &lt;br /&gt;
    return($err, $ret);&lt;br /&gt;
    } #EO OPT == 1&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  if($opt == 2) #1 = dec to ip&lt;br /&gt;
    {&lt;br /&gt;
    $oct1 = 0; $oct2 = 0; $oct3 = 0; $oct4 = 0;&lt;br /&gt;
    my $dec = $var;&lt;br /&gt;
    if($debug == 1) { print &amp;quot;SUB TEST: DEC=\&amp;quot;$dec\&amp;quot;\n&amp;quot;; }&lt;br /&gt;
    &lt;br /&gt;
    if(!(defined $dec) || ($dec eq &amp;quot;&amp;quot;) || ($dec &amp;lt; 1) || ($dec &amp;gt; 4294967295)) #0.0.0.0 or 255.255.255.255 = Err&lt;br /&gt;
      {&lt;br /&gt;
      if($debug == 1) { print &amp;quot;--INVALID DEC: \&amp;quot;$dec\&amp;quot;\n&amp;quot;; }&lt;br /&gt;
      $err = 1;&lt;br /&gt;
      $ret = &amp;quot;ERR: DEC SIZE \&amp;quot;$dec\&amp;quot;&amp;quot;;&lt;br /&gt;
      return($err, $ret);&lt;br /&gt;
      } #EO DEC Size   &lt;br /&gt;
   &lt;br /&gt;
    if($dec &amp;gt;= 256**3)&lt;br /&gt;
      {&lt;br /&gt;
      $oct1 = ($dec / 256**3);&lt;br /&gt;
      my @num = split(/\./, $oct1);&lt;br /&gt;
      $oct1 = $num[0];&lt;br /&gt;
      if($debug == 1) { print &amp;quot;OCT1: \&amp;quot;$oct1\&amp;quot;\n&amp;quot;; }&lt;br /&gt;
      $dec1 = ($oct1 * 256**3);&lt;br /&gt;
      $dec = $dec - $dec1;&lt;br /&gt;
      }&lt;br /&gt;
    if($dec &amp;gt;= 256**2)&lt;br /&gt;
      {&lt;br /&gt;
      $oct2 = ($dec / 256**2);&lt;br /&gt;
      my @num = split(/\./, $oct2);&lt;br /&gt;
      $oct2 = $num[0];&lt;br /&gt;
      if($debug == 1) { print &amp;quot;OCT2: \&amp;quot;$oct2\&amp;quot;\n&amp;quot;; }&lt;br /&gt;
      $dec2 = ($oct2 * 256**2);&lt;br /&gt;
      $dec = $dec - $dec2;&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
    if($dec &amp;gt;= 256)&lt;br /&gt;
      {&lt;br /&gt;
      $oct3 = ($dec / 256);&lt;br /&gt;
      my @num = split(/\./, $oct3);&lt;br /&gt;
      $oct3 = $num[0];&lt;br /&gt;
      if($debug == 1) { print &amp;quot;OCT3: \&amp;quot;$oct3\&amp;quot;\n&amp;quot;; }&lt;br /&gt;
      $dec3 = $oct3 * 256;&lt;br /&gt;
      $dec = $dec - $dec3;&lt;br /&gt;
      }&lt;br /&gt;
  &lt;br /&gt;
    $oct4 = $dec;  &lt;br /&gt;
    if($debug == 1) { print &amp;quot;OCT4: \&amp;quot;$oct4\&amp;quot;\n&amp;quot;; }&lt;br /&gt;
    $ret = &amp;quot;$oct1.$oct2.$oct3.$oct4&amp;quot;;&lt;br /&gt;
    return($err, $ret);&lt;br /&gt;
    } #EO If $opt == 2  &lt;br /&gt;
  &lt;br /&gt;
  $err = 1;&lt;br /&gt;
  $ret = &amp;quot;I&#039;m lost and sent to leftovers&amp;quot;;  &lt;br /&gt;
  return($err, $ret);&lt;br /&gt;
  }&lt;br /&gt;
 ################### EO SUB CIPDEC#################################&lt;br /&gt;
&lt;br /&gt;
 ### wildcard sub ###&lt;br /&gt;
 sub do_subtract(  ) {&lt;br /&gt;
  local($ip) = @_;&lt;br /&gt;
&lt;br /&gt;
  # break up the bytes of the incoming IP address&lt;br /&gt;
  $_ = $ip;&lt;br /&gt;
  ($a, $b, $c, $d) = split(/\./);&lt;br /&gt;
&lt;br /&gt;
  if ($a &amp;gt; 255 || $b &amp;gt; 255 || $c &amp;gt; 255 || $d &amp;gt; 255 || /[^0-9.]/) {&lt;br /&gt;
     print &amp;quot;invalid input mask or wildcard\n&amp;quot;;&lt;br /&gt;
     exit(  );&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  $a = 255 - $a;&lt;br /&gt;
  $b = 255 - $b;&lt;br /&gt;
  $c = 255 - $c;&lt;br /&gt;
  $d = 255 - $d;&lt;br /&gt;
&lt;br /&gt;
  return ($a . &amp;quot;.&amp;quot; . $b . &amp;quot;.&amp;quot; . $c . &amp;quot;.&amp;quot; . $d);&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 ### EO wildcard sub ### &amp;lt;/CODE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before you run the script make sure to take out the line of your gateway  from the encap file &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The result of the script is set of  commands  that look like that &lt;br /&gt;
&lt;br /&gt;
 interface tunnel 748306432&lt;br /&gt;
 description Link to 44.154.64.0&lt;br /&gt;
 ip unnumbered Ethernet0&lt;br /&gt;
 tunnel source 10.0.0.180&lt;br /&gt;
 tunnel destination 79.107.164.191&lt;br /&gt;
 ip tcp adjust-mss 1436&lt;br /&gt;
 ip access-group acl_44 in&lt;br /&gt;
 !&lt;br /&gt;
 tunnel mode ipip&lt;br /&gt;
 !&lt;br /&gt;
 ip route 44.154.64.0 255.255.255.0 tunnel748306432&lt;br /&gt;
 !&lt;br /&gt;
 ip route  79.107.164.191 255.255.255.255 Ethernet0 10.0.0.138&lt;br /&gt;
 !&lt;br /&gt;
&lt;br /&gt;
This section return on itself (with different IP , destination and route  IPs&#039;s ) as the amount of lines in the encap file&lt;br /&gt;
&lt;br /&gt;
When the file  is ready  (after running the perl script)  you can  copy it with editor and send it to the cisco or by terminal  (with the config t  command) or by  TFTP &lt;br /&gt;
&lt;br /&gt;
The Encap file can be taken automatically from the Portal using the API&lt;br /&gt;
and  you can  push  the  commands to the cisco (after the encap   convert to cisco commands after running perl) with  TFTP&lt;br /&gt;
&lt;br /&gt;
So with a small software work   the whole  procedure can be done fully automatic&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Setting_up_a_gateway_on_MacOS&amp;diff=859</id>
		<title>Setting up a gateway on MacOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Setting_up_a_gateway_on_MacOS&amp;diff=859"/>
		<updated>2019-07-25T11:33:51Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note to editor: when this is complete and tested, link to home page.&lt;br /&gt;
&lt;br /&gt;
These are instructions for setting up a MacOS system as a gateway, using the [[Setting up a gateway on Linux]] as a starting point.&lt;br /&gt;
&lt;br /&gt;
Before configuring the MacOS gateway you&#039;ll need to:&lt;br /&gt;
&lt;br /&gt;
* Using the Portal, obtain your AMPRnet IP addresses from a regional coordinator.&lt;br /&gt;
* Obtain a public static IP address for your gateway.&lt;br /&gt;
* Using the Portal, create an entry for your gateway.&lt;br /&gt;
* Get some of your AMPRNet IP addresses registered in the ampr.org DNS.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Setting_up_a_gateway_on_Linux&amp;diff=858</id>
		<title>Setting up a gateway on Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Setting_up_a_gateway_on_Linux&amp;diff=858"/>
		<updated>2019-07-25T11:32:18Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are a few different ways to run an AMPRnet gateway on a Linux system. Each has some benefits, so you&#039;ll need to pick your favourite.&lt;br /&gt;
&lt;br /&gt;
Before configuring the Linux gateway you&#039;ll need to:&lt;br /&gt;
# Using the [[Portal]], obtain your AMPRnet IP addresses from a regional coordinator.&lt;br /&gt;
# Obtain a public static IP address for your gateway. &lt;br /&gt;
# Using the [[Portal]], create an entry for your gateway.&lt;br /&gt;
# Get some of your AMPRNet IP addresses registered in the [[ampr.org]] DNS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Flavours of Linux gateways =&lt;br /&gt;
&lt;br /&gt;
== Native Linux kernel AX.25 and IPIP tunneling ==&lt;br /&gt;
&lt;br /&gt;
Linux contains the necessary building blocks for a gateway without much added software. Radio interfaces are configured much like any other network interfaces such as Ethernet, they&#039;re just given amateur radio callsigns in addition to an IP address (callsign will act the role of the Ethernet MAC address). If you&#039;re familiar with Linux configuration but have not heard of NOS, or if you wish to go with minimal amount of moving parts, this would probably be your choice.&lt;br /&gt;
&lt;br /&gt;
Setting up a native Linux gateway consists of two main steps:&lt;br /&gt;
&lt;br /&gt;
=== Step 1: Setting up tunnel routing to the rest of the AMPRnet===&lt;br /&gt;
Configuring your Linux system to learn about other AMPRNet [[gateway| gateways]] can be done two ways:&lt;br /&gt;
&lt;br /&gt;
# Automatically learn about other gateways via modified RIPv2 advertisements. Two popular programs to do this are:&lt;br /&gt;
## Using [[ampr-ripd]], a C based routing daemon&lt;br /&gt;
## Using [[rip44d]], a PERL based routing daemon&lt;br /&gt;
# Manually Downloading the [[encap.txt]] file using FTP and setting up routes using a [[munge script]] is the traditional method&lt;br /&gt;
&lt;br /&gt;
====Example Gateway Configuration Instructions====&lt;br /&gt;
* [[Ubuntu Linux Gateway Example]]&lt;br /&gt;
* [http://www.qsl.net/k/kb9mwr//wapr/tcpip/ampr-ripd.html Two Interface Debian Linux Amprnet Gateway Example]&lt;br /&gt;
* [[URONode|N1URO&#039;s information on setting up a gateway on Linux]]&lt;br /&gt;
&lt;br /&gt;
=== Step 2: Setting up radio interfaces in Linux===&lt;br /&gt;
&lt;br /&gt;
* [http://www.tldp.org/HOWTO/AX25-HOWTO/ Linux AX.25 set-up]&lt;br /&gt;
* 802.11 WiFi on amateur frequencies (2.4 or 5 GHz) is a new popular way to set up fast links.&lt;br /&gt;
&lt;br /&gt;
== Running JNOS (or other NOS) on top of Linux ==&lt;br /&gt;
&lt;br /&gt;
If you&#039;re already familiar with running NOS on top of DOS or Linux, or wish to keep the AMPRnet IP packet routing away from the host Linux system, it might make sense to run JNOS as an application on top of Linux.&lt;br /&gt;
&lt;br /&gt;
The downside is that it&#039;ll have a slightly higher overhead (consumed memory and CPU), and you&#039;ll have two IP routers running on top of each other instead of just one, which is seen as slightly complicated by some.&lt;br /&gt;
&lt;br /&gt;
The upside is that you&#039;ll also get the JNOS BBS-type features, and some other traditional services without installing additional software on top.&lt;br /&gt;
&lt;br /&gt;
John Martin KF8KK has written a [http://kf8kk.com/packet/jnos-linux/linux-jnos-setup-1.htm Linux - Jnos Setup and Configuration HOW-TO].&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Ubuntu Linux Gateway Example]]&lt;br /&gt;
* [[startampr]]&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Portal&amp;diff=857</id>
		<title>Portal</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Portal&amp;diff=857"/>
		<updated>2019-07-25T11:30:41Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We have developed a Portal that allows users of the AMPRNet address space to manage their allocations, configure gateway information and manage their entries in the ampr.org domain. The portal can be found here:&lt;br /&gt;
&lt;br /&gt;
[https://portal.ampr.org https://portal.ampr.org]&lt;br /&gt;
&lt;br /&gt;
If you are looking to get an IP allocation within AMPRNet please register on the portal and place your request.&lt;br /&gt;
&lt;br /&gt;
==Background==&lt;br /&gt;
The main problem we faced with the old setup was how to ensure the data we have is accurate and up to date.&lt;br /&gt;
&lt;br /&gt;
The new portal is our answer to that problem: folks register and are allocated an IP or subnet of IP&#039;s that they are responsible for. The system doesn&#039;t then just let them get on with it - the system is designed to actively ensure that each allocation is still being used, the person must login to the portal on a regular basis, or if they do not, an email will be sent automatically to them asking them to confirm their continued use of the IP(s). If no response is received from the emailed request, two further attempts are made to contact the person, after which the system places their allocation in a de-activated state. The person is able to login and re-activate the allocation for a certain time after de-activation, beyond that time period the allocation will be deleted from the database - thus keeping it all as up to date as is possible.&lt;br /&gt;
&lt;br /&gt;
Some manual intervention is encouraged, for example the second, and all subsequent reminder emails and de-activation emails are cc&#039;d to the co-ordinator responsible for the next higher subnet, so they could attempt a more manual approach to remind the person to login - this is to be encouraged as sometimes emails (especially automated ones) can be blocked in spam folders, people change their email address and forget to update the portal, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== API ==&lt;br /&gt;
The Portal has an associated [[API]]&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Archive/Main_Page&amp;diff=856</id>
		<title>Archive/Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Archive/Main_Page&amp;diff=856"/>
		<updated>2019-07-25T11:28:52Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the AMPRNet Wiki.&lt;br /&gt;
&lt;br /&gt;
Since its allocation to Amateur Radio in the mid-1980&#039;s, Internet network 44 (44.0.0.0/9, 44.128.0.0/10), known as the AMPRNet™, has been used by amateur radio operators to conduct scientific research and to experiment with digital communications over radio with a goal of advancing the state of the art of Amateur Radio networking, and to educate amateur radio operators in these techniques. - [http://www.ampr.org/ www.ampr.org]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
== Starting points ==&lt;br /&gt;
* [[Quickstart]] guide for getting onto the [[AMPRNet]]&lt;br /&gt;
* Basic information about the [[AMPRNet]] and the [[ampr.org]] domain&lt;br /&gt;
* [[Services]] available on AMPRNet&lt;br /&gt;
* If you are looking to get an IP allocation within the AMPRNet please read the [[Portal]] page.&lt;br /&gt;
* Frequently Asked Questions (FAQ) [[FAQ]]&lt;br /&gt;
&lt;br /&gt;
== How to connect to AMPRNet ==&lt;br /&gt;
&lt;br /&gt;
* Instructions for [[Setting up a gateway on Linux|setting up a Linux gateway]]&lt;br /&gt;
* Instructions for [[Setting up a gateway on OpenBSD|setting up an OpenBSD gateway]]&lt;br /&gt;
* Instructions for [[setting up a gateway on Cisco Routers|setting up a  gateway on Cisco Routers]].&lt;br /&gt;
* Instructions for [[setting up a gateway on MikroTik Routers|setting up a  gateway on MikroTik Routers]].&lt;br /&gt;
* Instructions for [[setting up a gateway on OpenWRT|setting up a gateway on OpenWRT]].&lt;br /&gt;
* Instructions for [[setting up a gateway on Ubiquiti EdgeRouter|setting up a gateway on Ubiquiti EdgeRouter]].&lt;br /&gt;
* Instructions for [[setting up a gateway on a VyOS instance|setting up a gateway on a VyOS instance]].&lt;br /&gt;
* Instructions for [[Installing ampr-ripd on a Ubiquiti EdgeRouter or EdgeRouter X|Installing ampr-ripd on a Ubiquiti EdgeRouter or EdgeRouter X]].&lt;br /&gt;
* Instructions for [[announcing your allocation directly|directly announcing your allocation via your Internet Service Provider (ISP)]].&lt;br /&gt;
* Instructions for [[AMPRNet VPN|Accessing AMPRNet via VPN]] (experimental).&lt;br /&gt;
* &amp;lt;b&amp;gt;[[Why can&#039;t I just route my AMPRNet allocation directly myself ?]]&amp;lt;/b&amp;gt;&lt;br /&gt;
* If you already operate a [[gateway]] please ensure you have registered on the [[portal]] and &amp;quot;claimed&amp;quot; your [[gateway]].&lt;br /&gt;
* After your gateway is operational, consider &#039;&#039;&#039;[[Firewalls]]&#039;&#039;&#039; and other best practices&lt;br /&gt;
&lt;br /&gt;
== Mailing List ==&lt;br /&gt;
To keep up-to-date on AMPRNet information please consider joining the [[44Net mailing list]].&lt;br /&gt;
&lt;br /&gt;
== Contribute! ==&lt;br /&gt;
If you wish to contribute to the wiki, please send an email to &amp;lt;tt&amp;gt;wiki (at) ampr.org&amp;lt;/tt&amp;gt; introducing yourself. Please specify your full name, amateur radio callsign and your preferred username. A login will then be created for you.&lt;br /&gt;
&lt;br /&gt;
== Terms of Service ==&lt;br /&gt;
Use of AMPRNet address space is governed by these [http://www.ampr.org/terms-of-service/ Terms of Service]&lt;br /&gt;
&lt;br /&gt;
== Other useful features ==&lt;br /&gt;
* Instruction on using the [[ampr-map]] position reporting&lt;br /&gt;
&lt;br /&gt;
== All Pages ==&lt;br /&gt;
[http://wiki.ampr.org/wiki/Special:AllPages Here&#039;s a list of all pages currently on the AMPRNet Wiki]&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Amprgw&amp;diff=716</id>
		<title>Amprgw</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Amprgw&amp;diff=716"/>
		<updated>2017-05-27T04:55:24Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: AMPRGW is amprgw.ucsd.edu, at IP address 169.228.34.84&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;AMPRGW is amprgw.ucsd.edu, at IP address 169.228.34.84.  It is the Internet-to-AMPRNet router.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Announcing_your_allocation_directly&amp;diff=692</id>
		<title>Announcing your allocation directly</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Announcing_your_allocation_directly&amp;diff=692"/>
		<updated>2017-05-15T12:00:18Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; Direct announcements of AMPRNet address allocations are usually reserved for larger regional or country wide networks. Please consult with your regional allocation coordinator and the AMPRNet network administrator to determine whether directly announcing your AMPRNet allocation is appropriate.&lt;br /&gt;
&lt;br /&gt;
To announce your allocation directly via your Internet Service Provider (ISP) you will need to:&lt;br /&gt;
&lt;br /&gt;
# Contact your ISP and ask them if they are willing to announce your AMPRNet allocation in accordance with the terms of the [http://www.ampr.org/terms-of-service/ AMPRNet Terms of Service and Acceptable Use].  Many ISPs won&#039;t do this, and others charge a significant amount for the service.&lt;br /&gt;
# Apply for your AMPRNet allocation via the [[Portal]].  Check the &amp;lt;b&amp;gt;Direct&amp;lt;/b&amp;gt; box to indicate that your connection will be using a direct announcement of the subnet (via the BGP protocol).&lt;br /&gt;
# Upon verification and approval, the AMPRNet administrator will provide authorization to your ISP allowing them to announce your allocation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; How your ISP chooses to forward traffic for your AMPRNet allocation varies by ISP. You will have to work with them to set this up.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; Upon approval, [[ARDC]] issues a no-cost lease for five years (renewable) for the subnet.  This includes a letter of authority that should be provided to your ISP. ARDC does &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; [[SWIP]] subnet allocations.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Archive/Main_Page&amp;diff=681</id>
		<title>Archive/Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Archive/Main_Page&amp;diff=681"/>
		<updated>2017-03-31T17:20:06Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the AMPRNet Wiki.&lt;br /&gt;
&lt;br /&gt;
Since its allocation to Amateur Radio in the mid-1980&#039;s, Internet network 44 (44.0.0.0/8), known as the AMPRNet™, has been used by amateur radio operators to conduct scientific research and to experiment with digital communications over radio with a goal of advancing the state of the art of Amateur Radio networking, and to educate amateur radio operators in these techniques. - [http://www.ampr.org/ www.ampr.org]&lt;br /&gt;
__NOTOC__&lt;br /&gt;
== Starting points ==&lt;br /&gt;
* [[Quickstart]] guide for getting onto the [[AMPRNet]]&lt;br /&gt;
* Basic information about the [[AMPRNet]] and the [[ampr.org]] domain&lt;br /&gt;
* [[Services]] available on AMPRNet&lt;br /&gt;
* If you are looking to get an IP allocation within the 44/8 AMPRNet please read the [[Portal]] page.&lt;br /&gt;
* Frequently Asked Questions (FAQ) [[FAQ]]&lt;br /&gt;
&lt;br /&gt;
== How to connect to AMPRNet ==&lt;br /&gt;
&lt;br /&gt;
* Instructions for [[Setting up a gateway on Linux|setting up a Linux gateway]]&lt;br /&gt;
* Instructions for [[Setting up a gateway on OpenBSD|setting up an OpenBSD gateway]]&lt;br /&gt;
* Instructions for [[setting up a gateway on Cisco Routers|setting up a  gateway on Cisco Routers]].&lt;br /&gt;
* Instructions for [[setting up a gateway on MikroTik Routers|setting up a  gateway on MikroTik Routers]].&lt;br /&gt;
* Instructions for [[setting up a gateway on OpenWRT|setting up a gateway on OpenWRT]].&lt;br /&gt;
* Instructions for [[setting up a gateway on Ubiquiti EdgeRouter|setting up a gateway on Ubiquiti EdgeRouter]].&lt;br /&gt;
* Instructions for [[announcing your allocation directly|directly announcing your allocation via your Internet Service Provider (ISP)]].&lt;br /&gt;
* Instructions for [[AMPRNet VPN|Accessing AMPRNet via VPN]] (experimental).&lt;br /&gt;
* &amp;lt;b&amp;gt;[[Why can&#039;t I just route my AMPRNet allocation directly myself ?]]&amp;lt;/b&amp;gt;&lt;br /&gt;
* If you already operate a [[gateway]] please ensure you have registered on the [[portal]] and &amp;quot;claimed&amp;quot; your [[gateway]].&lt;br /&gt;
&lt;br /&gt;
== Mailing List ==&lt;br /&gt;
To keep up-to-date on AMPRNet information please consider joining the [[44Net mailing list]].&lt;br /&gt;
&lt;br /&gt;
== Contribute! ==&lt;br /&gt;
If you wish to contribute to the wiki, please send an email to &amp;lt;tt&amp;gt;wiki (at) ampr.org&amp;lt;/tt&amp;gt; introducing yourself. Please specify your full name, amateur radio callsign and your preferred username. A login will then be created for you.&lt;br /&gt;
&lt;br /&gt;
== Terms of Service ==&lt;br /&gt;
Use of 44.0.0.0/8 address space is governed by these [http://www.ampr.org/terms-of-service/ Terms of Service]&lt;br /&gt;
&lt;br /&gt;
== All Pages ==&lt;br /&gt;
[http://wiki.ampr.org/wiki/Special:AllPages Here&#039;s a list of all pages currently on the AMPRNet Wiki]&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=FAQ&amp;diff=676</id>
		<title>FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=FAQ&amp;diff=676"/>
		<updated>2016-11-06T14:24:47Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Frequently Asked Questions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is AMPRNET?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
AMPRNET stands for Amateur Radio Packet Radio Network. It is a collection of amateur radio-oriented computers, connected together via a variety of technologies, including radio, Internet, and ethernet. However, all of these computers have an IP address that begins with 44 (that is, IP addresses of the form 44.x.x.x). For this reason, AMPRnet can also be referred to as 44-net. &lt;br /&gt;
Some further details can be found at https://en.wikipedia.org/wiki/AMPRNet and http://wiki.ampr.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is AMPRNET for?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The purpose of AMPRNET is to permit experimentation by amateurs in digital networking, and to provide computer services to other amateurs using AMPRNET.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What does it cost to use AMPRNET?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
There is no cost for using any AMPRNET facilities, however there may be costs associated with Internet access to reach AMPRNET and/or amateur radio equipment costs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How do I connect to AMPRNET?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
There are four main methods people use:&lt;br /&gt;
&lt;br /&gt;
a) IP Tunneling&lt;br /&gt;
&lt;br /&gt;
b) VPN&lt;br /&gt;
&lt;br /&gt;
c) BGP routing&lt;br /&gt;
&lt;br /&gt;
d) Direct radio links.&lt;br /&gt;
&lt;br /&gt;
Note: Functionally, a VPN and a tunnel do much the same thing, except a VPN is designed for privacy (i.e. strong authentication and encryption), while a tunnel is for the transfer of packets, not necessarily encrypted. However, in the AMPRNET world, they tend to get used quite separately and so are discussed separately in this FAQ.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is IP Tunneling?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The information that traverses the Internet does so as &amp;quot;packets&amp;quot; of data, traveling over a variety of routes, between a source and a destination. Each packet contains a header, which tells all the devices along the route information such as the source and destination, plus the payload, which is the data to actually be transferred. Clearly, there must be a path all the way from the sources to the destination, and back. &lt;br /&gt;
AMPRNET consists of small, non-connected groups of computers, that would otherwise not be able to connect to one another. However, since internet devices along the route really don&#039;t care about the contents of the payload section, you can put a complete new packet into that section, including an entirely different header, and it&#039;s own payload section. That second header has source and destination addresses completely different to the first header - all that is required is that the first destination recognises the encapsulated packet, de-encapsulates it, and forwards it the the second header destination. Return traffic follows a corresponding process. In that way, 44-net hosts can communicate with other 44-net hosts, by means of encapsulating their data packets in packets to non-44net hosts. This is called tunneling (or encapsulating). A later section in this FAQ discusses installing a tunnel. This diagram http://ericleahy.com/wp-content/uploads/2011/08/IP-Tunnel-Encp-300x256.jpg shows tunnelling another way.&lt;br /&gt;
Tunneling is probably the most commonly used method of accessing AMPRNET.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is a VPN?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
VPN stands for Virtual Private Network. It is a facility that enables a computer to act (using the Internet) as though is is physically connected to another computer network. There are many different ways to set up a VPN, so this is beyond the scope of this FAQ. However it always involves configuring software and accounts on a computer, to connect to the VPN server. Some amateurs who have connections to AMPRNET have set up VPN servers, so that other amateurs can achieve a &amp;quot;virtual&amp;quot; connection to AMPRNET. The technical details, account details and IP address details must be obtained from the operator of that VPN. One such VPN is listed at http://wiki.ampr.org/wiki/AMPRNet_VPN.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is BGP Routing?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Internet has millions of different computers connected to it, each having an address. Devices called routers deliver traffic between computers, and can send &amp;quot;advertisements&amp;quot; to other routers to tell those other routers about the locations of some of those addresses. The protocol used is called BGP, Border Gateway Protocol. If you are fortunate enough to have a computer that can send BGP advertisements, then you can advertise that your computer is part of the AMPRNET address range, and hence receive AMPRNET traffic.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, most most companies and most commercial ISP&#039;s will not permit their users to originate BGP advertisements (especially for address ranges that are not in their usual address range), so BGP is not a viable means to connect to AMPRNET for most people.&lt;br /&gt;
&lt;br /&gt;
Installing BGP is beyond the scope of this FAQ. Note however that you must have written permission from Brian Kantor, the administrator of the 44 address space, before you BGP advertise any part of that space.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What about radio links?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In many places, groups of amateurs have established networks of radio links, and often have used one of the preceding approaches so that those radio networks connect to and become part of AMPRNET. You would need to contact those groups regarding frequencies, modes, and address allocations.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do I need to consider security?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Yes! Any computer connected to the Internet must be configured and maintained in a secure fashion, and this includes any computer connected to AMPRNET (regardless of the connection technique). Repeat - you MUST secure your computer! This includes using firewalls, keeping software up to date, using strong passwords, etc etc. In some cases, encryption may also be used.&lt;br /&gt;
&lt;br /&gt;
How to maintain security is beyond the scope of this FAQ. Searching for &amp;quot;How to secure my computer&amp;quot; will return many, many hits though!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How do I get an address allocation?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you connect to an existing VPN or existing radio network, it is likely that the operators of those facilities will already have address ranges established and will allocate your address(es). If you wish to establish a new tunnel or BGP-based link, then the process is handled by a semi-automated process on our portal. The steps are:&lt;br /&gt;
    1. Register using your callsign on the portal https://portal.ampr.org&lt;br /&gt;
    2. Log in and navigate to the  Networks page.&lt;br /&gt;
    3. Click on your country.  A list of regions/subnets may appear; if so, click on the appropriate one.&lt;br /&gt;
    4. Click on the subnet and you&#039;ll be presented with a simple form to complete.&lt;br /&gt;
    5. If you are requesting a single address for a host, leave the netmask as /32;&lt;br /&gt;
    6. if you are requesting a  block/subnet, select the appropriate netwidth. E.g. for a 256 host subnet, select /24.&lt;br /&gt;
    7. Put a short message explaining your request in  the Message area of the form.  Be sure to indicate&lt;br /&gt;
    if you are planning to directly route a subnet as these require special handling&lt;br /&gt;
    8. Click Send.  Your request will be forwarded  to the coordinator for your region/subnet.  You&#039;ll&lt;br /&gt;
    receive a confirming email.  The coordinator may  contact you for further details if required.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Can I have a domain name entry for my AMPRNET host?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Yes. Currently domain name requests are handled by the area coordinators - contact details are on the portal. Note: the old email robot facility no longer functions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What about IPv6?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
There is no IPv6 equivalent of AMPRNET at present.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How do I configure a Tunnel?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The technique varies according to the Operating System you use. However, all involve the creation of a new &amp;quot;pseudo&amp;quot; interface - unlike your normal ethernet network connection, this one doesn&#039;t actually exist on the back panel of your computer. However, it exists as far as the Operating System is concerned. A normal ethernet device accepts a data packet (consisting of a header and payload, as previously discussed) and sends it out the ethernet cable (often via a modem, to the Internet).  A &amp;quot;pseudo&amp;quot; interface however accepts a data packet, encapsulates it in the data portion of a new packet, adds a new and different header, and passes all that to the ethernet device, which then processes this new data packet as normal, sending it to a recipient who will de-encapsulate it. Reception of tunneled traffic is the reverse process. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Consequently, two requirements apply:&lt;br /&gt;
&lt;br /&gt;
a) The computer must have full connectivity to the non-44 hosts that will send or receive the tunneled packets containing 44-net traffic. You cannot route ALL traffic to the pseudo interface!&lt;br /&gt;
&lt;br /&gt;
b) The pseudo driver must have a mechanism to tell it which non-44 net hosts can handle particular subsets of 44-net traffic - very few can handle the entire 44-net range! It should be noted that the information changes quite frequently, as tunnel hosts come and go, so must be updated as described below.&lt;br /&gt;
&lt;br /&gt;
http://wiki.ampr.org/wiki/Main_Page has links to several different ways of configuring tunnels.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How do I obtain and maintain a list of tunnel hosts?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
There are three main mechanisms:&lt;br /&gt;
&lt;br /&gt;
a) log on to the portal (as described above) and navigate to the &amp;quot;Gateways/List&amp;quot; section that permits downloading of the &amp;quot;encap&amp;quot; file. Download that file, and use a script on the computer to turn it into commands that update the configuration of the tunnel device.&lt;br /&gt;
&lt;br /&gt;
b) receive the encap file by mail, and use a script to process it. You can register for this email on the portal &amp;quot;Gateways/Options&amp;quot; page.&lt;br /&gt;
&lt;br /&gt;
c) Receive and process &amp;quot;broadcasts&amp;quot; of configuration data that are available.  This information is broadcast to all gateways listed on the portal. There is a software package called &amp;quot;ampr-ripd&amp;quot; that enables this process&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Can I just route all 44net traffic via a single tunnel?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
No. The main AMPRNET gateway does not provide this functionality - you must have a tunnel to each system you wish to contact.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Can BGP, VPN and IP tunnel hosts inter-communicate?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Yes. The AMPRNET gateway has been configured to support this functionality.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Can I put my tunnel on my home LAN and use NAT?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Yes. However, in general, a home modem using NAT won&#039;t be able to correctly process inbound tunneled 44-net traffic and forward it to the correct host - the &amp;quot;port forward&amp;quot; facility in most NAT devices relies on a port number, but there are no port numbers for a tunnel packet! However, most modems have a &amp;quot;DMZ&amp;quot; facility, whereby all unrecognised traffic (and this includes tunneled traffic) can be forwarded to one particular host on the LAN. That host can then be configured to recognise and correctly process tunneled data. However - security alert! - it will also be exposed to all sorts of other, unwanted traffic as well! See the Security section above.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Can I use an AMPRNET VPN on my home LAN?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Generally, yes. Most home modem/routers have good support for VPN usage.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How can I get help with AMPRNET issues?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Many amateurs are willing to assist other hams. There is also a very active mailing list - see http://hamradio.ucsd.edu/mailman/listinfo/44net. The wiki at http://wiki.ampr.org/ has a great deal of information.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What about 44.128.0.0/16?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Subnet 44.128.0.0/16 is currently reserved for testing.  No operational subnets are planned for this address space. Older documentation incorrectly referred to this block of addresses as &amp;quot;private&amp;quot;, that is, unrouted like the 192.168.0.0/16 RFC1918 subnet. This is incorrect; the 44.128.0.0/16 subnet can be routed.  Do not use it except for brief test purposes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Credits&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This FAQ originally commenced by Steve VK5ASF, using material from earlier FAQ&#039;s, from various contributors to the 44net mailing list, and from Brian Kantor.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=ARDC&amp;diff=675</id>
		<title>ARDC</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=ARDC&amp;diff=675"/>
		<updated>2016-10-29T12:05:55Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ARDC, the Amateur Radio Digital Communications corporation, is a non-profit California corporation that owns network 44.0.0.0/8, known as the AMPRNet.  It was formed to encourage and foster the development of the Amateur Radio packet and other amateur radio digital networking.  You may contact ARDC by sending email to ardc@ampr.org.&lt;br /&gt;
&lt;br /&gt;
Note that ARDC is &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; an Internet Service Provider. It does not provide any networking access or facilities. It solely manages and allocates Internet address space, subnets of network 44 (AMPRNet), to interested Amateur Radio operators. Persons who obtain an allocation of address space on AMPRNet must make their own arrangements for connectivity and Internet service.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=SWIP&amp;diff=674</id>
		<title>SWIP</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=SWIP&amp;diff=674"/>
		<updated>2016-10-29T11:59:50Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: Created page with &amp;quot;SWIP is the [https://en.wikipedia.org/wiki/Shared_Whois_Project Shared Whois Project].  It consists of a database showing the ownership of subnets of the Internet.  ARDC d...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;SWIP is the [https://en.wikipedia.org/wiki/Shared_Whois_Project Shared Whois Project].  It consists of a database showing the ownership of subnets of the Internet.  [[ARDC]] does not list its allocated subnets in the SWIP database because listing of a subnet in that database implies that the entity listed has &amp;lt;b&amp;gt;ownership&amp;lt;/b&amp;gt; of the subnet, and ARDC does not relinquish nor assign ownership of its subnets.  Rather, allocations take the form of a limited-term no-cost lease of the subnet address space, with ARDC &amp;lt;b&amp;gt;retaining full ownership&amp;lt;/b&amp;gt;.  This is done primarily to prevent allocated subnets from being sold.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=ARDC&amp;diff=673</id>
		<title>ARDC</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=ARDC&amp;diff=673"/>
		<updated>2016-10-29T11:48:23Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: Created page with &amp;quot;ARDC, the Amateur Radio Digital Communications corporation, is a non-profit California corporation that owns network 44.0.0.0/8, known as the AMPRNet.  It was formed to encour...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ARDC, the Amateur Radio Digital Communications corporation, is a non-profit California corporation that owns network 44.0.0.0/8, known as the AMPRNet.  It was formed to encourage and foster the development of the amateur radio packet and other amateur radio digital networking.  You may contact ARDC by sending email to ardc@ampr.org.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Announcing_your_allocation_directly&amp;diff=672</id>
		<title>Announcing your allocation directly</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Announcing_your_allocation_directly&amp;diff=672"/>
		<updated>2016-10-29T11:39:11Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; Direct announcements of AMPRNet address allocations are usually reserved for larger regional or country wide networks. Please consult with your regional allocation coordinator and the AMPRNet network administrator to determine whether directly announcing your AMPRNet allocation is appropriate.&lt;br /&gt;
&lt;br /&gt;
To announce your allocation directly via your Internet Service Provider (ISP) you will need to:&lt;br /&gt;
&lt;br /&gt;
# Contact your ISP and ask them if they are willing to announce your AMPRNet allocation in accordance with the terms of the [http://www.ampr.org/wp-content/uploads/tos.txt AMPRNet Terms of Service and Acceptable Use Agreement].  Many ISPs won&#039;t do this, and others charge a significant amount for the service.&lt;br /&gt;
# Apply for your AMPRNet allocation via the [[Portal]].  Check the &amp;lt;b&amp;gt;Direct&amp;lt;/b&amp;gt; box to indicate that your connection will be using a direct announcement of the subnet (via the BGP protocol).&lt;br /&gt;
# Upon verification and approva, the AMPRNet administrator will provide authorization to your ISP allowing them to announce your allocation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; How your ISP chooses to forward traffic for your AMPRNet allocation varies by ISP. You will have to work with them to set this up.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; Upon approval, [[ARDC]] issues a no-cost lease for five years (renewable) for the subnet.  This includes a letter of authority that should be provided to your ISP. ARDC does &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; [[SWIP]] subnet allocations.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Announcing_your_allocation_directly&amp;diff=671</id>
		<title>Announcing your allocation directly</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Announcing_your_allocation_directly&amp;diff=671"/>
		<updated>2016-10-29T11:38:26Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; Direct announcements of AMPRNet address allocations are usually reserved for larger regional or country wide networks. Please consult with your regional allocation coordinator and the AMPRNet network administrator to determine whether directly announcing your AMPRNet allocation is appropriate.&lt;br /&gt;
&lt;br /&gt;
To announce your allocation directly via your Internet Service Provider (ISP) you will need to:&lt;br /&gt;
&lt;br /&gt;
# Contact your ISP and ask them if they are willing to announce your AMPRNet allocation in accordance with the terms of the [http://www.ampr.org/wp-content/uploads/tos.txt AMPRNet Terms of Service and Acceptable Use Agreement].  Many ISPs won&#039;t do this, and others charge a significant amount for the service.&lt;br /&gt;
&lt;br /&gt;
# Apply for your AMPRNet allocation via the [[Portal]].  Check the &amp;lt;b&amp;gt;Direct&amp;lt;/b&amp;gt; box to indicate that your connection will be using a direct announcement of the subnet (via the BGP protocol).&lt;br /&gt;
&lt;br /&gt;
# Upon verification and approva, the AMPRNet administrator will provide authorization to your ISP allowing them to announce your allocation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; How your ISP chooses to forward traffic for your AMPRNet allocation varies by ISP. You will have to work with them to set this up.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; Upon approval, [[ARDC]] issues a no-cost lease for five years (renewable) for the subnet.  This includes a letter of authority that should be provided to your ISP. ARDC does &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; [[SWIP]] subnet allocations.&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Archive/Main_Page&amp;diff=647</id>
		<title>Archive/Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Archive/Main_Page&amp;diff=647"/>
		<updated>2016-09-24T02:49:17Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: /* How to connect to AMPRNet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the AMPRNet Wiki.&lt;br /&gt;
&lt;br /&gt;
Since its allocation to Amateur Radio in the mid-1980&#039;s, Internet network 44 (44.0.0.0/8), known as the AMPRNet™, has been used by amateur radio operators to conduct scientific research and to experiment with digital communications over radio with a goal of advancing the state of the art of Amateur Radio networking, and to educate amateur radio operators in these techniques. - [http://www.ampr.org/ www.ampr.org]&lt;br /&gt;
__NOTOC__&lt;br /&gt;
== Starting points ==&lt;br /&gt;
* [[Quickstart]] guide for getting onto the [[AMPRNet]]&lt;br /&gt;
* Basic information about the [[AMPRNet]] and the [[ampr.org]] domain&lt;br /&gt;
* [[Services]] available on AMPRNet&lt;br /&gt;
* If you are looking to get an IP allocation within the 44/8 AMPRNet please read the [[Portal]] page.&lt;br /&gt;
* Frequently Asked Questions (FAQ) [[FAQ]]&lt;br /&gt;
&lt;br /&gt;
== How to connect to AMPRNet ==&lt;br /&gt;
&lt;br /&gt;
* Instructions for [[Setting up a gateway on Linux|setting up a Linux gateway]]&lt;br /&gt;
* Instructions for [[Setting up a gateway on OpenBSD|setting up an OpenBSD gateway]]&lt;br /&gt;
* Instructions for [[setting up a gateway on Cisco Routers|setting up a  gateway on Cisco Routers]].&lt;br /&gt;
* Instructions for [[setting up a gateway on MikroTik Routers|setting up a  gateway on MikroTik Routers]].&lt;br /&gt;
* Instructions for [[setting up a gateway on OpenWRT|setting up a gateway on OpenWRT]].&lt;br /&gt;
* Instructions for [[setting up a gateway on Ubiquiti EdgeRouter|setting up a gateway on Ubiquiti EdgeRouter]].&lt;br /&gt;
* Instructions for [[announcing your allocation directly|directly announcing your allocation via your Internet Service Provider (ISP)]].&lt;br /&gt;
* Instructions for [[AMPRNet VPN|Accessing AMPRNet via VPN]] (experimental).&lt;br /&gt;
* &amp;lt;b&amp;gt;[[Why can&#039;t I just route my AMPRNet allocation directly myself ?]]&amp;lt;/b&amp;gt;&lt;br /&gt;
* If you already operate a [[gateway]] please ensure you have registered on the [[portal]] and &amp;quot;claimed&amp;quot; your [[gateway]].&lt;br /&gt;
&lt;br /&gt;
== Mailing List ==&lt;br /&gt;
To keep up-to-date on AMPRNet information please consider joining the [[44Net mailing list]].&lt;br /&gt;
&lt;br /&gt;
== Contribute! ==&lt;br /&gt;
If you wish to contribute to the wiki, please send an email to &amp;lt;tt&amp;gt;wiki (at) ampr.org&amp;lt;/tt&amp;gt; introducing yourself. Please specify your full name, amateur radio callsign and your preferred username. A login will then be created for you.&lt;br /&gt;
&lt;br /&gt;
== Terms of Service ==&lt;br /&gt;
Use of 44.0.0.0/8 address space and ampr.org DNS is governed by the following [http://www.ampr.org/wp-content/uploads/tos.txt Terms of Service]&lt;br /&gt;
&lt;br /&gt;
== All Pages ==&lt;br /&gt;
[http://wiki.ampr.org/wiki/Special:AllPages Here&#039;s a list of all pages currently on the AMPRNet Wiki]&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
	<entry>
		<id>https://wiki.ampr.org/w/index.php?title=Archive/Main_Page&amp;diff=622</id>
		<title>Archive/Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.ampr.org/w/index.php?title=Archive/Main_Page&amp;diff=622"/>
		<updated>2016-06-19T21:07:59Z</updated>

		<summary type="html">&lt;p&gt;WB6CYT: /* Terms of Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the AMPRNet Wiki.&lt;br /&gt;
&lt;br /&gt;
Since its allocation to Amateur Radio in the mid-1980&#039;s, Internet network 44 (44.0.0.0/8), known as the AMPRNet™, has been used by amateur radio operators to conduct scientific research and to experiment with digital communications over radio with a goal of advancing the state of the art of Amateur Radio networking, and to educate amateur radio operators in these techniques. - [http://www.ampr.org/ www.ampr.org]&lt;br /&gt;
__NOTOC__&lt;br /&gt;
== Starting points ==&lt;br /&gt;
* [[Quickstart]] guide for getting onto the [[AMPRNet]]&lt;br /&gt;
* Basic information about the [[AMPRNet]] and the [[ampr.org]] domain&lt;br /&gt;
* [[Services]] available on AMPRNet&lt;br /&gt;
* If you are looking to get an IP allocation within the 44/8 AMPRNet please read the [[Portal]] page.&lt;br /&gt;
* Frequently Asked Questions (FAQ) [[FAQ]]&lt;br /&gt;
&lt;br /&gt;
== How to connect to AMPRNet ==&lt;br /&gt;
&lt;br /&gt;
* Instructions for [[Setting up a gateway on Linux|setup a Linux gateway]]&lt;br /&gt;
* Instructions for [[setting up a gateway on Cisco Routers|setting up a  gateway on Cisco Routers]].&lt;br /&gt;
* Instructions for [[setting up a gateway on MikroTik Routers|setting up a  gateway on MikroTik Routers]].&lt;br /&gt;
* Instructions for [[setting up a gateway on OpenWRT|setting up a gateway on OpenWRT]].&lt;br /&gt;
* Instructions for [[setting up a gateway on Ubiquiti EdgeRouter|setting up a gateway on Ubiquiti EdgeRouter]].&lt;br /&gt;
* Instructions for [[announcing your allocation directly|directly announcing your allocation via your Internet Service Provider (ISP)]].&lt;br /&gt;
* Instructions for [[AMPRNet VPN|Accessing AMPRNet via VPN]] (experimental).&lt;br /&gt;
* &amp;lt;b&amp;gt;[[Why can&#039;t I just route my AMPRNet allocation directly myself ?]]&amp;lt;/b&amp;gt;&lt;br /&gt;
* If you already operate a [[gateway]] please ensure you have registered on the [[portal]] and &amp;quot;claimed&amp;quot; your [[gateway]].&lt;br /&gt;
&lt;br /&gt;
== Mailing List ==&lt;br /&gt;
To keep up-to-date on AMPRNet information please consider joining the [[44Net mailing list]].&lt;br /&gt;
&lt;br /&gt;
== Contribute! ==&lt;br /&gt;
If you wish to contribute to the wiki, please send an email to &amp;lt;tt&amp;gt;wiki (at) ampr.org&amp;lt;/tt&amp;gt; introducing yourself. Please specify your full name, amateur radio callsign and your preferred username. A login will then be created for you.&lt;br /&gt;
&lt;br /&gt;
== Terms of Service ==&lt;br /&gt;
Use of 44.0.0.0/8 address space and ampr.org DNS is governed by the following [http://www.ampr.org/wp-content/uploads/tos.txt Terms of Service]&lt;br /&gt;
&lt;br /&gt;
== All Pages ==&lt;br /&gt;
[http://wiki.ampr.org/wiki/Special:AllPages Here&#039;s a list of all pages currently on the AMPRNet Wiki]&lt;/div&gt;</summary>
		<author><name>WB6CYT</name></author>
	</entry>
</feed>