Improve default network configuration

* Allocate a /16 IP range by default, with fallback to /24.
* Try a total of 12 ranges instead of 3.

For a real-world example of the problem this solves, see https://news.ycombinator.com/item?id=6085760