OpenVZ Forum


Home » General » Support » IP assigning to container (-)
IP assigning to container [message #51122] Fri, 14 February 2014 21:26 Go to next message
Mantas5 is currently offline  Mantas5
Messages: 1
Registered: February 2014
Junior Member
I found a command on the OpenVZ wiki, and I would like to know more about it.

The command is:
vzctl set CTID --ipadd a.b.c.d --save

So, does this work with PUBLIC IPs? For Example I have 5 IPs assigned to my dedicated server, and I want to create 4 Containers each having different Public IP. So, only this command is needed or something more?

Thanks in advance.
Re: IP assigning to container [message #51123 is a reply to message #51122] Sat, 15 February 2014 22:28 Go to previous message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Of course it works for public IPs... The only thing you should make sure is that the other 4 IPs aren't bind to your ethernet card. So, keep one IP for your hardware node, release other 4 IPs and assign them to containers using the command you've mentioned.
Previous Topic: cPanel / Account quota
Next Topic: What's the latest OpenVZ (Debian) 2.6 kernel that works as a Xen Dom0?
Goto Forum:
  


Current Time: Sun Feb 05 14:32:52 GMT 2023

Total time taken to generate the page: 0.01158 seconds