<div dir="ltr">Sorry guys, I'll double post this to OpenStack Dev instead... My mistake... </div><div class="gmail_extra"><br><br><div class="gmail_quote">On 11 February 2014 14:25, Martinx - $B%8%'!<%`%:(B <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Stackers!<div><br></div><div>It is very nice to watch the OpenStack evolution in IPv6! Great job guys!!</div>
<div><br></div><div><br></div><div>I have another idea:</div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
"<span style="background-color:rgb(255,255,204)">Floating</span> IP" for <span style="background-color:rgb(255,255,204)">IPv6, or just "Floating IPv6"</span></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif">With IPv4, as we know, OpenStack have a feature called "<span style="font-size:12.727272033691406px;background-color:rgb(255,255,204)">Floating</span> IP", which is basically a 1-to-1 NAT rule (within tenant's Namespace q-router). In IPv4 networks, we need this "<span style="font-size:12.727272033691406px;background-color:rgb(255,255,204)">Floating</span> <span style="font-size:12.727272033691406px;background-color:rgb(255,255,204)">IP"</span> attached to a Instance, to be able to reach it from the <span style="background-color:rgb(255,255,204)">Internet (<font size="1"><u>I don't like it</u></font>)</span>. But, what is the use case for a "<span style="font-size:12.727272033691406px;background-color:rgb(255,255,204)">Floating</span> IP" when you have <b style="font-size:12.727272033691406px"><u>no NAT*</u></b> (as it is with <span style="font-size:12.727272033691406px;background-color:rgb(255,255,204)">IPv6</span>)?!</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">At first, when with IPv6, I was planning to disable the "<span style="background-color:rgb(255,255,204)">Floating</span> <span style="background-color:rgb(255,255,204)">IP" feature</span> entirely, by removing it from Dashboard and from APIs (even for IPv4, if FWaaS can in somehow, be able to manage q-router IPv4 NAT rules, and not only the "iptables filter table") and, I just had an idea!</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">For <span style="background-color:rgb(255,255,204)">IPv6</span>, the "<span style="background-color:rgb(255,255,204)">Floating</span> IP" can still be used to allocate more (and more) IPs to a Instance BUT, instead of creating a NAT rule (like it is for IPv4), it will configure the DNSMasq (or something like it) to provide more IPv6 address per MAC / Instance. That way, we can virtually allocate unlimited IPs (v6) for each Instance!</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div><font face="arial, sans-serif">It will be pretty cool to see the attached "</font><span style="font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,204)">Floating</span><font face="arial, sans-serif"> </font><span style="font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,204)">IPv6", literally "floating around" the tenant subnet,</span><font face="arial, sans-serif"> appearing inside the Instances itself (instead of inside the tenant's Namespace), so, we'll be able to see it (the Floating IPv6) with "ip -6 address" command within the attached Instance!</font></div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">The only problem I see with this is that, for IPv4, the allocated "<span style="background-color:rgb(255,255,204)">Floating</span> IPs" come from the "External Network" (neutron / --allocation-pool) and, for <span style="background-color:rgb(255,255,204)">IPv6</span>, it will come from the tenant's <span style="background-color:rgb(255,255,204)">IPv6</span> subnet itself... I think... Right?!</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">---</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
Why I want tons of <span style="background-color:rgb(255,255,204)">IPv6</span> within each Instance?</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
A.: Because we can! I mean, we can go back to the days when we had 1 website per 1 public <span style="background-color:rgb(255,255,204)">IP</span> (i.e. using IP-Based Virtual Hosts with Apache - I prefer this approach).</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Also, we can try to turn the "Floating IPv6", in some kind of "Floating IPv6 Range", this way, we can for example, allocate millions of IPs per Instance, like this in DHCPv6: "range6 2001:db8:1:1::1000 2001:db8:1:1000:1000;"...</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">---</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
NOTE: I prefer multiple IPs per Instance, instead of 1 IP per Instance, when using VT, unless, of course, the Instances are based on Docker, so, with it, I can easily see millions of tiny instances, each of it with its own IPv6 address, without the overhead of virtualized environment. So, with Docker, this "Floating IPv6 Range" doesn't seems to be useful...</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">* I know that there is NAT66 out there but, who is actually using it?! I'll never use this thing. Personally I dislike NAT very much, mostly because it breaks the end-to-end Internet connectivity, effectively kicking you out from the real Internet, and it is just a workaround created to deal with IPv4 exaustion.</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
BTW, please guys, let me know if this isn't the right place to post "ideas for OpenStack / feature requests"... I don't want to bloat this list with undesirable messages.</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
Best Regards,</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Thiago Martins</div></div>
</blockquote></div><br></div>