Question
How to change the IP address of OpenVZ VPS via command line?
Answer
- Connect to OpenVZ node via SSH
- Run the commands:
# vzctl set CTID --ipadd <new_IP> --save
# vzctl set CTID --ipdel <old_IP> --save
Question
How to change the IP address of OpenVZ VPS via command line?
# vzctl set CTID --ipadd <new_IP> --save
# vzctl set CTID --ipdel <old_IP> --save
Comments
0 commentsPlease sign in to leave a comment.