Re: [trill] I-D Action: draft-ietf-trill-over-ip-10.txt

Joe Touch <touch@isi.edu> Wed, 31 May 2017 22:37 UTC

Return-Path: <touch@isi.edu>
X-Original-To: trill@ietfa.amsl.com
Delivered-To: trill@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9CE0C12944E for <trill@ietfa.amsl.com>; Wed, 31 May 2017 15:37:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=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 JtcI0-zjAoNc for <trill@ietfa.amsl.com>; Wed, 31 May 2017 15:37:56 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4ACC1267BB for <trill@ietf.org>; Wed, 31 May 2017 15:37:55 -0700 (PDT)
Received: from [128.9.160.211] (mul.isi.edu [128.9.160.211]) (authenticated bits=0) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id v4VMbWAr019431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 31 May 2017 15:37:33 -0700 (PDT)
To: Donald Eastlake <d3e3e3@gmail.com>, "trill@ietf.org" <trill@ietf.org>
References: <149626897714.19836.7466806270075160460@ietfa.amsl.com> <CAF4+nEEcYOk7kw3PDHMwhqYqgXvQ2G_19-=XTs_AvpAs93my5A@mail.gmail.com>
From: Joe Touch <touch@isi.edu>
Message-ID: <dd4d81d0-6e58-5780-c57b-dd987f15d809@isi.edu>
Date: Wed, 31 May 2017 15:37:32 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <CAF4+nEEcYOk7kw3PDHMwhqYqgXvQ2G_19-=XTs_AvpAs93my5A@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------D5C20910602E2B2DBBE1EB68"
Content-Language: en-US
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Archived-At: <https://mailarchive.ietf.org/arch/msg/trill/s8Kq5zztFDgJSePLFS4UOjSG9ms>
Subject: Re: [trill] I-D Action: draft-ietf-trill-over-ip-10.txt
X-BeenThere: trill@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Developing a hybrid router/bridge." <trill.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trill>, <mailto:trill-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/trill/>
List-Post: <mailto:trill@ietf.org>
List-Help: <mailto:trill-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trill>, <mailto:trill-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2017 22:37:57 -0000

Hi, all,

I'm confused by the TCP encapsulation shown.

If you place TRILL in TCP, you cannot ensure that the TRILL packets are
aligned with the TCP headers. TCP is a bytestream, not message-oriented.

I.e., you need to assume that TRILL packets could be split across TCP
segments or multiple TRILL packets (or portions thereof) could be
contained within a TCP segment. That means you will need a framing
protocol that identifies the start of TRILL packets, and you should
never assume that TRILL packets align with TCP segments.

If you want to try to assume alignment of some sort, you need to discuss
using RDMA, but that's a much bigger can of worms.

Finally, regarding the IANA considerations, IMO the distinction between
TRILL data and TRILL control needs to be indicated in-band, not via
different port numbers. Ports should be requested only for services that
are useful independently (RFC7605).

(frankly, IMO, this system has gone off the rails out of control; you
really ought to treat everything as running over Ethernet using the
TRILL shim and call it a day; the rest should already be sufficiently
handled by Ethernet-in-X encapsulation).

Joe


On 5/31/2017 3:24 PM, Donald Eastlake wrote:
> Hi,
>
> This revision has relatively minor changes to add an optional TCP
> based encapsulation.
>
> Thanks,
> Donald
> ===============================
>  Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
>  155 Beaver Street, Milford, MA 01757 USA
>  d3e3e3@gmail.com <mailto:d3e3e3@gmail.com>
>
> On Wed, May 31, 2017 at 6:16 PM, <internet-drafts@ietf.org
> <mailto:internet-drafts@ietf.org>> wrote:
>
>
>     A New Internet-Draft is available from the on-line Internet-Drafts
>     directories.
>     This draft is a work item of the Transparent Interconnection of
>     Lots of Links of the IETF.
>
>             Title           : TRILL (Transparent Interconnection of
>     Lots of Links) over IP
>             Authors         : Margaret Cullen
>                               Donald Eastlake
>                               Mingui Zhang
>                               Dacheng Zhang
>             Filename        : draft-ietf-trill-over-ip-10.txt
>             Pages           : 41
>             Date            : 2017-05-31
>
>     Abstract:
>        The TRILL (Transparent Interconnection of Lots of Links) protocol
>        supports both point-to-point and multi-access links and is designed
>        so that a variety of link protocols can be used between TRILL
>     switch
>        ports. This document specifies transmission of encapsulated TRILL
>        data and TRILL IS-IS over IP (v4 or v6). so as to use an IP network
>        as a TRILL link in a unified TRILL campus. This document
>     updates RFC
>        7177 and updates RFC 7178.
>
>
>
>     The IETF datatracker status page for this draft is:
>     https://datatracker.ietf.org/doc/draft-ietf-trill-over-ip/
>     <https://datatracker.ietf.org/doc/draft-ietf-trill-over-ip/>
>
>     There are also htmlized versions available at:
>     https://tools.ietf.org/html/draft-ietf-trill-over-ip-10
>     <https://tools.ietf.org/html/draft-ietf-trill-over-ip-10>
>     https://datatracker.ietf.org/doc/html/draft-ietf-trill-over-ip-10
>     <https://datatracker.ietf.org/doc/html/draft-ietf-trill-over-ip-10>
>
>     A diff from the previous version is available at:
>     https://www.ietf.org/rfcdiff?url2=draft-ietf-trill-over-ip-10
>     <https://www.ietf.org/rfcdiff?url2=draft-ietf-trill-over-ip-10>
>
>
>     Please note that it may take a couple of minutes from the time of
>     submission
>     until the htmlized version and diff are available at
>     tools.ietf.org <http://tools.ietf.org>.
>
>     Internet-Drafts are also available by anonymous FTP at:
>     ftp://ftp.ietf.org/internet-drafts/
>     <ftp://ftp.ietf.org/internet-drafts/>
>
>
>
> _______________________________________________
> trill mailing list
> trill@ietf.org
> https://www.ietf.org/mailman/listinfo/trill