Re: draft-ietf-l2vpn-evpn-07 L2 encapsulation?

Stefan Plug <Stefan.Plug@os3.nl> Mon, 07 July 2014 15:08 UTC

Return-Path: <Stefan.Plug@os3.nl>
X-Original-To: l2vpn@ietfa.amsl.com
Delivered-To: l2vpn@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E41211A02EF for <l2vpn@ietfa.amsl.com>; Mon, 7 Jul 2014 08:08:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.456
X-Spam-Level:
X-Spam-Status: No, score=-0.456 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, RP_MATCHES_RCVD=-0.651] autolearn=no
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 xiLvTH2-xOH9 for <l2vpn@ietfa.amsl.com>; Mon, 7 Jul 2014 08:08:25 -0700 (PDT)
Received: from mail.serv.os3.nl (mail.serv.os3.nl [145.100.96.25]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 843031A0272 for <l2vpn@ietf.org>; Mon, 7 Jul 2014 08:08:25 -0700 (PDT)
Received: from smtp.os3.nl (smtp.os3.nl [IPv6:2001:610:158:960::119]) by mail.serv.os3.nl (Postfix) with ESMTP id 3025317B769; Mon, 7 Jul 2014 17:08:23 +0200 (CEST)
Received: from [IPv6:2001:67c:1a8:102:99c0:f809:c575:3fd6] (unknown [IPv6:2001:67c:1a8:102:99c0:f809:c575:3fd6]) by smtp.os3.nl (Postfix) with ESMTPSA id 0347A17B762; Mon, 7 Jul 2014 17:08:23 +0200 (CEST)
Message-ID: <53BAB7E6.7090602@os3.nl>
Date: Mon, 07 Jul 2014 17:08:22 +0200
From: Stefan Plug <Stefan.Plug@os3.nl>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: "Rabadan, Jorge (Jorge)" <jorge.rabadan@alcatel-lucent.com>, Stefan Plug <Stefan.Plug@os3.nl>, "l2vpn@ietf.org" <l2vpn@ietf.org>
Subject: Re: draft-ietf-l2vpn-evpn-07 L2 encapsulation?
References: <53B34D99.403@os3.nl> <CFD9704E.DBB54%wim.henderickx@alcatel-lucent.com> <53B3F320.1000301@os3.nl> <CFD944D8.46836%jorge.rabadan@alcatel-lucent.com>
In-Reply-To: <CFD944D8.46836%jorge.rabadan@alcatel-lucent.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/l2vpn/4pAzD2Ydz2EqT4bBcTrrRQo75-I
X-BeenThere: l2vpn@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Layer 2 Virtual Private Networks <l2vpn.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/l2vpn>, <mailto:l2vpn-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/l2vpn/>
List-Post: <mailto:l2vpn@ietf.org>
List-Help: <mailto:l2vpn-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/l2vpn>, <mailto:l2vpn-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Jul 2014 15:08:28 -0000

Hi Jorge,

On 02-07-14 14:31, Rabadan, Jorge (Jorge) wrote:
> Stefan,
> 
> The evpn draft is full of references to “Ethernet frames transported over
> IP/MPLS”, which in my opinion, along with the description in section 6 and
> other sections should be enough to clarify the stack.
> 
This quote is indeed clear, however the draft is also full of references
like "The advertising PE uses this label when it
receives an MPLS-encapsulated packet to perform forwarding based on
the destination MAC address toward the CE". The word packet indicates L3.

I think that we should be careful when using either packet or frame
terminology to avoid confusion.

One more point I find unclear, is the entire frame including FCS
encapsulated or is the original FCS stripped and recalculated at the
egress PE, as is done in Pseudo Wires?
rfc 4888 p6: "The ingress Native Service Processing (NSP) function
strips the preamble and frame check sequence (FCS) from the Ethernet
frame and transports the frame in its entirety across the PW [..] The
egress NSP function receives the Ethernet frame from the PW and
regenerates the preamble or FCS before forwarding the frame"


> Having said that, in the WG, we agreed to publish a evpn use-case draft
> that could help clarify the main control plane and data plane concepts in
> evpn:
> http://tools.ietf.org/html/draft-rp-l2vpn-evpn-usage-02
> 
This draft contains many usages of the word packet, indicating L3, where
the word frame in my opinion should be used. for example on page 13,
point e:

"e) The MPLS-encapsulated packet gets to PE2 and PE3. Since PE2 is
non-DF for EVI1 on ESI12, and there is no other CE connected to
PE2, the packet is discarded. At PE3, the packet is
de-encapsulated, CE-VID translated if needed and replicated to
CE3."

The only indicator that I could find that indeed the entire frame is
encapsulated is on page 26:
"PE1 will push the MPLS Label(s) onto the original Ethernet frame and
send the packet to the MPLS network"

Again, I think that we should be careful when using either packet or
frame terminology to avoid confusion.

> 
> What I would suggest is to use that draft as a way to clarify all those
> things so that the evpn researcher/implementer can use it as a reference.
> If you agree, please go through it and suggest any additions. We would be
> happy to discuss and address them if possible.
Thank you for your openness, I realize that my comments may seem to be
nitpicking, but I think this point should be made clear and it should
not be assumed that L2 encapsulation is clear from the beginning.
especially when EVPN is to be implemented as a replacement to VPLS
rfc4761, rfc4762 which both state in their introduction the use of
Pseudo Wires.

> 
> Thanks.
> Jorge
> 
> -----Original Message-----
> From: Stefan Plug <Stefan.Plug@os3.nl>
> Date: Wednesday, July 2, 2014 at 4:55 AM
> To: "l2vpn@ietf.org" <l2vpn@ietf.org>
> Subject: draft-ietf-l2vpn-evpn-07 L2 encapsulation?
> 
>> Hi all,
>>
>> In regards to draft-ietf-l2vpn-evpn-07:
>>
>> One thing is not clear to me from the draft, does the L2 frame get
>> encapsulated by an MPLS tag as with Pseudo Wires, or does the L3 packet
>> get encapsulated as with normal MPLS?
>>
>> I have got an answer that indeed the L2 frame in encapsulated, however I
>> can find no reference to an RFC or details itself in this document where
>> this is mentioned, to me therefore normal MPLS (RFC3031) applies and
>> only the L3 packet is encapsulated.
>>
>> As this draft to my understanding proposes a replacement to VPLS I think
>> it is necessary to mention or at least reference an RFC on how the
>> entire L2 frame is to be encapsulated to avoid confusion.
>>
>> I would suggest a small part mentioning or referencing probably Pseudo
>> Wires.
>>
>> Regards,
>>
>> Stefan Plug, Lutz Engels
>> MSc Students
>> System and Network Engineering (www.os3.nl)
>> University of Amsterdam
>>
>> On 02-07-14 08:17, Henderickx, Wim (Wim) wrote:
>>> The packet is encapsulated like a PW using the ETH frame in the MPLS PW.
>>>
>>> On 02/07/14 02:08, "Stefan Plug" <Stefan.Plug@os3.nl> wrote:
>>>
>>> Dear evpn gurus
>>>
>>> I'm a Networking student at the University of Amsterdam researching
>>> EVPN as a possible solution to the ARP flooding problem in IXPs.
>>>
>>> One thing is not clear to me from the draft, does the L2 frame get
>>> encapsulated by an MPLS tag as with Pseudo Wires, or does the L3
>>> packet get encapsulated as with normal MPLS?
>>>
>>> I cannot seem find any information on this in the draft?
>>>
>>> In the case that normal MPLS rules apply and only the L3 packet is
>>> encapsulated, what then happens to the source mac address at the end
>>> of the tunnel?
>>>
>>> I hope you can help me understand your protocol, it seems very
>>> interesting!
>>>
>>> Regards,
>>>
>>> Stefan Plug
>>> Student
>>> System and Network Engineering (www.os3.nl)
>>> University of Amsterdam
>>>
>>
>