Re: [Bier] End-to-end BIER

Caitlin Bestler <caitlin.bestler@nexenta.com> Thu, 29 October 2015 19:56 UTC

Return-Path: <caitlin.bestler@nexenta.com>
X-Original-To: bier@ietfa.amsl.com
Delivered-To: bier@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 48A9C1A9071 for <bier@ietfa.amsl.com>; Thu, 29 Oct 2015 12:56:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001] autolearn=ham
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 3Et5nu5ykf0s for <bier@ietfa.amsl.com>; Thu, 29 Oct 2015 12:56:37 -0700 (PDT)
Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (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 BCB141A9072 for <bier@ietf.org>; Thu, 29 Oct 2015 12:56:37 -0700 (PDT)
Received: by pacfv9 with SMTP id fv9so51726416pac.3 for <bier@ietf.org>; Thu, 29 Oct 2015 12:56:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexenta_com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=9zcg/Dh1RtoR9Ehg2q//FELyqbH57TTEeK3pymyGSYc=; b=S0lM9W3sEewPHUUFdYWtM0OBBXzT7CkzHoMEFDWo08R5qt+Zpwkyvsb9/D3r1lBBq6 qPHPE8bSlDdKczZ3zUq28DdxobJ05aA0r+D13UlMkas5LniuX4unCjS5KpJOCpq6SW4E FvKJS+fvao5I94qjH/hVRau2JBIWDSPZSoujNq4jQi8qVHvXZbVxZspqNUjlAXCBRkV2 WYOg43UEvyKxYxLZU1MBAJg7PbOZIzKbgjrYNENE0iq0QY2+WRIIl628NEaA+jW3NKFm yyIRDKqOKbTwqarAuHkGBHL9gq3bOJQohGFj72pJJmwB5UFEFdkdNHUhdBB+pUAKRe0h 5Vpg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=9zcg/Dh1RtoR9Ehg2q//FELyqbH57TTEeK3pymyGSYc=; b=Jxfk6y1elvPx7yqTq4HNyLsj4tbfjQvjjFYGopOGDGwumuSikxGPbqklYo6ynlN5Oj VPSA0JDIlfReHUAl0wl+G4/2VBDXUdIdlnRErnZltRauHymmCB4SvH8H3jtg5KcrbEN8 jONHh7dC2N3XYyPOQV2O+OoVEhFa0JBCqDiQg8sVRwHzS+BFXPwmuMBnuSxA30aVscVn gL1YLc9VmXHLRj4qtDSI0AdgQWuMeuTag98NZyBAUcVy2Qpk3V1Hjur+I7GYeP0ny7Dn wI/pKP/DZ99iFCQEC2c+vABV+T61c9OYlvteREKDoLYrvjUwmgpelcPEBMfbV4F4+IjV 5ckQ==
X-Gm-Message-State: ALoCoQm+TxrY7o5cWYMPnu3ftQflQ03FiUUZYncbj0hTXESYanTfIQIa6LhhI5AU6bFDedXd8TKu
X-Received: by 10.68.88.2 with SMTP id bc2mr3795794pbb.117.1446148597444; Thu, 29 Oct 2015 12:56:37 -0700 (PDT)
Received: from Macintosh.local (67-207-110-172.static.wiline.com. [67.207.110.172]) by smtp.googlemail.com with ESMTPSA id cn4sm3786342pbc.94.2015.10.29.12.56.36 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Oct 2015 12:56:36 -0700 (PDT)
To: Eric C Rosen <erosen@juniper.net>, Tony Przygienda <tonysietf@gmail.com>
References: <56312F63.4050601@nexenta.com> <CA+wi2hO615axH8TLM+oNfV9_+4d=s8zqv+-sc9ZPfEySFheWHQ@mail.gmail.com> <5632543F.5090204@juniper.net>
From: Caitlin Bestler <caitlin.bestler@nexenta.com>
Message-ID: <563279F5.4030306@nexenta.com>
Date: Thu, 29 Oct 2015 12:56:37 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <5632543F.5090204@juniper.net>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/bier/FpzxolvlLHrTO3IQQ4aJR45A-ic>
Cc: "bier@ietf.org" <bier@ietf.org>
Subject: Re: [Bier] End-to-end BIER
X-BeenThere: bier@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "\"Bit Indexed Explicit Replication discussion list\"" <bier.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bier>, <mailto:bier-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bier/>
List-Post: <mailto:bier@ietf.org>
List-Help: <mailto:bier-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bier>, <mailto:bier-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Oct 2015 19:56:39 -0000


On 10/29/15 10:15 AM, Eric C Rosen wrote:
> [Caitlin] Each bit position would represent and end-station rather than
> a BFER. The application would map a destination IP address to a bit
> position (or bit-positions for BIER-TE).
>
> This is really just a control plane issue.
>
> [Caitlin] allowing the actual BFER to use multicast Layer 2 delivery 
> is more direct. There is no need for BFERs to inform BFIRs that 
> multicast delivery will be used. It makes no difference to the other 
> BFRs. You can even make a case that this is already allowed under the 
> "no harm no foul" rule.
>
> This seems a bit more problematic to me, as the LAN might attach to 
> multiple transit BFRs.  Consider a topology like:
>
>         |----BFR-B---Endpoint-1
> BFR-A---|      |
>         |----Endpoint-2
>
> That is, BFR-A, BFR-B, and Endpoint-2 are on the LAN, while Endpoint-1 
> is downstream of BFR-B.  BFR-B also has another interface that 
> attaches to Endpoint-2.  All links are equal cost to the IGP.
>
> Suppose BFR-A receives a packet whose BitString says that the BFERs 
> are Endpoint-1 and Endpoint-2.
>
> With existing procedures, BFR-A sends BFR-B the packet with only 
> Endpoint-1's bit set, and BFR-A sends Endpoint-2 the packet with only 
> Endpoint-2's bit set.
>
> If BFR-A uses layer 2 multicast to send a single packet to both BFR-B 
> and Endpoint-2, Endpoint-2's bit will still be set in the packet 
> received by BFR-B.  So BFR-B will forward the packet to Endpoint-2, 
> and Endpoint-2 will now receive two copies of the packet.
>
> Another problematic scenario:
>
>
>         |----BFR-B---Endpoint-1
> BFR-A---|      |
>         |----Endpoint-2
> BFR-C---|
>         |----Endpoint-3
>
> Here BFR-C and Endpoint-3 are also on the LAN.  Suppose BFR-A receives 
> a packet (from one of its other interfaces) whose BitString identifies 
> Endpoint-1 and Endpoint-2, while BFR-C receives the same packet (from 
> one of its other interfaces), but with a BitString identifying only 
> Endpoint-3.  When BFR-A and BFR-C multicast the packet to the LAN, we 
> need to make sure that BFR-A and BFR-C don't receive the packet from 
> each other, and that BFR-B doesn't receive the packet from BFR-C.  If, 
> for example, BFR-C gets the packet from BFR-A, it will conclude from 
> the BitString that the packet still needs to be sent to Endpoint-1 and 
> Endpoint-2.
>
> It would be an interesting exercise to see if one could state a set of 
> enforceable applicability restrictions that eliminate these problems.
>
> The various proposals for MLD/IGMP/PIM overlays address problems like 
> this, but the solutions are not at the BIER layer, so I don't think 
> they apply directly to the case of end-to-end BIER.
>
I'm not certain what the correct phrasing is in routing terminology, but 
going down one layer doing an L2 local-only delivery
is remarkably easy. Each L2 subnet knows its boundaries, and there is 
never an ambiguity about whether a given link is being
used to *forward* and Ethernet frame as opposed to *routing* an IP datagram.

If a BFER does not know how to do a local only L2 multicast then it 
should probably refrain from using that solution.

The fact that a spontaneously appearing MRouter appearing without notice 
would create problems in a WAN environment
is not a reason to avoid using this optimizaton in a datacenter where 
all forwarders and routers are known and the only
question to be determined dynamically is which of them are up.