initial implementation of static_ips

gigantic disgusting functions ahead. pending cleanup. works, though.

static_ips now just takes a list of offsets to select from the IP pool; it
gets the name of the network from the map it's used in, as it's already there.