Re: [Int-area] Where to aggregate, where to drop

Tony Li <li.tony@comcast.net> Tue, 05 April 2022 23:12 UTC

Return-Path: <li.tony@comcast.net>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B14C3A153A for <int-area@ietfa.amsl.com>; Tue, 5 Apr 2022 16:12:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.109
X-Spam-Level:
X-Spam-Status: No, score=-2.109 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net
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 5KNfHOLB2-t5 for <int-area@ietfa.amsl.com>; Tue, 5 Apr 2022 16:12:53 -0700 (PDT)
Received: from resqmta-c1p-023463.sys.comcast.net (resqmta-c1p-023463.sys.comcast.net [IPv6:2001:558:fd00:56::4]) (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 6C71C3A1538 for <int-area@ietf.org>; Tue, 5 Apr 2022 16:12:53 -0700 (PDT)
Received: from resomta-c1p-022591.sys.comcast.net ([96.102.18.238]) by resqmta-c1p-023463.sys.comcast.net with ESMTP id bj17n0e2Xi9TIbsLzng5J0; Tue, 05 Apr 2022 23:12:51 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1649200371; bh=6urXx+8x/Cfp2s2uMvto3TEpeySgKG8G60ADAATnwDY=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To; b=uZZ3GZyzsFVDh43hkP7Q7RbHPz2B27UUi8SNAavUGYYlogxXfFdt/2D4Gf/NBj+Ts ecSJiknVbSI3SyGnoafg1xGpXFlj+wc38AlYBi7IKz5eYiYUzbSaD9/M/rBlWvxPxW QaDFndb9XlbWpsF+ZIrTGZYdANQAYnNN0c/9d3us45twK1AR0fMWQSso6AWnrA092W sgAxzyDcELIrAjtYmlTtyUmNCmIrXbqALWkcUMDUQYcVxDsk86fUz4NpMrO4kv8Llv PFPvsdoFLUNZGGT3mxDNNL8/Npq5dwNoLREIyBTFcKo9iY3bSoi/THDBSKNdL1rbUz d8J3PDTofwBLw==
Received: from smtpclient.apple ([67.169.103.239]) by resomta-c1p-022591.sys.comcast.net with ESMTPSA id bsLxnRUUh3gTobsLynHghK; Tue, 05 Apr 2022 23:12:50 +0000
X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvvddrudejhedgudekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurheptggguffhjgffgffkfhfvofesthhqmhdthhdtjeenucfhrhhomhepvfhonhihucfnihcuoehlihdrthhonhihsegtohhmtggrshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeeuueeffeehvddtvdfggffgleeuuefffeevueehfeetgeefgeeufeefjeduleehheenucfkphepieejrdduieelrddutdefrddvfeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohepshhmthhptghlihgvnhhtrdgrphhplhgvpdhinhgvthepieejrdduieelrddutdefrddvfeelpdhmrghilhhfrhhomheplhhirdhtohhnhiestghomhgtrghsthdrnhgvthdpnhgspghrtghpthhtohepvddprhgtphhtthhopehfrghrihhnrggttghisehgmhgrihhlrdgtohhmpdhrtghpthhtohepihhnthdqrghrvggrsehivghtfhdrohhrgh
X-Xfinity-VMeta: sc=-100.00;st=legit
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\))
From: Tony Li <li.tony@comcast.net>
In-Reply-To: <A0A71F59-1AB0-4905-8203-7A50918207FA@gmail.com>
Date: Tue, 05 Apr 2022 16:12:49 -0700
Cc: int-area <int-area@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4D42E193-5BD7-4159-9A72-54CD013FA7D3@comcast.net>
References: <D9CC0098-7D52-4E91-B154-41BCA59DC82A@gmail.com> <316508E1-2AC9-4974-8C47-1351088445D2@comcast.net> <A0A71F59-1AB0-4905-8203-7A50918207FA@gmail.com>
To: Dino Farinacci <farinacci@gmail.com>
X-Mailer: Apple Mail (2.3693.60.0.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-area/wkb2XyQmGNXFDyzn5UU-ZJVz-ko>
Subject: Re: [Int-area] Where to aggregate, where to drop
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Internet Area WG Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2022 23:12:58 -0000

Hi Dino,

>>> So here are the options:
>>> 
>>> (1) ISP-A advertises P to ISP-B (and may also advertise more specifics to other peers for policy reasons).
>>> (2) ISP-A advertises P.1, P.2, and P.3 to ISP-B and ISP-B advertises P to its peers.
>>> 
>>> The questions is *where is the best place to aggregate*. Its a tradeoff on routing table savings and how far a packet can travel to either (1) get delivered to the destination or (2) get dropped by a router that doesn't have a more-specific for the destination (thereby wasting resources from the source to the drop point).
>>> 
>>> (1) If ISP-B aggregates P to the links you see above to stub peers, then the stubs can load-split on P and ISP-B can drop packets for say P.4 and deliver packets for P.3. The drop can happen at the PE router relatively soon.
>> 
>> 
>> If they are stub peers, then sending them anything more than default is inefficient. Yes, ISP B will drop anything for P.4.  There’s no way to deliver that any way.
> 
> Well the stub AS could be multi-homed and want to load-spread traffic for different prefixes. The a set of advertised prefixes are exceptions for not following the default path.


??? If the AS is multi-homed, then it’s not a stub.

Yes, if this is a third AS (ISP-C) that has other connectivity, then it would see longer prefixes as well as the aggregate.  Traffic would be diverted to the longer prefixes and away from ISP-B, as noted.


>> If the peers are not stubs and ISP B advertises P, then yes, it will attract P.4 traffic.  Presumably, the peers are not learning alternate paths for this traffic, so there’s also no way of delivering this traffic and ISP B would get to drop it.  
>> 
>> I’m not sure why we’re trying to optimize drop traffic. Hopefully, there isn’t a large volume of it. :)
> 
> If you can, you want to drop traffic early as possible so you optimize network resources.


As always, it’s a trade-off.  In this case, do you want to optimize your routing resources or a small amount of bandwidth.  You can either carry more specifics or drop P.4 traffic.  IMHO, that’s an easy call.


>>> All things not considered and looking at this specific topology, I would vote for (1).
>> 
>> 
>> Of course, but what we’ve found is that prefix owners are not willing to just aggregate. They want traffic engineering so they also advertise more specifics.  Thus, the question is (2) or (3) let more specifics propagate throughout the network.
> 
> Right, but you are trying to fix this, right? You are trying to do better.


That is indeed the point.  If aggregation happens at the right place, you get traffic engineering close to the destination and you get abstraction farther away. IMHO, that’s ideal.


>>> Another question is, if all more-specfics are not stored (due to major link failure), is the aggregate withdrawn from the routing system. That is, if you want less route flapping, you may just want to keep P advertised. That optimizes FIB add/delete entropy everywhere that wants to store P. I would rather have hardware routers drop packets fast, then to have route oscillation.
>> 
>> 
>> Yes, if ISP B isn’t getting all of the more specifics and continues to aggregate, it could attract traffic that it can’t deliver. Presumably this is a transient until it can get the more specifics.
> 
> So what is your conclusion? Is your draft saying to optimize traffic engineering or saving routing table space? Or simply documenting the tradeoffs?


I’m saying do both: aggregate at the right place and it’s a win-win.  But figuring out where to aggregate does require some thought.

Tony