<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!-- generated by https://github.com/cabo/kramdown-rfc version 1.6.39 (Ruby 3.2.2) -->
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" docName="draft-sheng-idr-gw-exchange-in-sd-wan-01" category="std" consensus="true" submissionType="IETF" xml:lang="en" version="3">
  <!-- xml2rfc v2v3 conversion 3.18.0 -->
  <front>
    <title abbrev="Gateway Info Exchange in SDWAN">Corresponding Gateway Exchange in Multi-segment SD-WAN</title>
    <seriesInfo name="Internet-Draft" value="draft-sheng-idr-gw-exchange-in-sd-wan-01"/>
    <author initials="C." surname="Sheng" fullname="Cheng Sheng">
      <organization>Huawei</organization>
      <address>
        <postal>
          <street>Beiqing Road</street>
          <city>Beijing</city>
        </postal>
        <email>shengcheng@huawei.com</email>
      </address>
    </author>
    <author initials="H." surname="Shi" fullname="Hang Shi" role="editor">
      <organization>Huawei</organization>
      <address>
        <postal>
          <street>Beiqing Road</street>
          <city>Beijing</city>
          <country>China</country>
        </postal>
        <email>shihang9@huawei.com</email>
      </address>
    </author>
    <author initials="L." surname="Dunbar" fullname="Linda Dunbar">
      <organization>Futurewei</organization>
      <address>
        <email>linda.dunbar@futurewei.com</email>
      </address>
    </author>
    <date year="2023" month="August" day="21"/>
    <area>Routing</area>
    <workgroup>Inter-Domain Routing</workgroup>
    <keyword>Multi-segment SD-WAN</keyword>
    <abstract>
      <?line 45?>

<t>The document describes the control plane enhancement for multi-segment SD-WAN to exchange the corresponding GW information between edges.</t>
    </abstract>
    <note removeInRFC="true">
      <name>Discussion Venues</name>
      <t>Discussion of this document takes place on the
    Inter-Domain Routing Working Group mailing list (idr@ietf.org),
    which is archived at <eref target="https://mailarchive.ietf.org/arch/browse/idr/"/>.</t>
      <t>Source for this draft and an issue tracker can be found at
    <eref target="https://github.com/VMatrix1900/draft-sheng-idr-gw-exchange-in-sd-wan"/>.</t>
    </note>
  </front>
  <middle>
    <?line 49?>

<section anchor="intro">
      <name>Introduction</name>
      <t><xref target="I-D.draft-dmk-rtgwg-multisegment-sdwan"/> describes the enterprises utilizing Cloud Providers’ backbone to interconnect their branch offices. As shown in Figure 1, CPE-1 and CPE-2 are connected to their respective Cloud Gateways (GW) in different regions. CPE-1 and CPE-2 maintain the pairwise IPsec SAs. The IPsec encrypted traffic from CPE-1 to CPE-2 is encapsulated by the GENEVE header <xref target="RFC8926"/>, with the outer destination address being the GW1. <xref target="I-D.draft-dmk-rtgwg-multisegment-sdwan"/> specifies a set of sub-TLVs to carry the information of the GWs of the destination branches, e.g., GW3 for CPE-2 and other attributes.</t>
      <t>To accomplish that, CPE-1 needs to know their peers' corresponding GW addresses. This document proposes a BGP extension based on <xref target="I-D.draft-ietf-idr-sdwan-edge-discovery"/> for a CPE to advertise its directly connected GW address to other CPEs.</t>
      <figure anchor="Scenario">
        <name>Multi-segment SD-WAN</name>
        <artwork><![CDATA[
  (^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^)
  (            Region2             )
  (            +-----+             )
  (            | GW2 |             )
  (            +-----+             )
  (           /       \            )
  (          /  Cloud  \           )
  (         /  Backbone \          )
  ( Region1/             \Region3  )
  ( +-----+               +-----+  )
  ( | GW1 |---------------| GW3 |  )
  ( +--+--+               +--+--+  )
  (^^^^|^^^^^^^^^^^^^^^^^^^^^|^^^^^)
       |                     |
    +--+--+               +--+--+
    |CPE 1|               |CPE 2|
    +-----+               +-----+
]]></artwork>
      </figure>
    </section>
    <section anchor="requirements-language">
      <name>Requirements Language</name>
      <t>The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL
NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
"<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they
appear in all capitals, as shown here.</t>
      <?line -18?>

<t>The following acronyms and terms are used in this document:</t>
      <ul spacing="normal">
        <li>Cloud DC:     Off-Premises Data Center, managed by 3rd party, that hosts applications, services, and workload for different organizations or tenants.</li>
        <li>CPE:        Customer (Edge) Premises Equipment.</li>
        <li>OnPrem:               On Premises data centers and branch offices.</li>
        <li>RR          Route Reflector.</li>
        <li>SD-WAN:               Software Defined Wide Area Network. In this document, “SD-WAN” refers to a policy-driven transporting of IP packets over multiple underlay networks for better WAN bandwidth management, visibility, and control.</li>
        <li>VPN         Virtual Private Network.</li>
      </ul>
    </section>
    <section anchor="extension-to-sd-wan-underlay-update-for-corresponding-gws">
      <name>Extension to SD-WAN Underlay UPDATE for Corresponding GWs</name>
      <t>The Client Routes Update is the same as described in <xref section="5" sectionFormat="of" target="I-D.draft-ietf-idr-sdwan-edge-discovery"/>.</t>
      <section anchor="corresponding-gw-sub-tlv">
        <name>Corresponding GW Sub-TLV</name>
        <t>The Corresponding GW Sub-TLV, within the SD-WAN-Hybrid Tunnel TLV (code point 25), carries the corresponding GW address(es) with which the SD-WAN edge is associated.</t>
        <t>The following is the structure of the Corresponding GW Sub-TLV:</t>
        <artwork><![CDATA[
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   Type=TBD    |    length     |  reserved     |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | Corresponding GW Addr Family  | Address                       |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ (variable)                    +
   ~                                                               ~
   |             Corresponding GW Address                          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
      </section>
    </section>
    <section anchor="security-considerations">
      <name>Security Considerations</name>
      <t>This document does not introduce any new security considerations.</t>
    </section>
    <section anchor="iana-considerations">
      <name>IANA Considerations</name>
      <t>TBD.</t>
    </section>
  </middle>
  <back>
    <references>
      <name>Normative References</name>
      <reference anchor="I-D.draft-dmk-rtgwg-multisegment-sdwan">
        <front>
          <title>Multi-segment SD-WAN via Cloud DCs</title>
          <author fullname="Kausik Majumdar" initials="K." surname="Majumdar">
            <organization>Microsoft</organization>
          </author>
          <author fullname="Linda Dunbar" initials="L." surname="Dunbar">
            <organization>Futurewei</organization>
          </author>
          <author fullname="Venkit Kasiviswanathan" initials="V." surname="Kasiviswanathan">
            <organization>Arista</organization>
          </author>
          <author fullname="Ashok Ramchandra" initials="A." surname="Ramchandra">
            <organization>Microsoft</organization>
          </author>
          <date day="31" month="May" year="2023"/>
          <abstract>
            <t>   The document describes the methods to optimize the stitching of
   multiple SD-WAN segments on transit nodes across Cloud DCs.

            </t>
          </abstract>
        </front>
        <seriesInfo name="Internet-Draft" value="draft-dmk-rtgwg-multisegment-sdwan-00"/>
      </reference>
      <reference anchor="RFC8926">
        <front>
          <title>Geneve: Generic Network Virtualization Encapsulation</title>
          <author fullname="J. Gross" initials="J." role="editor" surname="Gross"/>
          <author fullname="I. Ganga" initials="I." role="editor" surname="Ganga"/>
          <author fullname="T. Sridhar" initials="T." role="editor" surname="Sridhar"/>
          <date month="November" year="2020"/>
          <abstract>
            <t>Network virtualization involves the cooperation of devices with a wide variety of capabilities such as software and hardware tunnel endpoints, transit fabrics, and centralized control clusters. As a result of their role in tying together different elements of the system, the requirements on tunnels are influenced by all of these components. Therefore, flexibility is the most important aspect of a tunneling protocol if it is to keep pace with the evolution of technology. This document describes Geneve, an encapsulation protocol designed to recognize and accommodate these changing capabilities and needs.</t>
          </abstract>
        </front>
        <seriesInfo name="RFC" value="8926"/>
        <seriesInfo name="DOI" value="10.17487/RFC8926"/>
      </reference>
      <reference anchor="I-D.draft-ietf-idr-sdwan-edge-discovery">
        <front>
          <title>BGP UPDATE for SD-WAN Edge Discovery</title>
          <author fullname="Linda Dunbar" initials="L." surname="Dunbar">
            <organization>Futurewei</organization>
          </author>
          <author fullname="Susan Hares" initials="S." surname="Hares">
            <organization>Hickory Hill Consulting</organization>
          </author>
          <author fullname="Robert Raszuk" initials="R." surname="Raszuk">
            <organization>Arrcus</organization>
          </author>
          <author fullname="Kausik Majumdar" initials="K." surname="Majumdar">
            <organization>Microsoft</organization>
          </author>
          <author fullname="Gyan Mishra" initials="G. S." surname="Mishra">
            <organization>Verizon</organization>
          </author>
          <author fullname="Venkit Kasiviswanathan" initials="V." surname="Kasiviswanathan">
            <organization>Arista</organization>
          </author>
          <date day="23" month="June" year="2023"/>
          <abstract>
            <t>   The document describes the encoding of BGP UPDATE messages for the
   SD-WAN edge node property discovery.

   In the context of this document, BGP Route Reflector (RR) is the
   component of the SD-WAN Controller that receives the BGP UPDATE from
   SD-WAN edges and in turns propagates the information to the intended
   peers that are authorized to communicate via the SD-WAN overlay
   network.

            </t>
          </abstract>
        </front>
        <seriesInfo name="Internet-Draft" value="draft-ietf-idr-sdwan-edge-discovery-10"/>
      </reference>
      <reference anchor="RFC2119">
        <front>
          <title>Key words for use in RFCs to Indicate Requirement Levels</title>
          <author fullname="S. Bradner" initials="S." surname="Bradner"/>
          <date month="March" year="1997"/>
          <abstract>
            <t>In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
          </abstract>
        </front>
        <seriesInfo name="BCP" value="14"/>
        <seriesInfo name="RFC" value="2119"/>
        <seriesInfo name="DOI" value="10.17487/RFC2119"/>
      </reference>
      <reference anchor="RFC8174">
        <front>
          <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
          <author fullname="B. Leiba" initials="B." surname="Leiba"/>
          <date month="May" year="2017"/>
          <abstract>
            <t>RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t>
          </abstract>
        </front>
        <seriesInfo name="BCP" value="14"/>
        <seriesInfo name="RFC" value="8174"/>
        <seriesInfo name="DOI" value="10.17487/RFC8174"/>
      </reference>
    </references>
  </back>
  <!-- ##markdown-source:
H4sIAAAAAAAAA61Y63IbtxX+v09xKv+oVGsZkXYSm5MbRdKWZmSJFSV7MnXb
AXexJKolsAGwYhhdxq+RmXSmz9JH8ZP0O9glRUpU4kwKe6TdswcH534+KI7j
yHmh03+K3GjZJm9LGSXCy7Gx8zY5n0auHE2Vc8ros3kBlsP+2atIFTYwO9/a
23u514pyocdtkjqKvPI52LrGWukKo1Olx/QaImdiTv0fkwk4JSlNb8rcq9jJ
8VRqT8Ne/K5zHInRyMrL9nLDoc7M2q5hj9lSk2gxxTGpFZmP3UTqcaxSG49n
say5Y6Vjl8YzoeO9ZmRGzuTSS9eOyiIV4eEJ8UObWnutVrzH/ymOA42Uo0zl
uUz5TFF6MxVeJSLP5zSa04/TvGWzhFRG2ngaq0u2XFgp2rR1akoPm7eimbEX
Y2vKAsRD7aWNexADeUuO6GLWjojizb6IcO7EWHDEYFLawasNGrKteK/s7/Lb
kmbsWGj1E1Q1uk0HpZhJBbLzVkrfpn2pfuBonBqRgpwoPw/Ef6mwW0K5HEFn
YQn/+G4SJDQSM13R4YB1UEsNDkRQQD1+/FKu4ri8XJNK1nC2yFR5Yz9d1cSU
2nOGdidKixXljhrUK/VI2KV+R0qn4o64ruOr0pdWrqmZM38jDfzfZYvvQdso
ipEfYgQlReKj6GwiCZlYhqCl0iVWjaQjD3JioJ/JqUBhSNQFLE9k4MuMpemG
c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