Fixed: raise error if couldn't change ip address