to change ip between static and dhpc