Re: [manet] SMF in Manet and MPR

Christopher Dearlove <christopher.dearlove@gmail.com> Wed, 23 March 2022 21:21 UTC

Return-Path: <christopher.dearlove@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 F38E63A1044 for <manet@ietfa.amsl.com>; Wed, 23 Mar 2022 14:21:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 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, 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 KziveNKxyWr1 for <manet@ietfa.amsl.com>; Wed, 23 Mar 2022 14:21:21 -0700 (PDT)
Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (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 EE3963A1043 for <manet@ietf.org>; Wed, 23 Mar 2022 14:21:20 -0700 (PDT)
Received: by mail-ed1-x532.google.com with SMTP id t1so3395172edc.3 for <manet@ietf.org>; Wed, 23 Mar 2022 14:21:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=2gfmMX/S2bbgeHD40X1ScJP7kYKeNTcS45rl08O9utE=; b=mjeRFcvH9Zk0T8L/qLUOPWn4DjW/rC7A4gR9UkwFVIDdSeNBxsyGP+OE0Wc+s7nK3n fuLX/imyi8bpL4nEOb2Gpkb7en534p3nZfQOjSeWUG/RXl6KZdY3vkNLj36Wc4KW+YOB 7d/xYOndXgqN/Bsm22gcA5PDfmnoNDbaaT3wLl9DrRabDeanEzIHgi6NuBu2xyf7O9RT r5ZCi0aqoAPmoLd6m0ouls9RclpR0ECJKplBiPGcsk+ARq9csPwjC0HW7BmONt5EVlRl Df6116T20V3JBzotfxebSIJP0r6/j2xrKDKPOfwz+rJPGnHLV9i9dGaX1pQgoUEjhmgH WoVQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=2gfmMX/S2bbgeHD40X1ScJP7kYKeNTcS45rl08O9utE=; b=MpEec5LGOe8ZNR/rVCjsAfjnDQN9dH1SCKMmuqdmSQes6xOjsM9HI2eFOToifQAyTL iZDDZnLynGc3NQsDGR+lsqqj2aSvHlsk/m2/9WD7NBmg0JFJ4X0tCADjlxvrIdMiDhXM 4t/9m91oBKFT9Qncjp2uzN22C0bx17h4f7Rni4cwg1o5Mfi/TVM4lNXFfNvmQA0gVr8V lnv4dg3SsIO2XbF9undPNy2vXu44v8hdPwS/Y/aQDKbAic86fNtS/36sbJTgrricKoPv L0LRZVdQn5mQ6ZEGI4XMrcOf2H5LMT2cmfufTn59zgfaBOKGKjq1k69niEUu7JhR8Fdh /EZw==
X-Gm-Message-State: AOAM532SSr7Otzikp5lSEroOr7ehRIZJN+IdyptdjQMTl9NenDh3aisU 5LAFlzrBg5ph0LQSoBFag1KBI+mF7Zk=
X-Google-Smtp-Source: ABdhPJw4b8YCUnIXufOhB4YBkpBjQyyAbKwansrGGIRT1dGgbaf0TjME1Oc0lngq449pls2/IXdwKg==
X-Received: by 2002:a05:6402:1112:b0:413:3d99:f2d7 with SMTP id u18-20020a056402111200b004133d99f2d7mr2715202edv.23.1648070478962; Wed, 23 Mar 2022 14:21:18 -0700 (PDT)
Received: from smtpclient.apple (82-132-227-50.dab.02.net. [82.132.227.50]) by smtp.gmail.com with ESMTPSA id j8-20020aa7c0c8000000b0041934547989sm454547edp.55.2022.03.23.14.21.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Mar 2022 14:21:18 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\))
From: Christopher Dearlove <christopher.dearlove@gmail.com>
In-Reply-To: <CAGnRvup94LZhrY0VYG8-SZf7=M0soS9OvF2+mxTA=6-4BysUjw@mail.gmail.com>
Date: Wed, 23 Mar 2022 21:21:17 +0000
Cc: Philippe Jacquet <philippe.jacquet@inria.fr>, "manet@ietf.org IETF" <manet@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <41C9EDA9-DD51-4925-969A-8538D2B2800F@gmail.com>
References: <CAGnRvuo36vQ8=ij+T2u-uyVNOAWx7Bkdrd9gLon20+dq_0XDiA@mail.gmail.com> <4E684853-DD75-4E36-B738-F9533E59F59A@gmail.com> <CAGnRvurZAiO6zDVTajnD4Usgw4XnaCwFSwaUqzmRMR7GzR_QKA@mail.gmail.com> <1903367784.7556571.1648065868312.JavaMail.zimbra@inria.fr> <CAGnRvup94LZhrY0VYG8-SZf7=M0soS9OvF2+mxTA=6-4BysUjw@mail.gmail.com>
To: Henning Rogge <hrogge@gmail.com>
X-Mailer: Apple Mail (2.3693.20.0.1.32)
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/UgC4XnJAbj72OhpOPGzo7j_M8yA>
Subject: Re: [manet] SMF in Manet and MPR
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: Wed, 23 Mar 2022 21:21:26 -0000

If there’s a shorter route, even if more hops, MPRs will find it. So not suboptimal in that regard.

Flooding will try to travel over a shortest route. It might also flood via other routes, because that’s the nature of flooding.

Flooding might be suboptimal in some regards, though not that one. But of course in NHDP/OLSRv2 to want optimality is to put the cart before the horse. We use the MPR flooding to find out remote information. We couldn’t use it - even if we collected the right metrics - to select MPRs as we already need them.


> On 23 Mar 2022, at 20:41, Henning Rogge <hrogge@gmail.com> wrote:
> 
> The problem is there might be a shorter 3-hop path to a single-hop
> neighbor than the direct path to it... which leads to a bad MPR
> choice.
> 
> So I think NHDP-based MPR selection is sub-optimal.
> 
> Henning Rogge
> 
> On Wed, Mar 23, 2022 at 9:04 PM Philippe Jacquet
> <philippe.jacquet@inria.fr> wrote:
>> 
>> If you choose the MPR with a given metric then the routing graph will automatically show the shortest path wrt the metric as the consequence of the 2 hop MPR coverage property. If such path does not exist then the flooding cannot be achieved wrt the metric.
>> 
>> Philippe
>> 
>> ----- Mail original -----
>> De: "Henning Rogge" <hrogge@gmail.com>
>> À: "Christopher Dearlove" <christopher.dearlove@gmail.com>
>> Cc: "manet@ietf.org IETF" <manet@ietf.org>
>> Envoyé: Mardi 22 Mars 2022 09:37:47
>> Objet: Re: [manet] SMF in Manet and MPR
>> 
>> My point about this issue is that as soon as the router knows that
>> there is a better way to a one-hop neighbor than the direct one, it
>> needs to stop using the link neighbor for flooding. But this is not
>> possible based on NHDP information, only with the help of the full
>> routing graph... which gives quite a few additional challenges because
>> of the cyclic dependencies.
>> 
>> It's the same both for TC flooding and Multicast forwarding. Using a
>> VHF connection to flood them is a waste of precious (VHF) airtime if
>> we have a multihop UHF connection. It's just getting worse when we add
>> userspace (multicast) traffic to the issue.
>> 
>> Henning Rogge
>> 
>> On Tue, Mar 22, 2022 at 9:23 AM Christopher Dearlove
>> <christopher.dearlove@gmail.com> wrote:
>>> 
>>> Flooding is done over the VHF interface because the whole point of flooding is to reach everyone. And there might be some routers you can only reach using the VHF interface. If you know that you can always reach someone using only UHF flooding, and you consider that flooding via VHF is a disaster, why is it one of your Manet interfaces? Or if you want one hop transmission but not MPR selection why not set willingness zero (never) on that interface?
>>> 
>>>> On 22 Mar 2022, at 06:31, Henning Rogge <hrogge@gmail.com> wrote:
>>>> 
>>>> On Mon, Mar 21, 2022 at 7:17 PM Christopher Dearlove
>>>> <christopher.dearlove@gmail.com> wrote:
>>>>> This depends on how you set up your link metrics. Flooding MPRs have
>>>>> the option to use or not use link metrics. But if your interfaces are different
>>>>> enough that you’d rather use multiple hops on a better interface rather
>>>>> than fewer hops on a poorer interface, then you should be using link metrics.
>>>>> If you aren’t, you will have problems. (They probably show up even faster
>>>>> with routing.)
>>>> 
>>>> I don't think metrics can resolve my problem. The problem arises from
>>>> calculating the MPRs just from the 2-hop neighborhood.
>>>> 
>>>> Let me sketch the problem.... imagine you have a Mesh with both VHF
>>>> (slow long range) and UHR (fast short range) radios.
>>>> 
>>>> Now imagine your router R has a neighbor A on VHF, which is two-hop
>>>> reachable on UHF... if A also has a neighbor even further away, A will
>>>> ALWAYS be a MPR, because the neighbor of A is at least three hops away
>>>> over UHV.
>>>> 
>>>> Unicast routes will still flow over the UHF network, but flooding will
>>>> be done over VHF, which is a problem.
>>>> 
>>>>> And so the problem here is with that SMF predates link metrics, and hasn’t
>>>>> been updated. It was even worse when I - and others - tried multicasting
>>>>> by intercepting packets in the stack, wrapping them up as a new OLSR (v1)
>>>>> message type and reinjecting into UDP (OLSR port), plus the reverse at
>>>>> reception. Fun days.
>>>> 
>>>> The OLSR implementation from olsr.org has something like this called
>>>> BMF... it was a disaster. ^^
>>>> 
>>>> Henning Rogge
>> 
>> _______________________________________________
>> manet mailing list
>> manet@ietf.org
>> https://www.ietf.org/mailman/listinfo/manet