Allocating /24 to linux ZT interface

Hi,

I am trying to assign secondary IP address from my static pool to linux interface. That address would be /24. The goal is to use such subnet to my docker containers running on that host and glue it with macvlan.

Unfortunately ZT ignores the subnet and as secondary interface just installs single interface.

Is there some way to assign a subnet to a linux host such that I could use the subnet’s range to allocate addresses to virtual devices running on that bridge there ?

Many thx,
R.

Hello,
I’m not sure about the rest of it, but it won’t assign an address unless it has a matching Managed Route.
So if you want the interface to have 192.168.2.3, you need a managed route 192.168.2.0/24 (leave via blank)

some possibly related resources:

https://zerotier.atlassian.net/wiki/spaces/SD/pages/224395274/Route+between+ZeroTier+and+Physical+Networks

https://zerotier.atlassian.net/wiki/spaces/SD/pages/7274520/Using+NDP+Emulated+6PLANE+Addressing+With+Docker

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