refactored ip allocation
updating ip allocations