Zerotier internal controller no IP assignment.
Posted: Tue Oct 04, 2022 10:18 am
Hi, I was testing zerotier controller on a 4011.
I followed the guide mikrotik:
https://help.mikrotik.com/docs/display/ ... Controller
Everything seems to work except the ip assignment. In the guide it is written that I should find in ip/address an ip assigned to the zerotier interface of the pool decided in the controller but it is not there, if I assign it manually and if I assign an ip to a remote client the two are able to ping each other, i am able also to see as neighboors the remote clients.
Mi configuration:
/zerotier
set zt1 comment="ZeroTier Central controller - https://my.zerotier.com/" identity="47f0..." name=zt1 port=9993
/zerotier controller
add instance=zt1 ip-range=172.100.0.10-172.100.0.254 name=ZT-private network=47f00... routes=172.100.0.0/24
/zerotier interface
add allow-default=yes allow-global=yes allow-managed=yes disabled=no instance=zt1 name=myZeroTier network=47f00...
/zerotier controller member
#This is the rb4011 istance client in my office, the controller is on the same machine.
add authorized=yes ip-address=172.100.0.84 network=ZT-private zt-address=47f00...
#This is an homeassistant os remote client
add authorized=yes ip-address=172.100.0.225 network=ZT-private zt-address=dbaa...
#This is a remote 4011 board in my house
add authorized=yes ip-address=172.100.0.242 network=ZT-private zt-address=da320...
None of these is able to obtain an ip address automatically, I expected since the controller has chosen some addresses from the pool to be assigned to the various clients to see them reflected in ip address. Maybe I am wrong something I is the first time I try to use this protocol.
I followed the guide mikrotik:
https://help.mikrotik.com/docs/display/ ... Controller
Everything seems to work except the ip assignment. In the guide it is written that I should find in ip/address an ip assigned to the zerotier interface of the pool decided in the controller but it is not there, if I assign it manually and if I assign an ip to a remote client the two are able to ping each other, i am able also to see as neighboors the remote clients.
Mi configuration:
/zerotier
set zt1 comment="ZeroTier Central controller - https://my.zerotier.com/" identity="47f0..." name=zt1 port=9993
/zerotier controller
add instance=zt1 ip-range=172.100.0.10-172.100.0.254 name=ZT-private network=47f00... routes=172.100.0.0/24
/zerotier interface
add allow-default=yes allow-global=yes allow-managed=yes disabled=no instance=zt1 name=myZeroTier network=47f00...
/zerotier controller member
#This is the rb4011 istance client in my office, the controller is on the same machine.
add authorized=yes ip-address=172.100.0.84 network=ZT-private zt-address=47f00...
#This is an homeassistant os remote client
add authorized=yes ip-address=172.100.0.225 network=ZT-private zt-address=dbaa...
#This is a remote 4011 board in my house
add authorized=yes ip-address=172.100.0.242 network=ZT-private zt-address=da320...
None of these is able to obtain an ip address automatically, I expected since the controller has chosen some addresses from the pool to be assigned to the various clients to see them reflected in ip address. Maybe I am wrong something I is the first time I try to use this protocol.