updated with testing ip address allocation