My allocation is 44.26.1.148/30 So does it mean I need to do
auto ampr0 iface ampr0 inet static address 44.26.1.150 netmask 255.255.255.252 metric 100 pre-up ip tun add ampr0 mode ipip ttl 64 local {my public IP} dev ens3 up ip route add default via 169.228.34.84 dev ampr0 onlink table default up ip rule add from 44.26.1.150 table default up ampr-ripd -s -t default -i ampr0 -m 90 -a 44.26.1.148/30 up ping -c 1 -I ampr0 44.0.0.1 > /dev/null 2>&1 pre-down ip route del default via 169.228.34.84 dev ampr0 onlink table default post-down killall ampr-ripd post-down ip rule del from 44.26.1.150 table default post-down ip tunnel del ampr0 post-down rmmod ipip
Thanks Kun
From: Scott Nicholas scott.nicholas@scottn.us Sent: Monday, September 16, 2019 8:31 PM To: KUN LIN dnwk@linkun.info Cc: AMPRNet working group 44net@mailman.ampr.org Subject: Re: [44net] need help configure gateway on ubuntu
Yes, that's it. Replace 44.128.0.1. And 149.28.12.190 replace with your current ip on the internet. 169.228.34.84 stays as-is. On Mon, Sep 16, 2019, 11:26 PM KUN LIN <dnwk@linkun.infomailto:dnwk@linkun.info> wrote: You mean this example? Do I need to replace 44.128.0.1 with my allocation?