CHange allocate_ip to post, and ditch routes that cannot work for now.