[one-users] non-standard network design option?

Whiffen, Richard Richard_Whiffen at cable.comcast.com
Thu Feb 17 13:55:43 PST 2011


Hello all,

I'm struggling with the networking configuration and am hoping to get some guidance on where I'm going wrong or what I can change.   Everything seems to be working so far except networking on my configuration.  I have a /22 subnet to work with: 10.21.164/22.  Controler is 10.21.164.54, kvm node is: 10.21.164.153.  I set up a network with three IP addresses: 10.21.167.110, .111 and .112.

When I do a 'onevm create ttylinux.one' everything appears to work fine but the virt is not pingable. I have a feeling I'm missing something fundamental here.  I've attached some cmd output in hopes someone can see what I did wrong,

Thanks for your help in advance,

Rich Whiffen

Here's the bridge on the kvm host (this configuration works when we do standalone KVM).

[root at io-kvm-04 ~]# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.ca0d15fc0213       no              vnet0
                                                        eth0
virbr0          8000.000000000000       yes
[root at io-kvm-04 ~]#

I have two boxes set up this way:

[oneadmin at io-kvm-ctrl-01 one-templates]$ onehost list
  ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM STAT
   4 io-kvm-03         default    0   2400   2400   2400    252G  251.7G   on
   5 io-kvm-04         default    1   2400   2396   2390    252G  251.7G   on


[oneadmin at io-kvm-ctrl-01 one-templates]$ onevnet show "Small network"
VIRTUAL NETWORK 3 INFORMATION
ID:       : 3
UID:      : 0
PUBLIC    : Y

VIRTUAL NETWORK TEMPLATE
BRIDGE=br0
LEASES=[ IP=10.21.167.110 ]
LEASES=[ IP=10.21.167.111 ]
LEASES=[ IP=10.21.167.112 ]
NAME=Small network
TYPE=FIXED

LEASES INFORMATION
LEASE=[ IP=10.21.167.110, MAC=02:00:0a:15:a7:6e, USED=1, VID=16 ]
LEASE=[ IP=10.21.167.111, MAC=02:00:0a:15:a7:6f, USED=0, VID=-1 ]
LEASE=[ IP=10.21.167.112, MAC=02:00:0a:15:a7:70, USED=0, VID=-1 ]
[oneadmin at io-kvm-ctrl-01 one-templates]$

[oneadmin at io-kvm-ctrl-01 one-templates]$ onevm list
   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
   16 oneadmin ttylinux runn   0      0K       io-kvm-04 00 00:02:07

[oneadmin at io-kvm-ctrl-01 one-templates]$ onevm show ttylinux
VIRTUAL MACHINE 16 INFORMATION
ID             : 16
NAME           : ttylinux
STATE          : ACTIVE
LCM_STATE      : RUNNING
START TIME     : 02/17 16:34:00
END TIME       : -
DEPLOY ID:     : one-16

VIRTUAL MACHINE MONITORING
NET_RX         : 0
USED MEMORY    : 0
USED CPU       : 0
NET_TX         : 0

VIRTUAL MACHINE TEMPLATE
CONTEXT=[
  GATEWAY=10.21.164.1,
  HOSTNAME=ttylinux,
  IP=10.21.167.110,
  NETMASK=255.255.252.0,
  NS=10.21.164.97,
  TARGET=hdb ]
CPU=0.1
DISK=[
  DISK_ID=0,
  READONLY=no,
  SOURCE=/home/oneadmin/one-templates/ttylinux.img,
  TARGET=hda ]
FEATURES=[
  ACPI=no ]
MEMORY=64
NAME=ttylinux
NIC=[
  BRIDGE=br0,
  IP=10.21.167.110,
  MAC=02:00:0a:15:a7:6e,
  NETWORK=Small network,
  NETWORK_ID=3 ]
VMID=16
[oneadmin at io-kvm-ctrl-01 one-templates]$

--
Rich Whiffen
richard_whiffen at cable.comcast.com<mailto:richard_whiffen at cable.comcast.com>
AIM: richwhiffen
Yahoo: richwhiffen
Phone: 202-449-1312

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110217/c4805212/attachment-0002.htm>


More information about the Users mailing list