Thanks guys, after a little fussing I think I got it working. I do see /var/lib/ampr-ripd/encap.txt filling full of routes, so I think that that means it's functioning correctly.
This is what I have now. I post this so you if anyone spots anything stupid, they can let me know.
sysctl -w net.ipv4.ip_forward=1 modprobe ipip ip addr add 44.4.28.50/32 dev tunl0 ip tunnel change ttl 64 mode ipip tunl0 ip link set dev tunl0 up ifconfig tunl0 mtu 1480 ip rule add from 44.4.28.50/32 table 44 priority 45 ip rule add to 44.0.0.0/8 table 44 priority 44 ip route add default dev tunl0 via 169.228.34.84 onlink table 44 ip route add 44.4.28.50/32 dev tunl0 table 44 ip route add 44.0.0.0/8 via 44.4.28.50 dev tunl0 iptables -A INPUT -p 4 -j ACCEPT iptables -A INPUT -p udp --dport 520 -j ACCEPT ampr-ripd -s -r -t 44 -i tunl0 -a 44.4.28.50/32
On 9/5/2018 5:17 PM, David Ranch wrote:
Hello Cathryn,
Your AMPR IP has valid DNS details so you should be receiving ampr-rip broadcasts: -- $ host 44.4.28.50 50.28.4.44.in-addr.arpa domain name pointer vhf.ke6i.ampr.org. --
To test if your ISP is forwarding you the IPIP packets, you can try doing this on a Unix host directly connected to your ISP provided device (cablemodem, DSL modem, etc):
#Assuming eth0 is your uplink port tcpdump -nni eth0 proto 4
While tcpdump is running, open up a web browser to http://yo2tm.ampr.org/nettools.php using your standard Internet connection and enter in your active AMPR IP address (not subnet) and click on "IPv4 ping". You should see something like the following on the tcpdump screen: -- 13:12:15.876817 IP 89.122.215.236 > 96.78.144.186: IP 44.182.21.1 > 44.4.10.40: ICMP echo request, id 37699, seq 1, length 64 (ipip-proto-4) 13:12:15.877272 IP 96.78.144.186 > 89.122.215.236: IP 44.4.10.40 > 44.182.21.1: ICMP echo reply, id 37699, seq 1, length 64 (ipip-proto-4) 13:12:16.876362 IP 89.122.215.236 > 96.78.144.186: IP 44.182.21.1 > 44.4.10.40: ICMP echo request, id 37699, seq 2, length 64 (ipip-proto-4) 13:12:16.876788 IP 96.78.144.186 > 89.122.215.236: IP 44.4.10.40 > 44.182.21.1: ICMP echo reply, id 37699, seq 2, length 64 (ipip-proto-4) 13:12:17.876889 IP 89.122.215.236 > 96.78.144.186: IP 44.182.21.1 > 44.4.10.40: ICMP echo request, id 37699, seq 3, length 64 (ipip-proto-4) --
--David KI6ZHD