Have you enabled IP forwarding (as per http://wiki.openvz.org/Quick_installation#sysctl)? Are you using real IP for your VE?

Ian jonhson wrote:
Thank you very much~~

But it seems that I can not connect internet in VE. It is OK when ping
to its host system, however when ping external IP address, it dumps. I
google the internet to find how to set the netwrok in VE, but I can
not find any hint to do it.

Could anybody give some advices how to configure network?

Thanks again,

Ian

On 10/18/07, Kirill Korotaev <[EMAIL PROTECTED]> wrote:
Ian,

just like to any other usual machine using
ssh from your workstation.

1. assign IP address to some VE using
ve0# vzctl set <VEID> --ipadd <VEIP> --save

2. just in case, check that VE is pingable from your workstation:
ws# ping <VEIP>

3. just in case, check that VE is running sshd service:
ve0# vzctl exec <VEID> ps axf | grep sshd

if it is not running sshd then enter to VE using vzctl enter command
and install/start sshd service.

4. don't forget to set root user password
ve0: vzctl set <VEID> --userpasswd root:mypassword

5. now you can login to VE as to usual machine using it's IP

Kirill


Ian jonhson wrote:
---------- Forwarded message ----------
From: Ian jonhson <[EMAIL PROTECTED]>
Date: Oct 18, 2007 2:17 PM
Subject: Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)
To: [EMAIL PROTECTED]


Thank you very much!

I have created my own VE, however how can I login VE by ssh? I used
the IP setting described in
http://wiki.openvz.org/Installation_on_Debian.

Thanks again,

Ian

On 10/17/07, E Frank Ball III <[EMAIL PROTECTED]> wrote:

On Wed, Oct 17, 2007 at 12:20:01PM +0800, Ian jonhson wrote:
 > Where can I get the pre-built kernel image?

http://download.openvz.org/debian/dists/etch/main/binary-i386/base/

In your sources list add:

deb http://download.openvz.org/debian etch main

I added the line in source.list, but apt-cache search said it can not
open the website.

"apt-cache search linux-image-2.6.18-openvz" shows the openvz kernels
for me.



I'm using linux-image-2.6.18-openvz-13-39.1d2-686_028.39.1d2_i386.deb

I opened the link given above and found the image file, but I don't
know how to use it after download the image file.

Could you give me some advices?
If you manually downloaded it then install it with
"dpkg -i linux-image-2.6.18-openvz-13-39.1d2-686_028.39.1d2_i386.deb"


--

  E Frank Ball                [EMAIL PROTECTED]

_______________________________________________
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

Reply via email to