Could you describe your interfaces then? If you have just ens3 for ham and lan subnets then the easiest way to add an IP using the Debian/Ubuntu interfaces file would be:
auto ens3:1 iface ens3:1 inet static address {my allocated IP} netmask 255.255.255.252
On Mon, Sep 16, 2019, 7:42 PM KUN LIN dnwk@linkun.info wrote:
ens4 is not a physical devices. It is latched onto ens3 as a virtual device.
I tried to put ens4 on both lines and got error “Cannot find device "ens4"”
Kun
*From:* Scott Nicholas scott.nicholas@scottn.us *Sent:* Monday, September 16, 2019 4:33:20 PM *To:* AMPRNet working group 44net@mailman.ampr.org *Cc:* KUN LIN dnwk@linkun.info *Subject:* Re: [44net] need help configure gateway on ubuntu
If this is verbatim then the issue is that you used ens4 in one line and ens3 in another.
Regards, Scott
On Mon, Sep 16, 2019, 5:54 PM KUN LIN via 44Net 44net@mailman.ampr.org wrote:
I am trying to configure the tunnel on Ubuntu 18 on a cloud VM just to figure out how the configuration works. I am looking at http://wiki.ampr.org/wiki/Ubuntu_Linux_Gateway_Example https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.ampr.org%2Fwiki%2FUbuntu_Linux_Gateway_Example&data=02%7C01%7C%7C2e65325dabf54311cb1008d73afe4a93%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637042736154177364&sdata=A691nu5dXTfwFVteUGA3erMXMs4ufPfCOcHUgS%2Bp414%3D&reserved=0 and have trouble configure the interface. I have configure
auto ens4
iface ens3 inet static
address {my allocated IP}
netmask 255.255.255.252
However, the ifup ens4 command will failed to bring up ens4 interface. And of course when running ampr-run.sh and find_pass.sh will resulted in Setting SO_BINDTODEVICE: No such device.
Any advices on how to set it up on Ubuntu 18?
Thanks
Kun
44Net mailing list 44Net@mailman.ampr.org https://mailman.ampr.org/mailman/listinfo/44net https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.ampr.org%2Fmailman%2Flistinfo%2F44net&data=02%7C01%7C%7C2e65325dabf54311cb1008d73afe4a93%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637042736154187369&sdata=mStShlnxi%2FIf%2FQCsxYOnay1%2BBBYxPmatrdvHK6MQvCo%3D&reserved=0