We want to set up a connection to several servers at a customer site and are requested to deal with potentially changing IP addresses as they don't want to keep track of the MAC addresses used, with some quick research I came up with the following options:
- Broadcast: Using some discovery mechanism like mDNS whereas UDP broadcasts would have to be routed to all relevant subnets
- Centralized: Having one Dynamic DNS server with a static IP which all servers register to and is known (could also be via some provider over the internet, but undesirable)
- Hybrid: Having one bootstrap node to establish a virtual network (e.g. meshbird) and then use some discovery mechanism
- (highly undesirable) Doing a "bruteforce" IP range lookup and then checking if relevant ports are open
Are there any other options I am not aware of? If broadcasting doesn't work, which method would be the quickest and most reliable to have a simple "Identifier -> IP" mapping in a local network without access to the router?