Hello, I’ve some errors with startampr script. Any idea to help me for resolve these mistakes?
73 F1SXO Frédéric
------------------------------ fred@f1sxo:/ampr-ripd $ sudo ./startampr cannot determine tunnel mode (ipip, gre, vti or sit) Error: Nexthop has invalid gateway. --------------------------------- Ifconfig : tunl0: flags=4289<UP,RUNNING,NOARP,MULTICAST> mtu 1480 inet 44.151.31.6 netmask 255.255.255.255 tunnel txqueuelen 1000 (IPIP Tunnel) --------------------------------- Extract from startampr script : ### ENABLE IP FORWARDING ### sysctl -w net.ipv4.ip_forward=1 ## Allows traceroute to respond using 44net IP of tunl0 or br-amprlan ## echo 1 > /proc/sys/net/ipv4/icmp_errors_use_inbound_ifaddr ################### AMPRNet IPENCAP UBUNTU SYNTAX modprobe ipip ip tunnel add tunl0 mode ipip ###NUMBER tunl0 with a /32 from your allocation ###(you may reuse this IP on an Ethernet interface ip addr add 44.151.31.6/32 dev tunl0 ip link set tunl0 mtu 1480 up ip tunnel change tunl0 ttl 64 tos inherit pmtudisc ################### OPTIONAL - DEFAULT ROUTE FOR INTERNET ACCESS ip route add default dev tunl0 via 44.151.31.6 onlink proto 44 table 44 ################### POLICY-BADED ROUTING ####################### ###OPTIONAL LOCAL RULES ip rule add from 44.151.31.6 to 192.168.1.0/24 table main priority 22 #REQUIRED RULES ip rule add to 44.151.31.6 table main priority 44 ip rule add dev tunl0 table 44 priority 45 ip rule add dev 44.151.31.6 table 44 priority 46 ip rule add from 44.151.31.6 table 44 priority 47 ###SOME OF THIS MAY BE NEEDED TO RUN ampr-ripd from another folder than the compile option
73 F1sxo Frédéric ZULIAN