Re: [nvo3] BFD over VXLAN: Trapping BFD Control packet at VTEP

"Joel M. Halpern" <jmh@joelhalpern.com> Tue, 08 October 2019 22:30 UTC

Return-Path: <jmh@joelhalpern.com>
X-Original-To: nvo3@ietfa.amsl.com
Delivered-To: nvo3@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6FFB2120046; Tue, 8 Oct 2019 15:30:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=joelhalpern.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gen2boIeREv6; Tue, 8 Oct 2019 15:30:48 -0700 (PDT)
Received: from maila2.tigertech.net (maila2.tigertech.net [208.80.4.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4BB90120020; Tue, 8 Oct 2019 15:30:48 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by maila2.tigertech.net (Postfix) with ESMTP id 46nsWD1TB3z1V4P5; Tue, 8 Oct 2019 15:30:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelhalpern.com; s=2.tigertech; t=1570573848; bh=j/O0m80Z4DXk6+vfaPUuWyCrqbZNx5gxPZrv3SwIc4g=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=G1jaIuMo9RNvbbmSiS40YipeyYc9+YMAh5l5osto/X5n0Q5O/sugfN5/lJQgpRAqj hXouf1dSNfHELavAaakXa6HWgXaqWQkoieRDtroV8pJqlghZvUdDpGzA1oqXAosF6n rH45dT2+8ugVg5IBO+yrYcR6iD5EBjdkWtlE1eDc=
X-Virus-Scanned: Debian amavisd-new at maila2.tigertech.net
Received: from [172.20.7.244] (209-255-163-147.ip.mcleodusa.net [209.255.163.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by maila2.tigertech.net (Postfix) with ESMTPSA id 46nsWB4zSCz1V4NR; Tue, 8 Oct 2019 15:30:46 -0700 (PDT)
To: Anoop Ghanwani <anoop@alumni.duke.edu>, xiao.min2@zte.com.cn
Cc: nvo3@ietf.org, draft-ietf-bfd-vxlan@ietf.org, rtg-bfd WG <rtg-bfd@ietf.org>
References: <CA+-tSzwU1-pErVmWDEM6KNv-vTbWNvs12Dd7Rh1wp6e==_X_uw@mail.gmail.com> <201910081529034949208@zte.com.cn> <CA+-tSzzG4aE8VZbGtYLW9M647fkLpcfxzd_FdeXXr7YaXkp6=Q@mail.gmail.com>
From: "Joel M. Halpern" <jmh@joelhalpern.com>
Message-ID: <16a956a6-fb5e-3c19-b37d-2c1ef39a4789@joelhalpern.com>
Date: Tue, 08 Oct 2019 18:30:44 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <CA+-tSzzG4aE8VZbGtYLW9M647fkLpcfxzd_FdeXXr7YaXkp6=Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/nvo3/4_Go9KRR2cWvQwTTZX5k2EfGP7A>
Subject: Re: [nvo3] BFD over VXLAN: Trapping BFD Control packet at VTEP
X-BeenThere: nvo3@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Network Virtualization Overlays \(NVO3\) Working Group" <nvo3.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nvo3>, <mailto:nvo3-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nvo3/>
List-Post: <mailto:nvo3@ietf.org>
List-Help: <mailto:nvo3-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nvo3>, <mailto:nvo3-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Oct 2019 22:30:51 -0000

I will add that from the point of view of VxLAN 9which is the topic), I 
would expect the MPLS packet to arrive in an Ethernet frame, and for 
VxLAN to forward that Ethernet frame.  The VTEP would not seem to even 
need to be aware that the content is MPLS.

Yours,
Joel

On 10/8/2019 6:28 PM, Anoop Ghanwani wrote:
> Hi Xiao Min,
> 
> The picture doesn't have enough information to explain why they are in 
> the same VNI, and exactly how forwarding happens between the MPLS and 
> non-MPLS parts.
> 
> Anoop
> 
> On Tue, Oct 8, 2019 at 12:31 AM <xiao.min2@zte.com.cn 
> <mailto:xiao.min2@zte.com.cn>> wrote:
> 
>     Hi Anoop,
> 
> 
>     I don't know such a draft that describes MPLS over Geneve, but I
>     believe the following figure derived from figure 1 of RFC8014 would
>     help, in the following figure Tenant System1, Tenant System2, Tenant
>     System3 and Tenant System4 are assumed belonging to the same VNI, so
>     two BFD sessions for the same VNI need to be run between NVE1 and NVE2.
> 
>                                                  +--------+
>                                             +----| Tenant |
>                                           ( ' )  | System1|
>                  ................       ( MPLS ) +--------+
>                  .              .  +--+-+ ( _ )
>                  .              .--|NVE1|---+
>                  .              .  |    |
>                  .              .  +--+-+
>                  .              .     |
>                  .  L3 Overlay  .   ( ' )
>                  .    Network   . (Ethernet)
>                  .              .   ( _ )
>                  .              .     |
>                  ................    +--------+
>                     |                | Tenant |
>                   +----+             | System2|
>                   |NVE2|             +--------+
>                   |    |--------+
>                   +----+        |
>                     |           |
>                   ( ' )       ( ' )
>                 ( MPLS )    (Ethernet)
>                   ( _ )       ( _ )
>                     |           |
>                 +--------+  +--------+
>                 | Tenant |  | Tenant |
>                 | System3|  | System4|
>                 +--------+  +--------+
> 
> 
>     Best Regards,
> 
>     Xiao Min
> 
>     原始邮件
>     *发件人:*AnoopGhanwani <anoop@alumni.duke.edu
>     <mailto:anoop@alumni.duke.edu>>
>     *收件人:*肖敏10093570;
>     *抄送人:*Greg Mirsky <gregimirsky@gmail.com
>     <mailto:gregimirsky@gmail.com>>;didutt@gmail.com
>     <mailto:didutt@gmail..com> <didutt@gmail.com
>     <mailto:didutt@gmail.com>>;draft-ietf-bfd-vxlan@ietf.org
>     <mailto:draft-ietf-bfd-vxlan@ietf.org>
>     <draft-ietf-bfd-vxlan@ietf.org
>     <mailto:draft-ietf-bfd-vxlan@ietf.org>>;nvo3@ietf.org
>     <mailto:nvo3@ietf.org> <nvo3@ietf.org
>     <mailto:nvo3@ietf.org>>;santosh.pallagatti@gmail.com
>     <mailto:santosh.pallagatti@gmail.com> <santosh.pallagatti@gmail.com
>     <mailto:santosh.pallagatti@gmail.com>>;rtg-bfd WG <rtg-bfd@ietf.org
>     <mailto:rtg-bfd@ietf.org>>;Joel M. Halpern <jmh@joelhalpern.com
>     <mailto:jmh@joelhalpern.com>>;tsridhar@vmware.com
>     <mailto:tsridhar@vmware.com> <tsridhar@vmware..com
>     <mailto:tsridhar@vmware.com>>;
>     *日 期 :*2019年10月08日 12:15
>     *主 题 :**Re: [nvo3] BFD over VXLAN: Trapping BFD Control packet at
>     VTEP*
>     Hi Xiao Min,
>     Is there a draft that describes MPLS over Geneve?  It sounds like
>     the NVE is an MPLS router in this case and if you're using the same
>     VNI as you switch MPLS, then it's a one-armed router.  That doesn't
>     change how BFD needs to be run between NVEs.
> 
>     Anoop
> 
>     On Mon, Oct 7, 2019 at 7:28 PM <xiao.min2@zte.com.cn
>     <mailto:xiao.min2@zte.com.cn>> wrote:
> 
>         Hi Anoop,
> 
> 
>         Sorry for the late response, I just come back from vacation.
> 
>         The use case is that the network between the VM and the NVE is
>         an MPLS network, within which the packet is forwarded basing on
>         MPLS label, but not Ethernet MAC address and/or 802.1Q VLAN.
>         When two such kind of MPLS networks need to communicate with
>         each other, through a Geneve tunnel, the encap I illustrated
>         would be used.
> 
> 
>         Best Regards,
> 
>         Xiao Min
> 
>         原始邮件
>         *发件人:*AnoopGhanwani <anoop@alumni.duke.edu
>         <mailto:anoop@alumni.duke.edu>>
>         *收件人:*肖敏10093570;
>         *抄送人:*Greg Mirsky <gregimirsky@gmail.com
>         <mailto:gregimirsky@gmail.com>>;didutt@gmail.com
>         <mailto:didutt@gmail.com> <didutt@gmail.com
>         <mailto:didutt@gmail.com>>;draft-ietf-bfd-vxlan@ietf.org
>         <mailto:draft-ietf-bfd-vxlan@ietf.org>
>         <draft-ietf-bfd-vxlan@ietf.org
>         <mailto:draft-ietf-bfd-vxlan@ietf.org>>;nvo3@ietf.org
>         <mailto:nvo3@ietf.org> <nvo3@ietf.org
>         <mailto:nvo3@ietf.org>>;santosh.pallagatti@gmail.com
>         <mailto:santosh.pallagatti@gmail.com>
>         <santosh.pallagatti@gmail.com
>         <mailto:santosh.pallagatti@gmail.com>>;rtg-bfd WG
>         <rtg-bfd@ietf.org <mailto:rtg-bfd@ietf.org>>;Joel M. Halpern
>         <jmh@joelhalpern.com
>         <mailto:jmh@joelhalpern.com>>;tsridhar@vmware.com
>         <mailto:tsridhar@vmware.com> <tsridhar@vmware.com
>         <mailto:tsridhar@vmware.com>>;
>         *日 期 :*2019年09月28日 05:36
>         *主 题 :**Re: [nvo3] BFD over VXLAN: Trapping BFD Control
>         packet at VTEP*
>         Hi Xiao Min,
>         Thanks for the details about the encap but the use case is not
>         clear.  It might help if you explain why its necessary to map a
>         physical Ethernet port and/or 802.1Q VLAN to the same VNI as an
>         MPLS packet without an L2 header.
> 
>         Thanks,
>         Anoop
> 
>         On Thu, Sep 26, 2019 at 7:50 PM <xiao.min2@zte.com.cn
>         <mailto:xiao.min2@zte.com.cn>> wrote:
> 
>             Hi Anoop,
> 
> 
>             Due to the fact that a variety of Tunnels could be used
>             under the NVO3 architecture, as an example, below figure
>             illustrates the format of MPLS packet over Geneve Tunnel.
> 
>                  0                   1                   2                   3
>                  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
>                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>                 |                                                               |
>                 ~                      Outer Ethernet Header                    ~
>                 |                                                               |
>                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>                 |                                                               |
>                 ~                        Outer IPvX Header                      ~
>                 |                                                               |
>                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>                 |                                                               |
>                 ~                        Outer UDP Header                       ~
>                 |                                                               |
>                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>                 |                                                               |
>                 ~                          Geneve Header                        ~
>                 |                                                               |
>                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<-+
>                 |                                                               |  |
>                 ~                         MPLS Label Stack                      ~  M
>                 |                                                               |  P
>                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  L
>                 |                                                               |  S
>                 |                                                               |
>                 ~                             Payload                           ~  P
>                 |                                                               |  K
>                 |                                                               |  T
>                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<-+
>                 |                               FCS                             |
>                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> 
> 
>             Note that in NVO3 working group Greg and I have submitted an
>             individual draft draft-xiao-nvo3-bfd-geneve, which is used
>             to address BFD over Geneve.
> 
>             The intention is to make the two drafts draft-ietf-bfd-vxlan
>             and draft-xiao-nvo3-bfd-geneve aligned, that is to say, we
>             try to define the identical mechanism for the common part of
>             BFD over VxLAN Tunnel and BFD over Geneve Tunnel. For the
>             common part, draft-xiao-nvo3-bfd-geneve would reference to
>             draft-ietf-bfd-vxlan, and for the other part specific to
>             Geneve, we'll define the specific mechanism in
>             draft-xiao-nvo3-bfd-geneve.
> 
> 
>             Hope that clarifies.
> 
> 
>             Best Regards,
> 
>             Xiao Min
> 
>             原始邮件
>             *发件人:*AnoopGhanwani <anoop@alumni.duke.edu
>             <mailto:anoop@alumni.duke.edu>>
>             *收件人:*肖敏10093570;
>             *抄送人:*Greg Mirsky <gregimirsky@gmail.com
>             <mailto:gregimirsky@gmail.com>>;didutt@gmail.com
>             <mailto:didutt@gmail.com> <didutt@gmail.com
>             <mailto:didutt@gmail.com>>;draft-ietf-bfd-vxlan@ietf.org
>             <mailto:draft-ietf-bfd-vxlan@ietf.org>
>             <draft-ietf-bfd-vxlan@ietf.org
>             <mailto:draft-ietf-bfd-vxlan@ietf.org>>;nvo3@ietf.org
>             <mailto:nvo3@ietf.org> <nvo3@ietf.org
>             <mailto:nvo3@ietf.org>>;santosh.pallagatti@gmail.com
>             <mailto:santosh.pallagatti@gmail.com>
>             <santosh.pallagatti@gmail.com
>             <mailto:santosh.pallagatti@gmail.com>>;rtg-bfd WG
>             <rtg-bfd@ietf.org <mailto:rtg-bfd@ietf.org>>;Joel M. Halpern
>             <jmh@joelhalpern.com
>             <mailto:jmh@joelhalpern.com>>;tsridhar@vmware.com
>             <mailto:tsridhar@vmware.com> <tsridhar@vmware.com
>             <mailto:tsridhar@vmware.com>>;bfd-chairs@ietf.org
>             <mailto:bfd-chairs@ietf.org> <bfd-chairs@ietf.org
>             <mailto:bfd-chairs@ietf.org>>;
>             *日 期 :*2019年09月26日 23:16
>             *主 题 :**Re: [nvo3] BFD over VXLAN: Trapping BFD Control
>             packet at VTEP*
>             Hi Xiao Min,
>             I think we would need more detail around the use case
>             below.  What does the MPLS packet over Tunnel look like?
> 
>             Thanks,
>             Anoop
> 
>             On Wed, Sep 25, 2019 at 11:37 PM <xiao.min2@zte.com.cn
>             <mailto:xiao.min2@zte.com.cn>> wrote:
> 
>                 Hi Anoop,
> 
> 
>                 Thanks for your comments.
> 
>                 Considering a scenario where TS1 has an MPLS access
>                 (i.e. MPLS-Packet over Tunnel between NVEs) to VNI1, TS3
>                 has an Ethernet access (i.e. MAC-Frame over Tunnel
>                 between NVEs) to VNI1, then how can TS1 and TS3 share
>                 one VAP?
> 
> 
>                 Best Regards,
> 
>                 Xiao Min
> 
>                 原始邮件
>                 *发件人:*AnoopGhanwani <anoop@alumni.duke.edu
>                 <mailto:anoop@alumni.duke.edu>>
>                 *收件人:*肖敏10093570;
>                 *抄送人:*Greg Mirsky <gregimirsky@gmail.com
>                 <mailto:gregimirsky@gmail.com>>;didutt@gmail.com
>                 <mailto:didutt@gmail.com> <didutt@gmail.com
>                 <mailto:didutt@gmail.com>>;draft-ietf-bfd-vxlan@ietf.org
>                 <mailto:draft-ietf-bfd-vxlan@ietf.org>
>                 <draft-ietf-bfd-vxlan@ietf.org
>                 <mailto:draft-ietf-bfd-vxlan@ietf.org>>;nvo3@ietf.org
>                 <mailto:nvo3@ietf.org> <nvo3@ietf.org
>                 <mailto:nvo3@ietf.org>>;santosh.pallagatti@gmail.com
>                 <mailto:santosh.pallagatti@gmail.com>
>                 <santosh.pallagatti@gmail.com
>                 <mailto:santosh.pallagatti@gmail.com>>;rtg-bfd WG
>                 <rtg-bfd@ietf.org <mailto:rtg-bfd@ietf.org>>;Joel M.
>                 Halpern <jmh@joelhalpern.com
>                 <mailto:jmh@joelhalpern.com>>;tsridhar@vmware.com
>                 <mailto:tsridhar@vmware.com> <tsridhar@vmware.com
>                 <mailto:tsridhar@vmware.com>>;bfd-chairs@ietf.org
>                 <mailto:bfd-chairs@ietf.org> <bfd-chairs@ietf.org
>                 <mailto:bfd-chairs@ietf.org>>;
>                 *日 期 :*2019年09月26日 08:36
>                 *主 题 :**Re: [nvo3] BFD over VXLAN: Trapping BFD
>                 Control packet at VTEP*
>                 _______________________________________________
>                 nvo3 mailing list
>                 nvo3@ietf.org <mailto:nvo3@ietf.org>
>                 https://www.ietf.org/mailman/listinfo/nvo3
> 
>                  >>>
>                 Some people may argue that all Tenant Systems connecting
>                 to the same Virtual Network MUST share one VAP, if
>                 that's true, then VAP1 and VAP3 should merge into one
>                 VAP and my explanation doesn't work. Copying to NVO3 WG
>                 to involve more experts, hope for your clarifications
>                 and comments.
>                  >>>
> 
>                 I would be one of those that would argue that they MUST
>                 share on VAP if they connect to the same Virtual
>                 Network.  IMO, the NVO3 arch doc should have been
>                 clearer about this.
> 
>                 Thanks,
>                 Anoop
> 
>                 On Tue, Sep 24, 2019 at 7:40 PM <xiao.min2@zte.com.cn
>                 <mailto:xiao.min2@zte.com.cn>> wrote:
> 
>                     Hi Santosh,
> 
> 
>                     With regard to the question whether we should allow
>                     multiple BFD sessions for the same VNI or not, IMHO
>                     we should allow it, more explanation as follows...
> 
>                     Below is a figure derived from figure 2 of RFC8014
>                     (An Architecture for Data-Center Network
>                     Virtualization over Layer 3 (NVO3)).
> 
>                                          |         Data Center Network (IP)        |
>                                          |                                         |
>                                          +-----------------------------------------+
>                                               |                           |
>                                               |       Tunnel Overlay      |
>                                  +------------+---------+       +---------+------------+
>                                  | +----------+-------+ |       | +-------+----------+ |
>                                  | |  Overlay Module  | |       | |  Overlay Module  | |
>                                  | +---------+--------+ |       | +---------+--------+ |
>                                  |           |          |       |           |          |
>                           NVE1   |           |          |       |           |          | NVE2
>                                  |  +--------+-------+  |       |  +--------+-------+  |
>                                  |  |VNI1 VNI2  VNI1 |  |       |  | VNI1 VNI2 VNI1 |  |
>                                  |  +-+-----+----+---+  |       |  +-+-----+-----+--+  |
>                                  |VAP1| VAP2|    | VAP3 |       |VAP1| VAP2|     | VAP3|
>                                  +----+-----+----+------+       +----+-----+-----+-----+
>                                       |     |    |                   |     |     |
>                                       |     |    |                   |     |     |
>                                       |     |    |                   |     |     |
>                                -------+-----+----+-------------------+-----+-----+-------
>                                       |     |    |     Tenant        |     |     |
>                                  TSI1 | TSI2|    | TSI3          TSI1| TSI2|     |TSI3
>                                      +---+ +---+ +---+             +---+ +---+   +---+
>                                      |TS1| |TS2| |TS3|             |TS4| |TS5|   |TS6|
>                                      +---+ +---+ +---+             +---+ +---+   +---+
> 
>                     To my understanding, the BFD sessions between NVE1
>                     and NVE2 are actually initiated and terminated at
>                     VAP of NVE.
> 
>                     If the network operator want to set up one BFD
>                     session between VAP1 of NVE1 and VAP1of NVE2, at the
>                     same time another BFD session between VAP3 of NVE1
>                     and VAP3 of NVE2, although the two BFD sessions are
>                     for the same VNI1, I believe it's reasonable, so
>                     that's why I think we should allow it.
> 
> 
>                     Of course, in RFC8014 it also says:
> 
>                     "Note that two different Tenant Systems (and TSIs) attached to a common NVE can share a VAP (e.g., TS1 and TS2 in Figure 2) so long as they connect to the same Virtual Network."
> 
>                     Some people may argue that all Tenant Systems
>                     connecting to the same Virtual Network MUST share
>                     one VAP, if that's true, then VAP1 and VAP3 should
>                     merge into one VAP and my explanation doesn't work.
>                     Copying to NVO3 WG to involve more experts, hope for
>                     your clarifications and comments.
> 
> 
>                     Best Regards,
> 
>                     Xiao Min
> 
> 
> 
> 
> 
> 
> _______________________________________________
> nvo3 mailing list
> nvo3@ietf.org
> https://www.ietf.org/mailman/listinfo/nvo3
>