<div dir="auto"><div style="color:purple;font-family:sans-serif;font-size:13.696px" dir="auto"><div><div><div class="elided-text">On May 22, 2017 9:34 AM, "Chris Marino" <<a href="mailto:chris@romana.io" style="text-decoration-line:none;color:rgb(66,133,244)">chris@romana.io</a>> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I'm digging into how Routed Provider Networks work and have some questions as well. I will presenting at the OpenStack <a href="https://www.meetup.com/openstack/events/239889735/" style="text-decoration-line:none;color:rgb(66,133,244)">Meetup </a>on Wed on this and want to make sure I have my facts straight......<div><br></div><div>From the doc <a href="https://docs.openstack.org/ocata/networking-guide/config-routed-networks.html" style="text-decoration-line:none;color:rgb(66,133,244)">page</a> it shows a multi-segment network with segment 1 on <a href="http://203.0.113.0/24" style="text-decoration-line:none;color:rgb(66,133,244)">203.0.113.0/24</a> and segment 2 on <a href="http://198.51.100.0/24" style="text-decoration-line:none;color:rgb(66,133,244)">198.51.100.0/24</a>. It also suggests using the same VLAN ID for these segments. </div><div><br></div><div>I find both of these things really confusing.</div></div></blockquote></div></div></div><div dir="auto"><br></div></div><div dir="auto" style="font-family:sans-serif;font-size:13.696px">What do you find confusing about this? It's a pretty standard L3 to ToR and L2 in rack setup. L2 is limited to the rack so you can use or not use whatever VLANs in that scope. We can fix the docs to clear up whatever confusion you have. </div><div style="color:purple;font-family:sans-serif;font-size:13.696px" dir="auto"><div dir="auto"><br></div><div dir="auto"><div><div class="elided-text"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>But ignoring that for a minute, I'm more interested in the expected use case for this feature. I see from the original <a href="http://specs.openstack.org/openstack/neutron-specs/specs/newton/routed-networks.html" style="text-decoration-line:none;color:rgb(66,133,244)">spec/blueprint</a> that the goal was to allow for a single Provider Network to be made up from multiple network segments, where external routing provided connectivity among the segments. And Routed Provider Networks provide this.  Great.</div><div><br></div><div>But the use cases I'm curious about are where the operator wants to take their current L2/VLAN Provider Networks, but deploy it as an L3 Provider Network. Same CIDR as the L2 provider network, but in a fully routed deployment (i.e. no L2 adjacency). It might be L3 to the ToR and (untagged) L2 to the host. Or L3 to the host. </div><div><br></div><div>Both of these configurations are gaining popularity and wondering how they would need to be configured. For the L3 to ToR, the network segments would have to be split across the ToRs as described in the doc, but what about L3 to host? Guessing a segment per host, but wondering how practical that's going to be without better coordination of IP/segments with Nova?</div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto"></div></div><div dir="auto" style="font-family:sans-serif;font-size:13.696px">L3 to the host and one segment per host is possible, but it's going to have a severe limitation of not being able to migrate VMs without an IP change. To get migration at that point you will need some form of dynamic routing. </div><div dir="auto" style="font-family:sans-serif;font-size:13.696px"><br></div><div dir="auto" style="font-family:sans-serif;font-size:13.696px">L3 to ToR and L2 in rack is definitely the target use case as of now.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On May 22, 2017 9:34 AM, "Chris Marino" <<a href="mailto:chris@romana.io">chris@romana.io</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm digging into how Routed Provider Networks work and have some questions as well. I will presenting at the OpenStack <a href="https://www.meetup.com/openstack/events/239889735/" target="_blank">Meetup </a>on Wed on this and want to make sure I have my facts straight......<div><br></div><div>From the doc <a href="https://docs.openstack.org/ocata/networking-guide/config-routed-networks.html" target="_blank">page</a> it shows a multi-segment network with segment 1 on <a href="http://203.0.113.0/24" target="_blank">203.0.113.0/24</a> and segment 2 on <a href="http://198.51.100.0/24" target="_blank">198.51.100.0/24</a>. It also suggests using the same VLAN ID for these segments. </div><div><br></div><div>I find both of these things really confusing. But ignoring that for a minute, I'm more interested in the expected use case for this feature. I see from the original <a href="http://specs.openstack.org/openstack/neutron-specs/specs/newton/routed-networks.html" target="_blank">spec/blueprint</a> that the goal was to allow for a single Provider Network to be made up from multiple network segments, where external routing provided connectivity among the segments. And Routed Provider Networks provide this.  Great.</div><div><br></div><div>But the use cases I'm curious about are where the operator wants to take their current L2/VLAN Provider Networks, but deploy it as an L3 Provider Network. Same CIDR as the L2 provider network, but in a fully routed deployment (i.e. no L2 adjacency). It might be L3 to the ToR and (untagged) L2 to the host. Or L3 to the host. </div><div><br></div><div>Both of these configurations are gaining popularity and wondering how they would need to be configured. For the L3 to ToR, the network segments would have to be split across the ToRs as described in the doc, but what about L3 to host? Guessing a segment per host, but wondering how practical that's going to be without better coordination of IP/segments with Nova?</div><div><br></div><div>CM</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aY2hyaXNAcGFuaW5ldHdvcmtzLmNvbQ%3D%3D&type=zerocontent&guid=a44002e2-8035-4387-88c4-9e8fb52a2e74"><font color="#ffffff" size="1">ᐧ</font></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 21, 2017 at 6:12 AM, Alex Evonosky <span dir="ltr"><<a href="mailto:alex.evonosky@gmail.com" target="_blank">alex.evonosky@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">Thank you Yura.<span class="m_-8852811977230420285HOEnZb"><font color="#888888"><div><br></div><div>A</div></font></span></div><div class="m_-8852811977230420285HOEnZb"><div class="m_-8852811977230420285h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 18, 2017 at 3:24 AM, Yura Poltoratskiy <span dir="ltr"><<a href="mailto:yurapoltora@gmail.com" target="_blank">yurapoltora@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<span><br>
<br>
On 17.05.2017 21:56, Alex Evonosky wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
Hello fellow Openstackers-<br>
<br>
I have a quick question regarding routed provider networks.  I am<br>
looking at this<br>
page: <a href="https://docs.openstack.org/ocata/networking-guide/config-routed-networks.html" rel="noreferrer" target="_blank">https://docs.openstack.org/oca<wbr>ta/networking-guide/config-rou<wbr>ted-networks.html</a><br>
<br>
I configured the controller as stated in the docs, however this line is<br>
somewhat vaugue:<br>
<br>
"<br>
<br>
<br>
      Network or compute nodes¶<br></span>
      <<a href="https://docs.openstack.org/ocata/networking-guide/config-routed-networks.html#network-or-compute-nodes" rel="noreferrer" target="_blank">https://docs.openstack.org/oc<wbr>ata/networking-guide/config-ro<wbr>uted-networks.html#network-or-<wbr>compute-nodes</a>><br>
<br>
  * Configure the layer-2 agent on each node to map one or more segments<span><br>
    to the appropriate physical network bridge or interface and restart<br>
    the agent."<br>
<br>
<br>
Which file am I editing on the compute nodes to answer the above question?<br>
</span></blockquote>
If you are using OpenVSwitch agent, then on compute/network node you should modify:<br>
/etc/neutron/plugins/ml2/openv<wbr>switch_agent.ini<br>
/etc/neutron/plugins/ml2/ml2_c<wbr>onf.ini<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Thank you,<br>
A<br>
<br>
<br>
______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
<br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
<br></blockquote></div></div>