[one-users] Networking in Open Nebula
Tino Vazquez
tinova at fdi.ucm.es
Wed Mar 24 04:53:43 PDT 2010
Hi Shweta,
You need to include a script within the VM so it set the correct
network attributes at boot time. Take a look at the last section of
[1].
Another detail to take into account is that the vmcontext.sh script
derives the IP address from the MAc address, so the following lease
won't make the VM to have the rigth IP address:
LEASES= [IP="172.16.2.205",MAC="50:20:20:20:20:20"]
If you specify just the IP address, OpenNebula will compute the right MAC.
Regards,
-Tino
[1] http://opennebula.org/documentation:rel1.4:vgg
--
Constantino Vázquez, Grid & Virtualization Technology
Engineer/Researcher: http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
On Fri, Mar 19, 2010 at 1:45 PM, Shweta Gulati <shweta.svnit at gmail.com> wrote:
> Hi
>
> I need to configure networking in Open Nebula. The Virtual Machines are not
> instantiated with the private and the public ips mentioned in the
> templates(private.net and public.net). I have also given the name of the
> private and the public network in my NICs.
>
> I have done the following steps
>
> Private.net template
>
> NAME = "Small network"
> TYPE = FIXED
>
> #Now we'll use the cluster private network (physical)
> BRIDGE = "virbr0"
> LEASES = [ IP="192.168.122.3"]
> LEASES = [ IP="192.168.122.4"]
>
> Public.net template
>
> NAME = "Public LAN"
> TYPE = "FIXED"
> BRIDGE= "virbr1"
> LEASES= [IP="172.16.2.205",MAC="50:20:20:20:20:20"]
> LEASES= [IP="172.16.2.206",MAC="50:20:20:20:20:21"]
>
> VM Template
>
> NIC = [ NETWORK = "Small network" ]
> NIC = [ NETWORK = "Public LAN" ]
>
> I have also setup 2 bridges in the host(virbr0 and virbr1). The bridge
> virbr1 is connected to my physical interface eth0 in the host.
>
> With al these changes my vm is still not launched with the desired private
> and public ips. Any help in this regard will be really appreciated.
>
> Thanks
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
More information about the Users
mailing list