Looking for suggestions for running a server-bridge config that allows for both a small number of clients that get static addresses and a pool of addresses for the remainder of clients. At the moment, I'm running the server with (in part):
...
server-bridge 10.0.0.8 255.255.255.0 10.0.0.224 10.0.0.231
tls-server
max-clients 8
...
Then, on the dynamic clients, I have just:
...
client
tls-client
nobind
pull
...
And, on the couple of clients where I want a static address, I do something like this:
...
#client
tls-client
ifconfig 10.0.0.10 255.255.255.0
nobind
#pull
...
The significant differences are 1) disabling the "client" and "pull" directives, and 2) adding an explicit "ifconfig" directive.
This configuration seems to be functional, but both the server and the client complain periodically about:
WARNING: 'ifconfig' is present in local config but missing in remote config, local='ifconfig 10.0.0.0 255.255.255.0'
So, my guess is that this is not the ideal method for achieving a partially-static partially-dynamic subnet setup. Would it be better to set up per-client configs on the server using --client-config-dir, or is there some other better way to achieve this?