On Sat, Jan 23, 2021 at 11:28 PM Marius Petrescu marius@yo2loj.ro wrote:
Hi Lee,
Yes, that would happen if you get the wrong one since they use different processors types :-) Have fun with it,
Marius, YO2LOJ
Hi Marius,
Yes, I'm having "fun" so far. :-) It's a nice little router, so I'd love to get the gateway working on it. I added the wizard you created - very cool add-on by the way. It shows the daemon running with a PID number, but there are no routes showing up under "AMPR Routes". I assume that means the daemon is not getting the routes for some reason? I do have the tunnel (tun44) configured, and I'm not seeing anything wrong with it. Isn't the tunnel required for traffic to/from the various gateways as opposed to receiving inbound RIP traffic sent from UCSD to my gateway?
One thing I noticed was in the Linux gateway instructions there's a need to get the password and include that in the startup script. There's no mention of that in the Ubiquiti instructions, so is that hard-coded in the ampr-ripd application for the Edgerouters?
A packet capture on eth0 (WAN port) shows lines like this:
IP 169.228.34.84 > 70.101.238.162: IP 44.0.0.1.520 > 224.0.0.9.520: RIPv2, Response, length: 504 (ipip-proto-4)
IP 169.228.34.84 > 70.101.238.162: IP 44.0.0.1.520 > 224.0.0.9.520: RIPv2, Response, length: 504 (ipip-proto-4)
70.101.238.162 is the assigned static address from my ISP, and it's also configured as the local IP for the tunnel (remote IP is 0.0.0.0). 44.92.0.81/32 is configured as the tunnel's address. My amprnet allocation is 44.92.0.80/29. Also Eth0 (WAN port) on the Edgerouter is assigned 70.101.238.162 via DHCP.
Fyi there are NAT rules in place to forward ipencap to a host on my LAN where XRouter is running. XRouter can run RIP and get the tunnel routes, so I know the router forwards ipencap. I removed the NAT rules temporarily in case they were causing a problem with ampr-ripd, but I still didn't see any routes in the Wizard after an hour or so.
I'm open to suggestions - is there a debug mode for ampr-ripd or a log I can look at? (didn't see one in /var/log in the router)
Thanks very much for the reply. Lee K5DAT