[mpls] draft-ihle-mpls-mna-stateless-egress-protection-00 - alternative approach

Stewart Bryant <stewart.bryant@gmail.com> Wed, 06 November 2024 13:37 UTC

Return-Path: <stewart.bryant@gmail.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51237C1E7242 for <mpls@ietfa.amsl.com>; Wed, 6 Nov 2024 05:37:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id df4p7rYstmhQ for <mpls@ietfa.amsl.com>; Wed, 6 Nov 2024 05:37:57 -0800 (PST)
Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1B41AC151527 for <mpls@ietf.org>; Wed, 6 Nov 2024 05:37:34 -0800 (PST)
Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5cacb76e924so9032302a12.0 for <mpls@ietf.org>; Wed, 06 Nov 2024 05:37:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730900251; x=1731505051; darn=ietf.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=dK/Zm+zbMlImkOBn1DL3nezjeJ3cATJPAA/OyHuHGJs=; b=k5lk6aS/xMEwANV9EWcLuod+6qLAiu8BJjCBB9Ok4kGLlo3toclLO3imwIa0Von/uM dOBQyLeE65VlvUwnidvcG1Wj9Y2P8SfaVduEf0826UCWiXlu7O2h/zjW8MiyjaBA2biT Hvc9XvteS0uwSqOY2+KI0wXGtPioOk0MSJGzQzv3QMIu5Uj8IPpQAucGCr+D8rGUF4le M9Uj0akxoRB3Xr5G0Ty36qss58tR9k+/013hkVI0SS+BfusNAG+2BECAdf4WuTq9zNko RrvnziJGMV4YXBBPRIIGtC/iusdrXAliZDzlpvO9Wx5XhUDH0yYgusyZvXHYPPJB2Jzi AWGw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730900251; x=1731505051; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dK/Zm+zbMlImkOBn1DL3nezjeJ3cATJPAA/OyHuHGJs=; b=AF4bnag8kvGQ6asUhkMxePXEWfStY4mHFqm7kd5uswCUDgGeui4OC2UczKSW1vmIQW DtVLTqxMf2fDtXNpTJXJQPgTKAYO/ZKzrYwdL6qxqZbo5zX0K/x7W1xkkH7TMqER3OaG CIaD0HVRFmAeZgZH4T8ua7BB0revQmaXPqK9r10uWlTHG1r9+u3cGJiePUuz7F5GU6id K1YsdcIx+Ra/bsWFXagYF3W1oVXUuX9sBmD5mD46/DwBBpbuuYlzBenW5sNgK6dfA5Ig go5NqXjgN0TaESWK5CfEcO67by545zbkKMvsI5wJnlRC+bDkcNJXeqNaR1M/n1IQnDg8 VRAA==
X-Gm-Message-State: AOJu0YyS9KeR4VyWyQ0yg564TexHIPjTDg0dT+d7QBLNB+lE2P5RpQ6Q 4XYgUl6QBWAl/BZbMrzpM+cs1sz1hW+ph4Txhz+gbv8yKDBsB9GrHjtWwg==
X-Google-Smtp-Source: AGHT+IGMBK5nmEIoEMRQi64jnGU96Qhfn7U7edSzRxmyEBqK096EidKV8cjYkHfRl6CudaTS6YimJg==
X-Received: by 2002:a05:6402:3507:b0:5ce:dde8:56cf with SMTP id 4fb4d7f45d1cf-5cedde85725mr6469984a12.5.1730900250995; Wed, 06 Nov 2024 05:37:30 -0800 (PST)
Received: from smtpclient.apple ([148.252.133.76]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cee6ac186csm2706282a12.45.2024.11.06.05.37.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Nov 2024 05:37:29 -0800 (PST)
From: Stewart Bryant <stewart.bryant@gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3818.100.11.1.3\))
Message-Id: <875286D6-D6D3-49FB-A5E4-2C1426ACA616@gmail.com>
Date: Wed, 06 Nov 2024 13:37:17 +0000
To: mpls <mpls@ietf.org>
X-Mailer: Apple Mail (2.3818.100.11.1.3)
Message-ID-Hash: EE5BWB42VY7XOYC4QTNGARAWRLGPPQAQ
X-Message-ID-Hash: EE5BWB42VY7XOYC4QTNGARAWRLGPPQAQ
X-MailFrom: stewart.bryant@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-mpls.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [mpls] draft-ihle-mpls-mna-stateless-egress-protection-00 - alternative approach
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/c_-VQYqtOQUyHJHvPkNh1_qt3_A>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Owner: <mailto:mpls-owner@ietf.org>
List-Post: <mailto:mpls@ietf.org>
List-Subscribe: <mailto:mpls-join@ietf.org>
List-Unsubscribe: <mailto:mpls-leave@ietf.org>

An alternative strategy to encoding the alternate path labels “strangely” in the MNA header and then needing to construct a new stack by reformatting the MNA data into real labels is to have an MNA action : IF no repair POP n else ignore (or POP) action.


So the stack looks like

LSE to PLR
MNA Action POP n if no repair
LSE to C’
LSE to C’'
Etc

Note that delivery is not the only thing you need to worry about you need worry about the application labels which both egress nodes need to worry about.

So what happens

At the PLR it is determined if the link to C is up and C is alive.

If C is OK POP (or cleans) MNA header and the labels to the value n in its parameter. In the above case n = 2.

If C is not OK POP (or cleans) MNA header 

At this point we now have a set of LSEs at TOS that will execute the repair and get the packet to the alternate exit for C.

Note that the solution needs to consider what happens to the MNA header if more than one MNA action is present (proposed solution and this alternate) and what happens to application labels which need to be understood at C and the alternate to C.

This seems simpler and much more aligned with the existing MPLS architecture.

Best regards

Stewart