<div dir="ltr">Hi Steven,<div><br></div><div>This is a limitation of the current model. We use the MAC address to generate the host id using the EUI64. With the 64 bits from the host plus the prefixes we derive the IPv6 addresses. That's the reason for not storing the link local address, it is just derived from the MAC as in linux. Basically it is assuming a stateless auto-configuration model.</div>
<div><br></div><div>Ranged leases only accepts MAC and IP. Just filled an issue to implement this [1]. Till this is implemented the workaround is to set the IPv6 hardcoded in the context of the VM template.</div><div><br>
</div><div>Cheers</div><div><br></div><div>Ruben</div><div><br></div><div>[1] <a href="http://dev.opennebula.org/issues/2818" target="_blank">http://dev.opennebula.org/issues/2818</a></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 26, 2014 at 11:04 PM, Steven Timm <span dir="ltr"><<a href="mailto:timm@fnal.gov" target="_blank">timm@fnal.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
A followup--I did find an example in the documentation but it is only for "RANGED" IPv6 network. I need a FIXED IPv6 network.<br>
<br>
I saw that when I set an IP6_GLOBAL PREFIX in the network<br>
file it would then append the ipv6-ified mac address of the<br>
machine and construct an IP6_GLOBAL for me. But that's not what I want.<br>
<br>
Would like to do something like this:<br>
LEASES = [ IP="<a href="tel:131.225.41.182" value="+13122541182" target="_blank">131.225.41.182</a>", MAC="54:52:00:02:0B:01", IP6_GLOBAL="2001:400:2410:29::<u></u>182" ]<br>
LEASES = [ IP="<a href="tel:131.225.41.183" value="+13122541183" target="_blank">131.225.41.183</a>", MAC="54:52:00:02:0B:02", IP6_GLOBAL="2001:400:2410:29::<u></u>183"]<br>
LEASES = [ IP="<a href="tel:131.225.41.184" value="+13122541184" target="_blank">131.225.41.184</a>", MAC="54:52:00:02:0B:03", IP6_GLOBAL="2001:400:2410:29::<u></u>184" ]<br>
LEASES = [ IP="<a href="tel:131.225.41.185" value="+13122541185" target="_blank">131.225.41.185</a>", MAC="54:52:00:02:0B:04", IP6_GLOBAL="2001:400:2410:29::<u></u>185" ]<br>
LEASES = [ IP="<a href="tel:131.225.41.186" value="+13122541186" target="_blank">131.225.41.186</a>", MAC="54:52:00:02:0B:05", IP6_GLOBAL="2001:400:2410:29::<u></u>186" ]<br>
<br>
But this doesn't work. the IP6_GLOBAL in the LEASES field is ignored.<br>
<br>
Is there any IPV6-related field that is accepted in the LEASES<br>
field of a fixed-network network template? This is of some urgency.<br>
(I promised my users who depend on ipv6 cloud vm's I would have them<br>
up this morning local time and it is now quitting time today).<br>
<br>
Steve<div><div><br>
<br>
<br>
On Wed, 26 Mar 2014, Steven Timm wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Below is the network template that I used to<br>
successfully create the IPV4 side of a dual stack ipv4/ipv6 network<br>
in one4.4.<br>
<br>
<br>
-bash-4.1$ cat static-ipv6-net<br>
NAME = "Static_IPV6_Public"<br>
TYPE = FIXED<br>
<br>
#Now we'll use the cluster private network (physical)<br>
BRIDGE = br0<br>
DNS = 131.225.0.254<br>
GATEWAY = <a href="tel:131.225.41.200" value="+13122541200" target="_blank">131.225.41.200</a><br>
NETWORK_MASK = 255.255.255.128<br>
LEASES = [ IP="<a href="tel:131.225.41.132" value="+13122541132" target="_blank">131.225.41.132</a>", MAC="00:16:3E:06:01:01" ]<br>
<br>
------------------------------<u></u>------------<br>
<br>
and here's what I get back:<br>
<br>
-bash-4.1$ onevnet show 1<br>
VIRTUAL NETWORK 1 INFORMATION<br>
ID : 1<br>
NAME : Static_IPV6_Public<br>
USER : oneadmin<br>
GROUP : oneadmin<br>
CLUSTER : -<br>
TYPE : FIXED<br>
BRIDGE : br0<br>
VLAN : No<br>
USED LEASES : 0<br>
<br>
PERMISSIONS<br>
OWNER : um-<br>
GROUP : ---<br>
OTHER : ---<br>
<br>
VIRTUAL NETWORK TEMPLATE<br>
DNS="131.225.0.254"<br>
GATEWAY="<a href="tel:131.225.41.200" value="+13122541200" target="_blank">131.225.41.200</a>"<br>
NETWORK_MASK="255.255.255.128"<br>
<br>
FREE LEASES<br>
LEASE=[ MAC="00:16:3e:06:01:01", IP="<a href="tel:131.225.41.132" value="+13122541132" target="_blank">131.225.41.132</a>", IP6_LINK="fe80::216:3eff:fe06:<u></u>101", USED="0", VID="-1" ]<br>
<br>
VIRTUAL MACHINES<br>
<br>
ID USER GROUP NAME STAT UCPU UMEM HOST TIME<br>
<br>
------------------------------<u></u>------------------------------<br>
I have several questions:<br>
<br>
1) Does the OpenNebula head node also have to have access to the<br>
IPv6 network too, or just the VM hosts?<br>
<br>
2) Is there any way to specify on a host by host basis<br>
the IPV6 address as well as the IPV4 address? I.e. for<br>
this host <a href="http://fgt1x1.fnal.gov" target="_blank">fgt1x1.fnal.gov</a> IPV4 is <a href="tel:131.225.41.132" value="+13122541132" target="_blank">131.225.41.132</a> and<br>
IPV6 Global address is 2001:400:2410:29::132<br>
<br>
It's puzzling because in the "leases" database table there<br>
is only room for id, ipv4 address, and body.<br>
the "IP6_LINK" field above is not anywhere stored in the database<br>
and yet it shows.<br>
<br>
3) Do the contextualization rpms as distributed with ONE4.0 and greater handle the<br>
process of setting up IPV6 addresses as part of contextualization?<br>
If so, what fields should we put in the CONTEXT section<br>
to set these values?<br>
<br>
Any help is appreciated as getting the ipv6 VM's up and running<br>
is of some urgency. Right now I am forced to configure<br>
the ipv6 addresses by hand once the VM is up.<br>
<br>
Steve Timm<br>
<br>
------------------------------<u></u>------------------------------<u></u>------<br>
Steven C. Timm, Ph.D <a href="tel:%28630%29%20840-8525" value="+16308408525" target="_blank">(630) 840-8525</a><br>
<a href="mailto:timm@fnal.gov" target="_blank">timm@fnal.gov</a> <a href="http://home.fnal.gov/~timm/" target="_blank">http://home.fnal.gov/~timm/</a><br>
Fermilab Scientific Computing Division, Scientific Computing Services Quad.<br>
Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing<br>
<br>
</blockquote>
<br>
------------------------------<u></u>------------------------------<u></u>------<br>
Steven C. Timm, Ph.D <a href="tel:%28630%29%20840-8525" value="+16308408525" target="_blank">(630) 840-8525</a><br>
<a href="mailto:timm@fnal.gov" target="_blank">timm@fnal.gov</a> <a href="http://home.fnal.gov/~timm/" target="_blank">http://home.fnal.gov/~timm/</a><br>
Fermilab Scientific Computing Division, Scientific Computing Services Quad.<br>
Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org<br clear="all"><div><br></div>-- <br></a><div dir="ltr">
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank"><div><div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect</a><div><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">OpenNebula - Flexible Enterprise Cloud Made Simple<br>
</a><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div></div>
</div></div></blockquote></div></div></div>