<div><div>On Fri, May 6, 2022 at 11:23 AM J-P Methot <<a href="mailto:jp.methot@planethoster.info" target="_blank">jp.methot@planethoster.info</a>> wrote:<br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
  

    
  
  <div>
    <p>Hi,</p>
    <p>We're in this situation where we are going to move some instances
      from one openstack cluster to another. After this process, we want
      our instances on the new openstack cluster to keep the same
      floating IPs but also to be able to communicate with some
      instances that are in the same public IP range on the first
      cluster.<br>
      <br>
      To accomplish this, we want to add static routes like 'X.X.X.X/32
      via Y.Y.Y.Y'. However, we're using DVR and when we add the static
      routes, they do not show up anywhere in any of the namespaces. Is
      there a different way to add static routes on DVR instead of using
      <span style="box-sizing:border-box;margin:0px;padding:0px;vertical-align:baseline;border:0px solid;font-size:13px;font-family:Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:600;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px"> openstack router add route </span><span style="box-sizing:border-box;margin:0px;padding:0px;vertical-align:baseline;border:0px solid;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px">?</span></p></div><div>
    <pre cols="72" style="font-family:monospace">-- 
Jean-Philippe Méthot
Senior Openstack system administrator
Administrateur système Openstack sénior
PlanetHoster inc.</pre>
  </div>

</blockquote></div></div></div><div>I don’t think that there is an automatic way to do what you are trying to do using static routes.<div dir="auto"><br></div><div dir="auto">One way to approach this would be to use dynamic routing to advertise the availability of the /32 route. </div><div dir="auto"><br></div><div dir="auto">I just described an approach to this using BGP in another thread on this list with the subject “[ops][octavia][neutron] Distributed Virtual Routing: Floating IPs attached to virtual IP addresses are assigned on network nodes”.</div><div dir="auto"><br></div><div dir="auto">There are several BGP implementations which support this functionality, I believe Neutron Dynamic Routing for OVS works for Wallaby, Juniper Contrail (and probably the Open Source version Tungsten Fabric), and others. The implementation I describe is for OVN, but the same approach could be adapted to other Neutron drivers.</div><div dir="auto"> </div><div dir="auto">-Dan Sneddon</div>
</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font face="monospace, monospace">Dan Sneddon         |  Senior Principal Software Engineer<br><a href="mailto:dsneddon@redhat.com" target="_blank">dsneddon@redhat.com</a> |  <a href="http://redhat.com/cloud" target="_blank">redhat.com/cloud</a><br>dsneddon:irc        |  @dxs:twitter</font><br></div></div></div></div></div></div>