Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-871

UDN: L2: OVN's lb_force_snat_ip=routerip doesn't work when multiple networks are set on LRP

XMLWordPrintable

    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      Given  a system administrator configuring a LRP with multiple networks and the lb_force_snat_ip=routerip option enabled, 

      When a packet is forwarded through the router,

      Then, the router should use the appropriate IP for SNAT from the available networks on the LRP, regardless of the lexicographical order of the networks. 

      Show
      Given  a system administrator configuring a LRP with multiple networks and the lb_force_snat_ip=routerip option enabled,  When a packet is forwarded through the router, Then, the router should use the appropriate IP for SNAT from the available networks on the LRP, regardless of the lexicographical order of the networks. 
    • OCPSTRAT-1613 - Enhance User Defined Networks: Add support for Services(Full), EIP(Full), NetPol: GA
    • sst_network_fastdatapath
    • ssg_networking

      Description of problem:

      When we set multiple networks on LRP:

      port rtoe-GR_227br_tenant.red_ovn-control-plane
              mac: "02:42:ac:12:00:07"
              ipv6-lla: "fe80::42:acff:fe12:7"
              networks: ["169.254.0.15/17", "172.18.0.7/16", "fc00:f853:ccd:e793::7/64", "fd69::f/112"]

      and also use lb_force_snat_ip=routerip it picks the lexicographically sorted first item from the set of networks - there is no ordering for this

      This breaks Services implementation on L2 UDNs

      Version-Release number of selected component (if applicable):

      How reproducible: Always

      Steps to Reproduce:

      1.

      2.

      3.

      Actual results:

      routerip doesn't work with multiple networks set on LRPs

      Expected results:

      routerip should work and we should have a way to tell which IP/network we can choose

      See https://redhat-internal.slack.com/archives/C077NGF5HE1/p1728917186791789?thread_ts=1728902182.834879&cid=C077NGF5HE1 

            roriorde@redhat.com Rosemarie O'Riorden
            sseethar Surya Seetharaman
            Anurag Saxena Anurag Saxena
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: