<div dir="ltr">thank You for your help Javier. Here are the details -<br><br>$ onevm show 20 -a<br>VIRTUAL MACHINE 20 INFORMATION<br>ID : 20<br>NAME : testvm3<br>USER : oneadmin<br>
GROUP : oneadmin<br>STATE : ACTIVE<br>LCM_STATE : RUNNING<br>RESCHED : No<br>HOST : test<br>CLUSTER ID : -1<br>START TIME : 02/08 21:08:23<br>
END TIME : -<br>DEPLOY ID : one-20<br><br>VIRTUAL MACHINE MONITORING<br>NET_RX : 68.4G<br>NET_TX : 96.1G<br>USED MEMORY : 2G<br>USED CPU : 112<br><br>PERMISSIONS<br>
OWNER : um-<br>GROUP : ---<br>OTHER : ---<br><br>VM DISKS<br> ID TARGET IMAGE TYPE SAVE SAVE_AS<br> 0 hda CentOS-6.4_x86_64 -Copy 2 file NO -<br>
<br>VM NICS<br> ID NETWORK VLAN BRIDGE IP MAC<br> 0 private no br0 172.16.192.64 02:00:ac:10:c0:40<br> fe80::400:acff:fe10:c040<br>
<br>VIRTUAL MACHINE HISTORY<br>SEQ HOST ACTION DS START TIME PROLOG<br> 0 test stop 0 02/08 21:08:43 0d 20h51m 0h00m14s<br> 1 test undeploy 0 02/09 18:02:12 0d 00h02m 0h00m00s<br>
2 test none 0 02/09 18:07:42 7d 18h43m 0h00m00s<br><br>VIRTUAL MACHINE TEMPLATE<br>AUTOMATIC_REQUIREMENTS="!(PUBLIC_CLOUD = YES)"<br>CONTEXT=[<br> DISK_ID="1",<br> SSH_PUBLIC_KEY="ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAtDxiwxLzNnlvGPBJEmVRNfV5bCxw1MMPh5/qWtEGNOnamzDr+Qyn6qZcAn3gHUP8FTm0HagsYLgjfJrfu6F0BY4Nk+8R3l9TzwJS1EzaeZ4GQOAjsL51opckxw3fjwctKCPC2nTXcvtiy9lpdo9hl1vKerCAfwwoKTnvyoNaykys+TXNR22fhrJzxVbX81BI2rte0ReNEwYyKzh/aBslKHadmvibkv1msC9+GHPOgmJF8cKzpEqxEQrj+x7FwpcHqwhVvwZfDYMn/nNTHubTWoR0Rl0+u5j6B1MGnY9ueMmqHWgy/m6RU8ctuyYa4/yMffpTHTvZ3mqGIcSgFRtoFQ== oneadmin@fermi",<br>
TARGET="hdb" ]<br>CPU="1"<br>DISK=[<br> CLONE="YES",<br> CLONE_TARGET="SYSTEM",<br> DATASTORE="default",<br> DATASTORE_ID="1",<br> DEV_PREFIX="hd",<br>
DISK_ID="0",<br> DRIVER="qcow2",<br> IMAGE="CentOS-6.4_x86_64 -Copy 2",<br> IMAGE_ID="3",<br> IMAGE_UNAME="oneadmin",<br> LN_TARGET="NONE",<br> READONLY="NO",<br>
SAVE="NO",<br> SIZE="218",<br> SOURCE="/var/lib/one//datastores/1/e2b9535f84eef5185c2554371e0e8727",<br> TARGET="hda",<br> TM_MAD="shared",<br> TYPE="FILE" ]<br>
GRAPHICS=[<br> LISTEN="0.0.0.0",<br> PORT="5920",<br> TYPE="VNC" ]<br>MEMORY="2048"<br>NIC=[<br> BRIDGE="br0",<br> IP="172.16.192.64",<br> IP6_LINK="fe80::400:acff:fe10:c040",<br>
MAC="02:00:ac:10:c0:40",<br> NETWORK="private",<br> NETWORK_ID="0",<br> NETWORK_UNAME="oneadmin",<br> NIC_ID="0",<br> VLAN="NO" ]<br>OS=[<br> ARCH="x86_64" ]<br>
TEMPLATE_ID="5"<br>VCPU="2"<br>VMID="20"<br><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 14, 2014 at 1:47 AM, Javier Fontan <span dir="ltr"><<a href="mailto:jfontan@opennebula.org" target="_blank">jfontan@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Can you send us the VM definition (onevm show 20 -a). It looks like<br>
the network info is not in the context section.<br>
<div><div class="h5"><br>
On Wed, Feb 12, 2014 at 10:21 PM, SysSolutions99<br>
<<a href="mailto:syssolutions99@gmail.com">syssolutions99@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> The netmask on my network is 255.255.0.0, yet the VMs get plumbed with<br>
> 255.255.255.0.<br>
> I have tried setting up the netmask using the onevnet command but I am not<br>
> able to. Please help.<br>
><br>
> here are the network details of the main host<br>
><br>
> - # ifconfig br0<br>
> br0 Link encap:Ethernet HWaddr 00:25:90:E2:C5:98<br>
> inet addr:172.16.192.60 Bcast:172.16.255.255 Mask:255.255.0.0<br>
> inet6 addr: fe80::225:90ff:fee2:c598/64 Scope:Link<br>
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
> RX packets:10352600 errors:0 dropped:0 overruns:0 frame:0<br>
> TX packets:5714417 errors:0 dropped:0 overruns:0 carrier:0<br>
> collisions:0 txqueuelen:0<br>
> RX bytes:6383539896 (5.9 GiB) TX bytes:8971371821 (8.3 GiB)<br>
><br>
> # netstat -rn<br>
> Kernel IP routing table<br>
> Destination Gateway Genmask Flags MSS Window irtt<br>
> Iface<br>
> 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0<br>
> virbr0<br>
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br0<br>
> 172.16.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br0<br>
> 0.0.0.0 172.16.192.1 0.0.0.0 UG 0 0 0 br0<br>
><br>
><br>
> Here are the networking details of the VM:<br>
><br>
> # ifconfig eth0<br>
> eth0 Link encap:Ethernet HWaddr 02:00:AC:10:C0:40<br>
> inet addr:172.16.192.64 Bcast:172.16.192.255 Mask:255.255.255.0<br>
> inet6 addr: fe80::acff:fe10:c040/64 Scope:Link<br>
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
> RX packets:165669946 errors:0 dropped:1041 overruns:0 frame:0<br>
> TX packets:170954965 errors:0 dropped:0 overruns:0 carrier:0<br>
> collisions:0 txqueuelen:1000<br>
> RX bytes:27122115947 (25.2 GiB) TX bytes:41114623111 (38.2 GiB)<br>
> Interrupt:10<br>
><br>
> # netstat -rn<br>
> Kernel IP routing table<br>
> Destination Gateway Genmask Flags MSS Window irtt<br>
> Iface<br>
> 172.16.192.0 0.0.0.0 255.255.255.0 U 0 0 0<br>
> eth0<br>
> 0.0.0.0 172.16.192.1 0.0.0.0 UG 0 0 0<br>
> eth0<br>
><br>
><br>
><br>
> Here is the onevnet definition -<br>
><br>
> [oneadmin@fermi ~]$ onevnet show 0<br>
> VIRTUAL NETWORK 0 INFORMATION<br>
> ID : 0<br>
> NAME : private<br>
> USER : oneadmin<br>
> GROUP : oneadmin<br>
> CLUSTER : -<br>
> TYPE : FIXED<br>
> BRIDGE : br0<br>
> VLAN : No<br>
> USED LEASES : 4<br>
><br>
> PERMISSIONS<br>
> OWNER : um-<br>
> GROUP : ---<br>
> OTHER : ---<br>
><br>
> VIRTUAL NETWORK TEMPLATE<br>
> GATEWAY="172.16.192.1"<br>
> NETMASK="255.255.0.0"<br>
><br>
> USED LEASES<br>
> LEASE=[ MAC="02:00:ac:10:c0:40", IP="172.16.192.64",<br>
> IP6_LINK="fe80::400:acff:fe10:c040", USED="1", VID="20" ]<br>
> LEASE=[ MAC="02:00:ac:10:c0:55", IP="172.16.192.85",<br>
> IP6_LINK="fe80::400:acff:fe10:c055", USED="1", VID="13" ]<br>
> LEASE=[ MAC="02:00:ac:10:c0:56", IP="172.16.192.86",<br>
> IP6_LINK="fe80::400:acff:fe10:c056", USED="1", VID="9" ]<br>
> LEASE=[ MAC="02:00:ac:10:c0:5c", IP="172.16.192.92",<br>
> IP6_LINK="fe80::400:acff:fe10:c05c", USED="1", VID="19" ]<br>
><br>
> FREE LEASES<br>
> LEASE=[ MAC="02:00:ac:10:c0:57", IP="172.16.192.87",<br>
> IP6_LINK="fe80::400:acff:fe10:c057", USED="0", VID="-1" ]<br>
> LEASE=[ MAC="02:00:ac:10:c0:58", IP="172.16.192.88",<br>
> IP6_LINK="fe80::400:acff:fe10:c058", USED="0", VID="-1" ]<br>
> LEASE=[ MAC="02:00:ac:10:c0:59", IP="172.16.192.89",<br>
> IP6_LINK="fe80::400:acff:fe10:c059", USED="0", VID="-1" ]<br>
> LEASE=[ MAC="02:00:ac:10:c0:5a", IP="172.16.192.90",<br>
> IP6_LINK="fe80::400:acff:fe10:c05a", USED="0", VID="-1" ]<br>
> LEASE=[ MAC="02:00:ac:10:c0:5b", IP="172.16.192.91",<br>
> IP6_LINK="fe80::400:acff:fe10:c05b", USED="0", VID="-1" ]<br>
> LEASE=[ MAC="02:00:ac:10:c0:5d", IP="172.16.192.93",<br>
> IP6_LINK="fe80::400:acff:fe10:c05d", USED="0", VID="-1" ]<br>
><br>
> VIRTUAL MACHINES<br>
><br>
> ID USER GROUP NAME STAT UCPU UMEM HOST<br>
> TIME<br>
> 9 oneadmin oneadmin testvm9 runn 0 512M test 32d 20h47<br>
> 13 oneadmin oneadmin testvm1 runn 0 2G test 29d 02h33<br>
> 19 oneadmin oneadmin testvm2 runn 0 2G test 3d 17h13<br>
> 20 oneadmin oneadmin testvm3 runn 1 2G test 3d 15h54<br>
> [oneadmin@fermi ~]$<br>
><br>
><br>
> Regards.<br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
<span class=""><font color="#888888"><br>
<br>
<br>
--<br>
Javier Fontán Muiños<br>
Developer<br>
OpenNebula - The Open Source Toolkit for Data Center Virtualization<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @OpenNebula | <a href="http://github.com/jfontan" target="_blank">github.com/jfontan</a><br>
</font></span></blockquote></div><br></div></div>