Internet doesn't work when the zerotier service is running

I’m on a raspberry pi 4 using Raspian OS: when zerotier is up I can’t ping anything outside the local network. When the service is disabled everything works normally and I can ping outside my network.

Imgur

Show your routing table (from RPi).

ip route
default dev ztuzev6bkp scope link
default via 192.168.68.1 dev wlan0 src 192.168.68.80 metric 303
10.147.17.0/24 dev ztuzev6bkp proto kernel scope link src 10.147.17.41
169.254.0.0/16 dev ztuzev6bkp proto kernel scope link src 169.254.74.198
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
172.18.0.0/16 dev br-1a270539dc6c proto kernel scope link src 172.18.0.1 linkdown
192.168.68.0/24 dev wlan0 proto dhcp scope link src 192.168.68.80 metric 303

That is the answer. Is this intended?

Absolutely not. I don’t even know what it even means.
How do I change that?

I don’t think the zerotier service is doing that. Did you change the network manager from whatever the default in raspbian is?

I didn’t change that.

This is the default route while the zerotier service is disabled

ip route
default via 192.168.68.1 dev wlan0 src 192.168.68.80 metric 303
10.147.17.0/24 dev ztuzev6bkp proto kernel scope link src 10.147.17.41
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
172.18.0.0/16 dev br-1a270539dc6c proto kernel scope link src 172.18.0.1 linkdown
192.168.68.0/24 dev wlan0 proto dhcp scope link src 192.168.68.80 metric 303

ZeroTier doesn’t add routes like that. Something else must be doing it.

169.254.0.0/16 dev ztuzev6bkp proto kernel scope link src 169.254.74.198 isn’t normal either.
Something is trying to do dhcp on the zerotier interface. Another user that was having similar trouble found that it was conman that was causing it.

I disabled connman service and now everything works :expressionless:

This was the service status

● connman.service - Connection service
     Loaded: loaded (/lib/systemd/system/connman.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-06-20 18:17:06 CEST; 3 days ago
   Main PID: 362 (connmand)
      Tasks: 1 (limit: 3594)
        CPU: 22.299s
     CGroup: /system.slice/connman.service
             └─362 /usr/sbin/connmand -n

giu 24 11:49:09 server connmand[362]: Removing default interface route failed (No such device)
giu 24 11:49:09 server connmand[362]: Removing default interface route failed (No such device)
giu 24 11:49:09 server connmand[362]: (null) {del} route fe80:: gw :: scope 0 <UNIVERSE>
giu 24 11:49:09 server connmand[362]: (null) {del} address 10.147.17.41/24 label ztuzev6bkp
giu 24 11:49:09 server connmand[362]: (null) {del} address 169.254.134.76/16 label ztuzev6bkp
giu 24 11:49:09 server connmand[362]: ztuzev6bkp {dellink} index 11 operstate 2 <DOWN>
giu 24 11:49:09 server connmand[362]: (null) {RX} 0 packets 0 bytes
giu 24 11:49:09 server connmand[362]: (null) {TX} 1364 packets 81235 bytes
giu 24 11:49:09 server connmand[362]: (null) {remove} index 11
giu 24 11:49:09 server connmand[362]: Remove interface (null) [ ethernet ]

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