[one-users] default gateway setting in VM

Campbell, Bill bcampbell at axcess-financial.com
Thu Feb 21 05:13:56 PST 2013


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.decarvalho at gmail.com> 
To: users at 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130221/85c339e2/attachment-0002.htm>


More information about the Users mailing list