Hi David,
Comments in line
On Sun, Feb 17, 2019, 9:30 PM pete M via 44Net <44net@mailman.ampr.org wrote:
HI to all,
One last thing before I start the script that David point me to.
my allocation is a /26 so my netmask is 255.255.255.192
But inside the script there is something I am not sure of:
#What is your allocated AMPR IP or AMPR gateway IP address and netmask AMPRIP="44.135.51.0" AMPRMASK="255.255.255.192" # Alternative syntax when using the "ip" command CIDRNM="32"
It looks to me that AMPRIP should be the 44-net IP address you wish to assign your gateway - EX: 44.135.51.1.
The CIDRNM value should it be "26"?
Yes, it appears to me that way.
I dont want to fire any thing before being sur that I have it all ok. Not that it will break something on my side.. I just dont want to break anything anywhere.
Don't forget to go through the all the steps! For example, step 3 likely will require you to uncomment (remove the preceding '#' symbol) the 'echo 1...' line.
Don't be afraid to break things too much... Fixing the breakages is a wonderful way to learn!
So if anyone can help confirm, thanks!
Pierre VE2PF
De : 44Net 44net-bounces+petem001=hotmail.com@mailman.ampr.org de la part de David Ranch amprgw@trinnet.net Envoyé : 17 février 2019 16:11 À : AMPRNet working group Objet : Re: [44net] Can't seem to grasp something
Hello Pierre,
HI every one, I have an alocation and registered a gateway to do ipip
encapsulation to finally be able to run a gateway inside my local lan.
Welcome to AMPR! Ok. Log into the AMPR Portal:
- Click on the top level "Home" then "Allocations". Make sure yourallocation shows up as expected and make sure you denote the subnet size you have (say a /29). Remember that the first IP is the network designation and the last IP is the broadcast designation. Neither of these can be used for anything.
- Click on the top level "Gateways" and second level "Manage". Here,you need to add a gateway for your AMPR subnet. This will be your external facing Internet IP address and this ideally needs to be a STATIC IP from your ISP. If it's a dynamic IP that changes often, you're going to need to update this gateway IP either via the AMPR web interface of the the AMPR API whenever it changes. At the bottom of this page, you will need to associate this gateway IP with your AMPR allocation. Click "Add network" when done.
- Now configure your AMPR subnet on your eth1 interface of yourDebian box. Generally speaking this should be the first IP address of the subnet.
- Next, you need to ask your AMPR coordinator to set a DNS name forat least one of your AMPR addresses. For example, set the first usable IP address to something like "ve2-pf-gw". By setting this AMPR name in DNS, you then enable the RIP broadcasts to go to that IP address (your Debian machine). If you don't set this DNS name, things can still work but you'll need to manually load the ENCAPS files into your Debian box via a script. Whenever the encaps file is updated, you'd need to reload the file.
- To receive and populate the AMPR routes via the RIP broadcasts (ifyou choose to go this route), I recommend to use YO2LOJ's ampr-ripd program. The setup of the program is pretty strait forward.
After that, to get things working, you can either manually edit a copy of the script at http://wiki.ampr.org/wiki/Startampr#Script as you mentioned before but that script doesn't give you a lot of detail nor comments. Alternatively, you can look at the script I use:
http://www.trinityos.com/HAM/CentosDigitalModes/usr/local/sbin/manual-ampr-s...
In this script, you edit in the variables at the top and just manually run it. It includes comments on how to troubleshoot things, it runs the ampr-ripd program, etc. If it's working for you and you want it to run every boot, you can start it from say /etc/rc.local.
To troubleshoot your network setup, you can use various tools websites mentioned on http://wiki.ampr.org/wiki/Services
http://yo2tm.ampr.org/nettools.php http://kb3vwg-010.ampr.org/tools http://speedtest.ampr.org http://n1uro.ampr.org/do.shtml--David KI6ZHD
David, thanks very much for sharing your script! A couple questions for you (if you see this):
1) would you mind posting this script to the wiki - or at least linking to it?;
2) would you welcome contributions/patches to your file? If so, how would you prefer to receive/process such?
The gateway is a debain 9 computer with 2 nic. one connected to my lan
(eth0) and another wich will have the 44 net address network (eth1) I already put the first adress of the 44 allocation that I have on eth1. eth0 is for now on dhcp.
Now I've been reading, reading and re reading the wiki. there are so
much stuff that I am lost.
In my case, what deamon do I need? looking at this web page:
http://www.yo2loj.ro/hamprojects/ so is it ampr-ripd 2.4?? amprd 2.1??
there are also script that I found out about..
http://wiki.ampr.org/wiki/Startampr#Script
I got this configured. But I am really not sure of what I am supposed to
do with it. And on the wiki page there are allusion to some hourly script running to backup the rip table. where are those?
Anyone can point me in the good direction so that I can finally have
this running?
Thanks Pierre VE2PF
44Net mailing list 44Net@mailman.ampr.org https://mailman.ampr.org/mailman/listinfo/44net _________________________________________ 44Net mailing list 44Net@mailman.ampr.org https://mailman.ampr.org/mailman/listinfo/44net
73's for now! DE AF4H