Difference between revisions of "Set/reset ovz container IP address"

From vpsget wiki
Jump to: navigation, search
(Created page with "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 ...")
 
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
 +
 +
[[Category:Admin]]

Revision as of 16:53, 11 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