Set/reset ovz container IP address

From vpsget wiki
Jump to: navigation, search

To set/reset ovz container ip address perfome next command from the NODE:

vzctl set <vzID> --ipdel all && vzctl set <vzID> --ipadd <IP_Addr> --save

For example

 vzctl set 398 --ipdel all && vzctl set 398 --ipadd --save

NOTE: The same can be done from SolusVM CP admin area. You should assign new address to vps, change main ip and after remove old ip address.