Ok so i got this running in Openwrt router tire both layer 2 and layer 3 and works
in layer 3 mysetup
internet->wan of mikrotik. Mikrotik (Serves Dhcp) ip. 18.104.22.168-> switch
Opwrt Router setup->opwrt or put on switch-> in lan fixed the ip to 22.214.171.124-> dhcp off(as mikrotik is providing it )-> gateway 126.96.36.199->dns 188.8.131.52-> network 184.108.40.206
IPv4 Auto-Assign (advanced)
[x] Auto-Assign from Range: 192.168.2.2-192.168.2.4
220.127.116.11/24 (192.168.2.1(this is fixed for opwrt router online on ZeroTier website )
so on 18.104.22.168/24
Openwrt router 22.214.171.124(local lan), 192.168.2.1(ZeroTier)
From external network i can ping 126.96.36.199 but cannot 188.8.131.52.
Has anyone done this routing to achieve this.
L2 i tried keeping the Zt dhcp ipaddresses same as 184.108.40.206/24 network and then bridge zt lan and local lan and it works . but i want in L3 that is the first example.
There has to be additional router on the openwrt router from local lan 220.127.116.11 to rest of the local network