don't enumerate the whole subnet when looking for a free address, #18556