modify the type of ip