Re: Networking in OpenVZ [message #213 is a reply to message #212] |
Mon, 10 October 2005 00:23   |
|
Try using the delete command first
vzctl set 101 --ipdel 123.123.123.123 FROM ALL VPS you have created.
As root or su -l type ifconfig to show your active IP's
If you only have one your all set.
If you have more than one IP go to /etc/sysconfig/network-scripts and rename the file ifcfg-eth0-range0 by something like "mv ifcfg-eth0-range0 OLDifcfg-eth0-range0" then "/etc/init.d/network restart"
If there was only one IP showing and the VPS still does not respond I would guess you did not bind SSHD to just the main IP of the box. Not only is this essential but its helps to secure the box. Otherwise SSHD will bind to every IP you have on the box from the default sshd_config and you won't get very far with your newly created VPS.
Good Luck!
Just Because You Have One, Doesn't Mean You Have To Be One!
|
|
|