Zerotierone: Strange Zerotier device name under Linux

Created on 9 May 2018  路  4Comments  路  Source: zerotier/ZeroTierOne

I recently installed Zerotier on 2 computers and updated it from v1.2.4 to v1.2.8.

On the two computers newly installed, the name of the Zerotier device is: _ztuzethfie_ (Linux ARMv7hf & Linux x64)

ztuzethfie Link encap:Ethernet  HWaddr 3a:6b:af:76:6a:cf  
          inet addr:172.22.106.40  Bcast:172.22.255.255  Mask:255.255.0.0
          inet6 addr: fe80::386b:afff:fe76:6acf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:2800  Metric:1
          RX packets:2705 errors:0 dropped:0 overruns:0 frame:0
          TX packets:859 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:246611 (246.6 KB)  TX bytes:81755 (81.7 KB)

and

ztuzethfie Link encap:Ethernet  HWaddr 3a:b2:38:b0:60:8a  
          inet addr:172.22.72.100  Bcast:172.22.255.255  Mask:255.255.0.0
          inet6 addr: fe80::38b2:38ff:feb0:608a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:2800  Metric:1
          RX packets:41 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3314 (3.3 KB)  TX bytes:4452 (4.4 KB)

On the upgraded version, I have the expected: _zt0_ (Linux x64)

zt0       Link encap:Ethernet  HWaddr 3a:56:50:f7:b3:1e  
          inet addr:172.22.106.42  Bcast:172.22.255.255  Mask:255.255.0.0
          inet6 addr: fe80::3856:50ff:fef7:b31e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:2800  Metric:1
          RX packets:73 errors:0 dropped:0 overruns:0 frame:0
          TX packets:349 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6364 (6.3 KB)  TX bytes:44008 (44.0 KB)

Most helpful comment

According to this blogpost it should be doable by playing with the file /var/lib/zerotier-one/devicemap.

All 4 comments

@AlexisTM v1.2.6 changed the zerotier device name:

"Device names are now generated deterministically based on network IDs for all newly joined networks."

See https://github.com/zerotier/ZeroTierOne/blob/master/RELEASE-NOTES.md

I love it then!
But therefore, the upgraded is with the old device name. How can I update it?

According to this blogpost it should be doable by playing with the file /var/lib/zerotier-one/devicemap.

Seems like the link above is broken, but the format of /var/lib/zerotier-one/devicemap is:

80xxxxxxxxxxx6d=zt0

networkID=ifname

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paweljacewicz picture paweljacewicz  路  4Comments

bstin picture bstin  路  3Comments

leviacn picture leviacn  路  3Comments

tim77 picture tim77  路  4Comments

gdamore picture gdamore  路  5Comments