[one-users] OpenNebula does not use MAC value included into VM NIC template

Alvaro Simon Garcia Alvaro.SimonGarcia at UGent.be
Mon Aug 11 01:06:22 PDT 2014


Hi Ruben

Ok, thanks a lot for the clarification!

Cheers
Alvaro
On 18/07/14 20:55, Ruben S. Montero wrote:
> Hi
>
> Note that when a NIC requests an IP from a network you use IP or MAC 
> (supported in 4.8) to select the IP defined in the network, and not to 
> set its MAC. This is IP/MAC are keys to search the lease, in your 
> example the IP is used to select the lease and you get the MAC address 
> associated to it. You need to update the network so the IP has the 
> desired MAC.
>
> Cheers
>
> Ruben
>
>
> On Wed, Jul 16, 2014 at 3:24 PM, Alvaro Simon Garcia 
> <Alvaro.SimonGarcia at ugent.be <mailto:Alvaro.SimonGarcia at ugent.be>> wrote:
>
>     Hi
>
>     We need to set (and modify from time to time) the MAC address in
>     our VM templates, by default ONE generates this MAC using the
>     default prefix value and the VM ip, but we need to set a different
>     MAC in some cases. We are including the MAC address into NIC
>     section, as example:
>
>         NIC=[
>           IP="10.141.8.30",
>           MAC="AA:00:00:80:01:00",
>           MODEL="virtio",
>           NETWORK="br100",
>           NETWORK_UNAME="oneadmin",
>           TARGET="eth0" ]
>
>
>     but OpenNebula is still using the default value, and at the end we
>     have to include the harcoded mac into our vnet conf (and we don't
>     want to do that):
>
>     LEASE=[ MAC="aa:01:00:80:01:00", IP="10.141.8.40",
>     IP6_LINK="fe80::ac01:ff:fe80:100", USED="0", VID="-1" ]
>
>     do you know if this is a known issue, or do we need to do
>     something else to set the MAC from the VM template? We are testing
>     opennebula 4.6 right now
>
>     Thanks in advance!
>     Álvaro
>     _______________________________________________
>     Users mailing list
>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> -- 
> -- 
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org <http://www.OpenNebula.org> | 
> rsmontero at opennebula.org <mailto:rsmontero at opennebula.org> | @OpenNebula

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140811/51d477aa/attachment.htm>


More information about the Users mailing list