[one-users] can't ping VM successfully
zhukun1111
zhukun1111 at 163.com
Wed Jul 8 20:09:59 PDT 2009
Hi:
I met some trouble when using oepnebula.pleases help me!I can't ping through the VM which runs on my host,but VM itself seems work successfully,Even migrating VM from 56 to 55 is OK! But I just can't ping through VM ,and don't mention ssh to it.because I got this below:
I have 3 machines with ubuntu9.04 as os.
202.115.17.54 is front-end.
202.115.17.56 is node.
202.115.17.55 is node.
All of them have just 1 network card with just 1 IP address above.
root at ubuntu54:~# brctl show
bridge name bridge id STP enabled interfaces
eth0 8000.0007e90f5520 no peth0
virbr0 8000.000000000000 yes
root at ubuntu56:~# brctl show
bridge name bridge id STP enabled interfaces
eth0 8000.feffffffffff no peth0
vif1.0
vif2.0
virbr0 8000.000000000000 yes
root at ubuntu54:~# onevm list
ID NAME STAT CPU MEM HOSTNAME TIME
4 vm2 runn 0 131072 202.115.17.56 00 00:45:15
5 vm3 runn 0 131072 202.115.17.56 00 00:37:27
root at ubuntu54:~# onehost list
HID NAME RVM TCPU FCPU ACPU TMEM FMEM STAT
0 202.115.17.56 2 200 191 50 1047552 1024 on
1 202.115.17.55 0 200 198 200 1047552 63488 on
root at ubuntu54:~# onevnet show 0
NID : 0
UID : 0
Network Name : Public
Type : Fixed
Bridge : eth0
....: Template :....
BRIDGE=eth0
LEASES=IP=202.115.17.2,MAC=50:20:20:20:20:21
LEASES=IP=202.115.17.3
LEASES=IP=202.115.17.4
NAME=Public
TYPE=FIXED
....: Leases :....
IP = 202.115.17.2 MAC = 50:20:20:20:20:21 USED = 1 VID = 4
IP = 202.115.17.3 MAC = 00:03:ca:73:11:03 USED = 1 VID = 5
IP = 202.115.17.4 MAC = 00:03:ca:73:11:04 USED = 0 VID = -1
I run this:
onevm create vm.conf
onevm deploy vm 202.115.17.56
the vm.conf is below:
NAME = vm3
CPU = 0.5
MEMORY = 128
OS = [
kernel = "/boot/vmlinuz-2.6.24-16-xen",
initrd = "/boot/initrd.img-2.6.24-16-xen",
root = "sda1" ]
DISK = [
source = "/local/images/disk.img",
target = "sda1",
readonly = "no" ]
DISK = [
type = "swap",
size = 1024,
target = "sdb"]
NIC = [ NETWORK = "Public" ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20090709/cbcb9c5c/attachment-0002.htm>
More information about the Users
mailing list