Cannot Connect Remote Machines - Ubuntu Server 20.04 Fresh Install

I cannot connect this machine to any other machine via zerotier in either direction. I have nothing special in my.zerotier network settings. Any ideas where I should start? Here are some settings/config below.

$sudo zerotier-cli info:
200 info 007e29e7ac 1.6.2 ONLINE

/etc/hosts:
127.0.0.1 localhost
127.0.1.1 test

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

/etc/netplan/*.yaml:
network:
ethernets:
eno1:
addresses: [192.168.0.92/24]
gateway4: 192.168.0.1
nameservers:
addresses: [192.168.0.1]
version: 2

$sudo ufw list numbered:
[ 1] 80/tcp ALLOW IN Anywhere
[ 2] 443/tcp ALLOW IN Anywhere
[ 3] 22 ALLOW IN 192.168.0.0/24
[ 4] Anywhere ALLOW IN 192.168.196.0/24 (zerotier)
[ 5] 80/tcp (v6) ALLOW IN Anywhere (v6)
[ 6] 443/tcp (v6) ALLOW IN Anywhere (v6)

Hi,

Is the machine visible in ZT Central?

How did you install ZT on your Ubuntu Server? Did you use Snap?

I was having a problem with my Ubuntu 20.04 Server and ZT. Maybe my post here might help.

Good luck.

I had read your post twice already haha.

Everything looks good in my.zerotier networks page. Installed via the one line curl like you did.

Can you ping the Ubuntu 20.04 machine from any other machine and vice versa?

Any clues when you look at the output of:

sudo zerotier-cli peers

on different machines connected to your network?

I cannot ping either way. The peers that I am concerned about appear correct on both machines.

I solved this by adding the zerotier device to my netplan. I had tried this without nameservers earlier to no avail. It looks like the /netplan/*.yaml really does need nameservers to function.

 network:
   version: 2
   renderer: networkd
   ethernets:
     eno1:
       addresses: [192.168.0.92/24]
       gateway4: 192.168.0.1
       nameservers:
         addresses: [192.168.0.1]
     ztugaw23sv:
       addresses: [192.168.196.92/24]
       gateway4: 192.168.196.1
       nameservers:
         addresses: [192.168.196.1]

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.