Re: [manet] DLEP address semantics and in-the-wild examples

Henning Rogge <hrogge@gmail.com> Fri, 19 November 2021 08:55 UTC

Return-Path: <hrogge@gmail.com>
X-Original-To: manet@ietfa.amsl.com
Delivered-To: manet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2FB7E3A0CA6 for <manet@ietfa.amsl.com>; Fri, 19 Nov 2021 00:55:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, URIBL_BLOCKED=0.001] 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mWWLk7ZTGJ3I for <manet@ietfa.amsl.com>; Fri, 19 Nov 2021 00:55:41 -0800 (PST)
Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (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 DCC553A0CA5 for <manet@ietf.org>; Fri, 19 Nov 2021 00:55:40 -0800 (PST)
Received: by mail-lf1-x136.google.com with SMTP id y26so40057533lfa.11 for <manet@ietf.org>; Fri, 19 Nov 2021 00:55:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=4MDIjtxtG3DbI8LLLzYD1whVxd4M6ZSZOqlRR3NuzRc=; b=Gti0P98ZOD/wWh8dVUG1/khSsjRGaurWoseHCzyMZanCfnwZNonAhcn8AM/Nrt/GCb X0d2tAdDT6QfFexJ125rvA3N0ENnML3HxJo/1cI0cmGRlP2DR91RjeHAWK8IMEU4PFix 6DTm/C+GLf/EghJdXcFekRpptMT2TyggTOAo63x1P8p7mvxkOxKwrHOx0wGUagJCswkn 5nG8dh3XSjDUHnOkXFiEeBrEIYDVatxgDxI0nRZlilg+pjNek0ROw8/v2/xCiOa9+fw7 7Jf9oYXtLNorKYtMkUK7autQ26H7Myq8fnBzhRAjAlKsiCo4VVxV/l+bVg+bQmRnMhWD Hasg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4MDIjtxtG3DbI8LLLzYD1whVxd4M6ZSZOqlRR3NuzRc=; b=EEsLkgjVc07ulIn6vEZtEHnGFlHLaMwAvWFbt7wjh3CI+t9qYuNTgx68ib3STXT8Vq 5zXGeN3WE+dE4MRFC9LRa2+p9/VHfBB2uEBr9r19irEIr87wmDmn1PnqHEivl9YkmIVB 8ApJd9n+V04u35RSEhq+VqNlMELV2RLMFaUe35kFtm+v/tqTTWB2iJ74rndsGOAQJZAw wk8BZKjelb6pavmVMCQ7c7P/ttpNLfhC83cZ4Pljp1qjVwTIUaoIPNI6uKuIOpGEHa0t nbNUcuyUEUJRw/vvRE8fZ1jnrlrNQMl7H33K8Lopuq3oqMlVRZLLh7gbkZHK8VBCF2er 1Rcw==
X-Gm-Message-State: AOAM530bz5+VDZblAm/7aYmqseIB90z4jFBecfN73IgKiV+0sToAqW0E qyq4nQl54qdyBIsnTlVz8V7wQ6deYb2W6xGnMic=
X-Google-Smtp-Source: ABdhPJx1hvuinxvZjKa/6rhsSj9DuAf/h0Wntxn9RaK55b7vqXwslTLdjDwa4pzprT0C4zxCCZqKcSO087DuLQu2ujo=
X-Received: by 2002:a2e:b545:: with SMTP id a5mr22828606ljn.510.1637312137835; Fri, 19 Nov 2021 00:55:37 -0800 (PST)
MIME-Version: 1.0
References: <56203b289b7940afb8ce11f6cc375e98@jhuapl.edu> <38A5475DE83986499AEACD2CFAFC3F98020B1B9688@tss-server1.home.tropicalstormsoftware.com>
In-Reply-To: <38A5475DE83986499AEACD2CFAFC3F98020B1B9688@tss-server1.home.tropicalstormsoftware.com>
From: Henning Rogge <hrogge@gmail.com>
Date: Fri, 19 Nov 2021 09:54:33 +0100
Message-ID: <CAGnRvurKPPgtfiyaCoD7HeLG+y+9iTjGS3yJYdJRYnrjfoAKow@mail.gmail.com>
To: Rick Taylor <rick@tropicalstormsoftware.com>
Cc: "Sipos, Brian J." <Brian.Sipos@jhuapl.edu>, "manet@ietf.org" <manet@ietf.org>, "Taylor, Rick" <rick.taylor@airbus.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/aqrPxY7wRbsjDf3-sw9pacxqGTY>
Subject: Re: [manet] DLEP address semantics and in-the-wild examples
X-BeenThere: manet@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Mobile Ad-hoc Networks <manet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/manet>, <mailto:manet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/manet/>
List-Post: <mailto:manet@ietf.org>
List-Help: <mailto:manet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/manet>, <mailto:manet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Nov 2021 08:55:46 -0000

As long as the Radio/Router answers the ARP for the unicast IPs used
for both DLEP UDP and TCP, the MAC for them should not matter.

MAC addresses in DLEP in the default "bridging" mode are the router
end-to-end MACs... DLEP has to refer to these, otherwise the router
will not be able to make sense of the DLEP messages.

I am not sure what you mean by "out of band"... are you talking about
Layer-3 routing DLEP radios?

Henning

On Fri, Nov 12, 2021 at 6:10 PM Rick Taylor
<rick@tropicalstormsoftware.com> wrote:
>
> Hi Brian,
>
>
>
> Your first assumption is correct.  The MAC address of the interface the router uses to maintain the DLEP session is the MAC address used as a Destination identifier by its peers.  DLEP does not (currently) define an ‘out-of-band mode’ where the DLEP session is maintained on a different MAC address from the data-plane.
>
>
>
> One could define an out-of-band mode by a router using a Destination Up message with an alternate data-plane MAC address, but that is currently not defined anywhere.
>
>
>
> Cheers,
>
>
> Rick
>
>
>
> From: manet [mailto:manet-bounces@ietf.org] On Behalf Of Sipos, Brian J.
> Sent: 25 October 2021 16:05
> To: manet@ietf.org
> Cc: Taylor, Rick
> Subject: [manet] DLEP address semantics and in-the-wild examples
>
>
>
> All,
>
> I am in the process of investigating and implementing a DLEP router component and trying to figure out which sets of data items are available for which contexts (peer session vs. destinations) and how they must/may be interpreted.
>
> Specifically, it’s not fully clear to me what the IPvX and MAC Address data items [1] are allowed or required to represent for a peer (modem) or a destination (other router). My assumption is that the IPvX are addresses on which the router sends/receives traffic for forwarding on past the DLEP-informed link and the IPvX Attached Subnets are those to-be-forwarded nets, but the MAC Address is really an opaque identifier for the far-side destination and may or may not be an address actually associated with or seen by any of the routers.
>
>
>
> In the Link Identifier extension [2] it’s more explicitly stated that the MAC Address is supposed to be an address on the far-side router, but I don’t see that same kind of language in the original DLEP document [1]. And since there is no signaling of the router MAC Address within the Session Initialization, I assume that it is implied that the MAC Address of the peer (router) used to establish the TCP connection is used for this purpose. For multi-interface routers there may be no relation between the MAC Address and it’s routed-traffic IPvX addresses (if the router is talking DLEP on a different interface than the routed traffic), but if the MAC Address is supposed to be just an opaque identifier then this doesn’t really matter.
>
>
>
> I’ve been able to dig into the OONF [3] implementation of DLEP to see how it works, but this is just one implementation and not an authority of the correct or possible semantics.
>
>
>
> Thanks for any clarification,
>
> Brian S.
>
>
>
> [1] https://www.rfc-editor.org/rfc/rfc8175.html
>
> [2] https://www.rfc-editor.org/rfc/rfc8703.html
>
> [3] https://github.com/OLSR/OONF
>
>
>
> _______________________________________________
> manet mailing list
> manet@ietf.org
> https://www.ietf.org/mailman/listinfo/manet