[one-users] specifying network options?
Javier Fontan
jfontan at gmail.com
Fri Jun 18 09:54:21 PDT 2010
Hello,
OpenNebula itself does not take netmask and gateway into account. The
way it works is that the ip assigned is used to generate a mac address
that is assigne to the VM. There are several ways to pass network
information to the VM, the simplest one is to get the ip from the mac
address itself at startup and set the other values to sensible
defaults. This is expained in the last section of
http://opennebula.org/documentation:rel1.4:vgg
A better way would be to use contextualization disk, this is explained
here: http://opennebula.org/documentation:rel1.4:cong
Another way can be creating a dhcp server with configuration for each
network (4 least significant bytes are in fact the ip, easy to map) so
you can pass this info.
Getting this values (NETMASK and GATEWAY) from the network using
contextualization disk method is still not supported but it will be in
1.6 http://dev.opennebula.org/issues/197
Bye
On Thu, Jun 17, 2010 at 11:21 PM, Dan Yocum <yocum at fnal.gov> wrote:
> Hi all,
>
> How can I specify certain network options in the config file used by
> onevnet?
>
> Specifically, I need to set the NETMASK and GATEWAY parameters.
>
> Thanks,
> Dan
>
> --
> Dan Yocum
> Fermilab 630.840.6509
> yocum at fnal.gov, http://fermigrid.fnal.gov
> "I fly because it releases my mind from the tyranny of petty things."
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
More information about the Users
mailing list