Re: [manet] SMF in Manet and MPR

Philippe Jacquet <philippe.jacquet@inria.fr> Thu, 24 March 2022 12:07 UTC

Return-Path: <philippe.jacquet@inria.fr>
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 B33AC3A07B7 for <manet@ietfa.amsl.com>; Thu, 24 Mar 2022 05:07:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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 (1024-bit key) header.d=inria.fr
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 ap4mJRGazCQD for <manet@ietfa.amsl.com>; Thu, 24 Mar 2022 05:07:18 -0700 (PDT)
Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (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 B3CF13A0BDD for <manet@ietf.org>; Thu, 24 Mar 2022 05:07:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:message-id:in-reply-to:references: subject:mime-version:content-transfer-encoding; bh=QYjuwrmbSQKxwpr0Tci6a23TXbGA0kJ0BbLZk7I9f/U=; b=KCyXHG+guxKs0Zr77/2E3MNuTXrtz2kdpADQ3Roy2GMApsPsrwNyJUb4 g1Gj+gZD2fB1m8NTl25z69tuS47Zc2wComgPdhYMtU+yyQ2M9Sukx4pl6 ghvkwTwRobZafl3PSOWyRQVr8NFZUleVHkwyXY4GulKb1AIuGMjvcwx9C 0=;
Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=philippe.jacquet@inria.fr; spf=None smtp.helo=postmaster@zcs-store4.inria.fr
Received-SPF: SoftFail (mail2-relais-roc.national.inria.fr: domain of philippe.jacquet@inria.fr is inclined to not designate 128.93.142.31 as permitted sender) identity=mailfrom; client-ip=128.93.142.31; receiver=mail2-relais-roc.national.inria.fr; envelope-from="philippe.jacquet@inria.fr"; x-sender="philippe.jacquet@inria.fr"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:192.134.164.0/24 mx ~all"
Received-SPF: None (mail2-relais-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@zcs-store4.inria.fr) identity=helo; client-ip=128.93.142.31; receiver=mail2-relais-roc.national.inria.fr; envelope-from="philippe.jacquet@inria.fr"; x-sender="postmaster@zcs-store4.inria.fr"; x-conformance=spf_only
X-IronPort-AV: E=Sophos;i="5.90,207,1643670000"; d="scan'208";a="27902447"
X-MGA-submission: MDEK6+CHSdqV9pvqU++NDxUgwwUK6uW14YMkSDOZceFHTyxIZkpe5/BlQyjbkONbTIsjQnvFaIxgjsT/JX6n0iBCCULC3bHjNQ5YTNqr1IGcVBA23F0xeTpAE9VervSdOR9HXi4pWxkWudWtrtSTVp90iTdy2tzr7ln0/2I1qItNmA==
Received: from zcs-store4.inria.fr ([128.93.142.31]) by mail2-relais-roc.national.inria.fr with ESMTP; 24 Mar 2022 13:07:14 +0100
Date: Thu, 24 Mar 2022 13:07:13 +0100
From: Philippe Jacquet <philippe.jacquet@inria.fr>
To: Henning Rogge <hrogge@gmail.com>
Cc: Christopher Dearlove <christopher.dearlove@gmail.com>, "manet@ietf.org IETF" <manet@ietf.org>
Message-ID: <879440367.8043668.1648123633824.JavaMail.zimbra@inria.fr>
In-Reply-To: <CAGnRvup94LZhrY0VYG8-SZf7=M0soS9OvF2+mxTA=6-4BysUjw@mail.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>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [92.94.249.180]
X-Mailer: Zimbra 8.8.15_GA_4203 (ZimbraWebClient - SAF15.3 (Mac)/8.8.15_GA_4232)
Thread-Topic: SMF in Manet and MPR
Thread-Index: X9Kg9FetNm4PAEGWR9YtCQP12HSACg==
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/vzrg92p3gslx9xBJfHEv_jQjRsA>
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: Thu, 24 Mar 2022 12:07:24 -0000

Maybe I was not clear. By shortest path, I meant the smallest number of hops for paths fitting a given metric. If your metric is "second per bit" (inverse of throughput), you will obtain the shortest path with a given throughput constraint. 

If VHF interface cannot fit the metric you will get a path made of UHF interfaces.

Philippe

----- Mail original -----
De: "Henning Rogge" <hrogge@gmail.com>
À: "Philippe Jacquet" <philippe.jacquet@inria.fr>
Cc: "Christopher Dearlove" <christopher.dearlove@gmail.com>, "manet@ietf.org IETF" <manet@ietf.org>
Envoyé: Mercredi 23 Mars 2022 21:41:11
Objet: Re: [manet] SMF in Manet and MPR

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