Zero-tier local config reset without special reasons

Below is my configuration illustration.:
https://drive.google.com/file/d/1ZLipDWLAsMpKgkY8ASqNPno2-lU6v6Ib/view?usp=sharing


(1) Goal
I’m trying to set up channel bonding. The bonding itself works, but failover between LAN and Wi-Fi takes around 16 seconds, which feels too long.

(2) Problem
Even though I save the local config file, after running Zerotier once, the file disappears.
For example:

sudo nano NetworkID.local.conf →
edit →
Ctrl+X → 
Y → 
Enter

After restarting Zerotier and reopening the file, it’s gone.

(3) What I tried

  • About two weeks ago, I installed Zerotier for the first time on Ubuntu 22.04 LTS (desktop). I saw the same symptom but thought it was just a random error.
  • Now I’m setting it up again on Jetson Nano, and the same issue occurs.

(4) Possibility of user error
I’m relatively new to Zerotier (but not a complete beginner with Ubuntu). I’m confident I edited and saved the config correctly. This doesn’t seem to be a typo or misuse of nano.

(5) Next step
I’m willing to collect all relevant logs. Could you please guide me on which logs or commands are most useful for diagnosing this issue?


Local config 1:

allowManaged=1
allowGlobal=0
allowDefault=0
allowDNS=0
{
  "settings": {
    "defaultBondingPolicy": "rapid-active-backup",
    "policies": {
      "rapid-active-backup": {
        "basePolicy": "active-backup",
        "falloverInterval": 1000,
        "links": {
          "enx00e04c68363f": {
            "ipvPref": 46,
            "failoverTo": "wlo1"
          },
          "wlo1": {
            "ipvPref": 46,
            "failoverTo": "enx00e04c6836f"
          }
        }
      }
    }
  }
}

** local config 2 **

{
  "settings": {
    "allowManaged": true,
    "allowGlobal": false,
    "allowDefault": false,
    "allowDNS": false,
    "defaultBondingPolicy": "rapid-active-backup",
    "policies": {
      "rapid-active-backup": {
        "basePolicy": "active-backup",
        "falloverInterval": 1000,
        "links": {
          "enx00e04c68363f": {
            "ipvPref": 46,
            "failoverTo": "wlo1"
          },
          "wlo1": {
            "ipvPref": 46,
            "failoverTo": "enx00e04c6836f"
          }
        }
      }
    }
  }
}
1 Like

I tried below simple local config :

allowManage=1
allowGlobal=0

but whenever I enter this command, local config resets :

sudo zerotier-cli join NetworkID
result : 200 join OK

Those need to be 2 different files. There’s the network specific network conf that has the configs for allowManaged, allowDefault, etc…

Then there’s a file that is just called local.conf. That is where you configure the bonding config.

1 Like