Adding IP address to OpenVZ VPS (OpenVZ Web Panel)
Posted
by
andy
on Ask Ubuntu
See other posts from Ask Ubuntu
or by andy
Published on 2012-11-30T15:21:59Z
Indexed on
2012/11/30
17:20 UTC
Read the original article
Hit count: 450
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?
© Ask Ubuntu or respective owner