Hi,
I have tried to put my gateway in a new box - my tp-link 1043 nd router. I used to use an old pc with Debian for this purpose. I followed this wiki article http://wiki.ampr.org/index.php/Setting_up_a_gateway_on_OpenWRT and i can ping to different 44net IPs from the router's console. The gateway's IP is 44.185.22.1 аnd I would someone to test if it is reachable.
I am also a little bit confused how my other devices will connect to the gateway. There was a pptpd server on the pc and it was easy. Now there is another VLAN on the router and I assume that I need to configure some of the lan ports (the switch) to use this new VLAN. This is good for the local connections. Can I use again pptpd and connect to my gateway from Internet like I used to do?
Hello Daftcho.
Your 44.185.22.1 is reachable from AMPRNet network:
root@linux:/# ping -c5 44.185.22.1 PING 44.185.22.1 (44.185.22.1) 56(84) bytes of data. 64 bytes from 44.185.22.1: icmp_req=1 ttl=64 time=119 ms 64 bytes from 44.185.22.1: icmp_req=2 ttl=64 time=113 ms 64 bytes from 44.185.22.1: icmp_req=3 ttl=64 time=113 ms 64 bytes from 44.185.22.1: icmp_req=4 ttl=64 time=121 ms 64 bytes from 44.185.22.1: icmp_req=5 ttl=64 time=112 ms
--- 44.185.22.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4001ms rtt min/avg/max/mdev = 112.776/116.131/121.457/3.576 ms root@linux:/#
Best regards.
Similar results for me (from 44.131.243.2)
PING 44.185.22.1 (44.185.22.1): 56 data bytes 64 bytes from 44.185.22.1: icmp_seq=0 ttl=63 time=78.941 ms 64 bytes from 44.185.22.1: icmp_seq=1 ttl=63 time=78.692 ms 64 bytes from 44.185.22.1: icmp_seq=2 ttl=63 time=79.611 ms 64 bytes from 44.185.22.1: icmp_seq=3 ttl=63 time=78.421 ms
Regards
Andy Brittain G0HXT g0hxt@greatbrittain.co.uk
On 19 Feb 2016, at 13:14, Tom SP2L SP2L@wp.pl wrote:
(Please trim inclusions from previous messages) _______________________________________________ Hello Daftcho.
Your 44.185.22.1 is reachable from AMPRNet network:
root@linux:/# ping -c5 44.185.22.1 PING 44.185.22.1 (44.185.22.1) 56(84) bytes of data. 64 bytes from 44.185.22.1: icmp_req=1 ttl=64 time=119 ms 64 bytes from 44.185.22.1: icmp_req=2 ttl=64 time=113 ms 64 bytes from 44.185.22.1: icmp_req=3 ttl=64 time=113 ms 64 bytes from 44.185.22.1: icmp_req=4 ttl=64 time=121 ms 64 bytes from 44.185.22.1: icmp_req=5 ttl=64 time=112 ms
--- 44.185.22.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4001ms rtt min/avg/max/mdev = 112.776/116.131/121.457/3.576 ms root@linux:/#
Best regards.
-- Tom - SP2L
It is nice to be important. But it is more important to be nice!
44Net mailing list 44Net@hamradio.ucsd.edu http://hamradio.ucsd.edu/mailman/listinfo/44net
Thank you for the testing. I think I have a routing problem. When I run traceroute for example whatismyip.ampr.org I got this:
traceroute to whatismyip.ampr.org (44.60.44.10), 30 hops max, 38 byte packets 1 1-140-80-80.filibe.net (80.80.140.1) 0.743 ms 0.693 ms 0.404 ms 2 GSR-core-2GE-600.langame.net (80.80.129.2) 0.753 ms 0.733 ms 0.677 ms 3 503.te4-2.cr1.pld1.evolink.net (85.14.14.137) 0.720 ms 0.695 ms 0.709 ms 4 85.14.12.121 (85.14.12.121) 3.002 ms 2.895 ms 2.950 ms 5 15.xe-0-0-0.br2.sof2.evolink.net (85.14.2.135) 2.435 ms 2.714 ms 2.974 ms 6 tge5-3.fr3.frf.llnw.net (80.81.192.221) 42.927 ms 33.891 ms 37.181 ms 7 tge14-4.fr4.ams.llnw.net (69.28.171.55) 40.161 ms tge1-2.fr4.ams.llnw.net (69.28.171.53) 39.632 ms tge14-4.fr4.ams.llnw.net (69.28.171.55) 52.890 ms 8 tge2-6.fr4.lga.llnw.net (69.28.189.49) 140.439 ms 136.071 ms 141.537 ms 9 tge1-2.fr4.ord.llnw.net (69.28.172.198) 155.376 ms 157.388 ms 149.420 ms 10 tge1-3.fr4.sjc.llnw.net (69.28.172.77) 204.094 ms 197.802 ms 199.940 ms 11 paix-px1--limelight-10ge.cenic.net (198.32.251.193) 206.979 ms 199.706 ms 205.965 ms 12 dc-lax-agg6--svl-agg4-100ge.cenic.net (137.164.11.0) 216.512 ms 210.496 ms 216.994 ms 13 dc-tus-agg3--lax-agg6-100ge.cenic.net (137.164.11.7) 204.699 ms 209.634 ms 202.669 ms 14 dc-sdg-agg4--tus-agg3-100ge.cenic.net (137.164.11.9) 216.637 ms 210.749 ms 217.236 ms 15 ucsd--sdg-agg4-10g-2.cenic.net (137.164.23.178) 211.123 ms 217.369 ms 211.643 ms 16 mcore-flow-bypass-mx0-p2p.ucsd.edu (132.239.254.61) 216.642 ms 221.172 ms 222.782 ms 17 ebu3b-6509-nodem-core-interconnect-vl910-bcast-255-131.ucsd.edu (132.239.255.131) 217.621 ms 211.944 ms 217.987 ms 18 amprgw.sysnet.ucsd.edu (169.228.66.251) 208.285 ms 214.444 ms 214.106 ms 19 * * * 20 * * * 21 * * * 22 kb3vwg-010.ampr.org (44.60.44.10) 282.457 ms 287.966 ms 280.894 ms
Routing table: #route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 1-140-80-80.fil 0.0.0.0 UG 0 0 0 eth0.2 44.185.22.0 * 255.255.255.224 U 0 0 0 br-amprlan 80.80.140.0 * 255.255.255.0 U 0 0 0 eth0.2 192.168.13.0 * 255.255.255.0 U 0 0 0 br-lan
I have done this setup on the openwrt device:
Custom Rules:
tunnel add tunl0 ip tunnel change tunl0 mode ipip ttl 64 pmtudisc ip link set tunl0 mtu 1480 up ip route add default dev tunl0 via 169.228.66.251 onlink proto 44 table 44 ./etc/config/ampr-ripd -p "password_is_here" -t 44 -a 44.185.22.0/27 #OPTIONAL LAN ### #ip rule add from 44.185.22.0/27 to 192.168.13.0/24 table main priority 22 #ADD A RULE FOR EVERY LOCAL AMPR SUBNET, RENUMBER 44-4X ACCORDINGLY) ip rule add to 44.185.22.0/27 table main priority 44 ###Add this after you create the AMPRLAN bridge, this ensures all traffic from AMPRLAN uses table 44 ip rule add dev br-amprlan table 44 priority 45 ### This ensures all traffic received on tunl0 uses table 44 ip rule add dev tunl0 table 44 priority 46 ### You must add an IP rule for all 44net IPs residing on the device ip rule add from 44.185.22.0/27 table 44 priority 47 ## Allows traceroute to respond using 44net IP of tunl0 or br-amprlan ## echo 1 > /proc/sys/net/ipv4/icmp_errors_use_inbound_ifaddr
I have:
"amprwan" device - unmanaged, it doesn't bring up on boot. It has its own firewall zone "ampr_wan" Input: Drop Output: Drop Forward: Drop connection tracking is on
"amprlan"device - bridge to VLAN eth0.3, static ip 44.185.22.1, netmask 255.255.255.224. Firewall zone ampr_lan Input: Accept Output: Accept Forward: Reject Allow forwarding to ampr_wan zone.
On traffic rules:
Accept Input: Any IP-ENCAP From any host in wan To any router IP on this device
Accept Input: Any UDP From IP 44.0.0.1 in ampr_wan with source port 520 To IP 224.0.0.9 at port 520 on this device
One of the ports of the switch is configured for VLAN eth0.3
Maybe I miss something and it would be nice if someone helps me.
Daff
Hi,
Mine allocation was changed - now the gate IP is 44.185.69.1 On 19.2.2016 23:09 , Brian Kantor wrote:
It appears to be working. Why do you think you have a problem?
- Brian
On 19.2.2016 23:30 , lleachii--- via 44Net wrote:
Daftcho,
Your configuration appears to be correct; but you performed traceroute on your WAN IP address, and not the 44net IP.
Attempt to perform traceroute using the interface argument:
'traceroute whatismyip.ampr.org -i br-amprlan'
I think the traffic is done only through the wan, not the tunnel. And if I try traceroute with br-amprlan it says host unreachable:
#traceroute whatismyip.ampr.org -i br-amprlan traceroute to whatismyip.ampr.org (44.60.44.10), 30 hops max, 38 byte packets 1 44.185.69.1 (44.185.69.1) 2999.774 ms !H 2996.261 ms !H 2999.658 ms !H
Hello Daftcho.
Some observations:
1. You have an account on portal.ampr.org 2. You DO NOT HAVE any subnets assigned to your gateway. 3. As the result of the above, your gateway is NOT INCLUDED in RIPv4 broadcast and in encap.txt file as well.
You need to fix this first, before your gateway will participate in AMPRNet network.
Best regards. --- Tom - SP2L
Sent from Xperia Z1 with AquaMail http://www.aqua-mail.com
Hello Daftcho.
Pings to 44.185.22.1 are O.K. Traceroute to 44.185.22.1 gives NO OUTPUT at all! Traceroute to your public IP 80.80.149.38 is O.K.
Best regards. --- Tom - SP2L
Sent from Xperia Z1 with AquaMail http://www.aqua-mail.com
Thank you for the feedback. My public IP is 80.80.140.38. We have decided to change my allocation from 44.185.22.0/27 to 44.185.69.0/24. I have contacted my coordinator. So the gate will be inoperational for some days.
Greetings
Correction... Your public IP is of course 80.80.140.38
Best regards. --- Tom - SP2L
Sent from Xperia Z1 with AquaMail http://www.aqua-mail.com