[one-users] VM gateway problem

Monish Jain Monish.Jain at rsystems.com
Mon Jun 3 02:17:33 PDT 2013


Hi,

I have successfully deployed a test virtual machine on ESXI host, but the VM is not getting the gateway ip as defined in the Virtual Network and associated with the template of the VM. The details of the config are as under:

[root at cloud1 60]# onevnet show 13


VIRTUAL NETWORK 13 INFORMATION
ID             : 13
NAME           : sabnet
USER           : oneadmin
GROUP          : oneadmin
CLUSTER        : mucluster
TYPE           : FIXED
BRIDGE         : VM Network
VLAN           : Yes
USED LEASES    : 1

PERMISSIONS
OWNER          : uma
GROUP          : uma
OTHER          : uma

VIRTUAL NETWORK TEMPLATE
GATEWAY="10.196.221.254"

USED LEASES
LEASE=[ MAC="02:00:0a:c4:dd:a0", IP="10.196.221.160", IP6_LINK="fe80::400:aff:fec4:dda0", USED="1", VID="65" ]

VIRTUAL MACHINES

    ID USER     GROUP    NAME            STAT UCPU    UMEM HOST             TIME
    65 oneadmin oneadmin sab22           runn    0      0K esxi         2d 16h33
-----------------------------------------------------------------------------------------------------------------------------
The template that I have used to create VM is as follows:

SSH_PUBLIC_KEY

$USER[SSH_PUBLIC_KEY]

ETH0_IPV6

$NIC[IP6_GLOBAL,NETWORK_ID="13"]

ETH0_NETWORK

$NETWORK[NETWORK_ADDRESS,NETWORK_ID="13"]

ETH0_MASK

$NETWORK[NETWORK_MASK,NETWORK_ID="13"]

ETH0_IP

$NIC[IP,NETWORK_ID="13"]

ETH0_DNS

$NETWORK[DNS,NETWORK_ID="13"]

ETH0_CONTEXT_FORCE_IPV4

$NETWORK[CONTEXT_FORCE_IPV4,NETWORK_ID="13"]

ETH0_GATEWAY6

$NETWORK[GATEWAY6,NETWORK_ID="13"]

ETH0_GATEWAY

$NETWORK[GATEWAY,NETWORK_ID="13"]

OS

ARCH

i686

NIC

NETWORK_ID

13

MEMORY

1024

GRAPHICS

TYPE

VNC

LISTEN

0.0.0.0

PORT

5905

DISK

IMAGE_ID

15

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Thanks & Regards
Monish jain



________________________________
The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, please immediately alert the sender by reply e-mail and then delete this message. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. R Systems has taken every reasonable precaution to minimize the risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130603/edf009e5/attachment-0001.htm>


More information about the Users mailing list