Adding IP address to OpenVZ VPS (OpenVZ Web Panel)

Posted by andy on Server Fault See other posts from Server Fault or by andy
Published on 2012-11-30T14:21:04Z Indexed on 2012/12/02 23:11 UTC
Read the original article Hit count: 484

Filed under:
|
|
|

I apologise if I sound at all dumb. This is my first dedicated server having used a VPS for over a year and I'm trying to setup a VPS on this new server. I purchased a subnet from my hosting provider that I believe allows me 6 usable IP addresses:

177.xx.xxx.201 - 177.xx.xxx.206

The subnet address looks like this: 177.xx.xxx.200/29. I've gone on my server and added them like it said on a wiki like so:

ip addr add 177.**.***.201/29 dev eth0

I done that for all six and now when I go to them in the browser they point to my server. The problem is, I'm using OpenVZ web panel to create VMs (http://code.google.com/p/ovz-web-panel/) so I created a VM and assigned one of those IPs to it. However when SSHing to that IP it SSH's to the dedicated server and not the VM. Am I missing something?

© Server Fault or respective owner

Related posts about ip

Related posts about virtual-machines