Difference between revisions of "Set/reset ovz container IP address"
Line 5: | Line 5: | ||
For example | For example | ||
vzctl set 398 --ipdel all && vzctl set 398 --ipadd 1.1.1.1 --save | vzctl set 398 --ipdel all && vzctl set 398 --ipadd 1.1.1.1 --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. | ||
[[Category:Admin area]] | [[Category:Admin area]] |
Latest revision as of 14:15, 23 September 2013
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 1.1.1.1 --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.