Set/reset ovz container IP address

From vpsget wiki
Revision as of 14:15, 23 September 2013 by Ndi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.