so I slept in my algorithms class

I have a network subnet, and some used IPs in that subnet. what's a good algorithm for picking a new IP?

my brain is as far as "consider the subnet as a binary tree" and... like maybe extend the shortest part of the tree I guess?

Follow

@iliana What are you trying to optimize for? If you have a sparsely-populated subnet, random can be a good choice.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Wobscale Social

wobscale.social - a server for friends of the Wob, affiliated with Wobscale Technologies