If I'm not mistaken, I believe you need to add the following context to your VM
template as well, otherwise the context script will not supply the gateway
information (this is just an example):
ETH0_GATEWAY = " $NETWORK [GATEWAY, NETWORK= \" public \" ]"
----- Original Message -----
From: "Alexandre De Carvalho" <alexandre7.decarva...@gmail.com>
To: users@lists.opennebula.org
Sent: Thursday, February 21, 2013 5:53:57 AM
Subject: [one-users] default gateway setting in VM
Hi,
I have a problem with my default gateway setting in vm. I create a virtual
network in advanced mode like this :
NAME = "Testtttt"
TYPE = RANGED
# Now we'll use the host private network (physical)
BRIDGE = vbr0
NETWORK_ADDRESS = 192.168.77.0/24
IP_START = 192.168.77.1
# Custom Attributes to be used in Context
GATEWAY = 192.168.77.254
So my default gateway should be 192.168.77.254. But when i see my default
gateway setting in vm with this command (route -n), i don't see this gateway
(192.168.77.254) but these one's 192.168.77.1. How can i resolve my problem ?
Best regards ,
Alexandre De Carvalho
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
NOTICE: Protect the information in this message in accordance with the
company's security policies. If you received this message in error, immediately
notify the sender and destroy all copies.
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org