Re: [manet] SMF in Manet and MPR

Henning Rogge <hrogge@gmail.com> Wed, 23 March 2022 20:41 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 C72DD3A0D53 for <manet@ietfa.amsl.com>; Wed, 23 Mar 2022 13:41:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.108
X-Spam-Level:
X-Spam-Status: No, score=-7.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, RCVD_IN_DNSWL_HI=-5, 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 61vicInYUmle for <manet@ietfa.amsl.com>; Wed, 23 Mar 2022 13:41:37 -0700 (PDT)
Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (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 1D13F3A0D50 for <manet@ietf.org>; Wed, 23 Mar 2022 13:41:37 -0700 (PDT)
Received: by mail-lf1-x12c.google.com with SMTP id bu29so4755387lfb.0 for <manet@ietf.org>; Wed, 23 Mar 2022 13:41:36 -0700 (PDT)
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=+wTFZATynbtnY11X5a3zZuwB+WAAOPYjrDqoEqBNpmo=; b=iewxrZUugYAn7uph9cm1CoqKMIseNEbe4z78rHyikWGD25KmOq7Bv/Dzf4ThCkQdu4 fL3oQ9bFnirr3qCyftjOG2PwrxC3u9J+xpSPZZ6XXQNqzdq/skg6qjep4z2a9TaUjB4J RRLF2Nh/oQT4aL4o/KlolssTy0K9RSQolmocYh/HeKzdLHIa24aRLWD/ZCLoAR3RygRQ EJlEvLm5qs0TtXf6VKLsiM2lMKYmfKUPG52azn4TkjgCNz774GVU97JZwqzoZQosFqas 47hcC5udTRZSIfSMmFpuVIX6hqFwcIA90rs8cW9CLvfQ24FwzM18JCPwKILnmbHkDCAW /FCw==
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=+wTFZATynbtnY11X5a3zZuwB+WAAOPYjrDqoEqBNpmo=; b=pcdYNC7Lcewut177ht6mCeFkH8CoqT3zdLwdkMizIB/ZWHLnwdFpSrBhpLzsMlX70z VRjaPLdJNoRra+x3aFRF9ueRAaWSPuXLM8Wl7BEiIeboHBiAWh5rwLAps4vZp9ShPIe0 HlDS0snZPSH4ddswK7LJzXxWvdTQNk0PBiJaLqWGKsvS4P+HWHbNPerIp8rIhkiA6zLM DqzuiSn9CYSctG0iFyfRLUF79+sbeAEKGv7RPBoVL+I10CvCy99DZPCGg8MdA3i3h/vE REU7wRCpKLtpbllBRSi007TNe4TGKfVQbxGYVl5FBZSlxMzz9u0ONT2tzm9bL9j2VHAP NOQg==
X-Gm-Message-State: AOAM531VmGX28DQmZaI7pjAFQfKTqtTSwY9m3twJAz5ZQtfoYo4dkiVP jkyRc93zmG4MR5P7xuHroIDMijuZxekiUgYVlus=
X-Google-Smtp-Source: ABdhPJxEbsFGzryA4On6oUHGriUyRwvMEsym1x4uf470XSiVesKo60fUBqhISjr+GmQH6VO7TYx/rGN8Wxb3xDbwoTg=
X-Received: by 2002:a05:6512:3fa9:b0:44a:313e:eb63 with SMTP id x41-20020a0565123fa900b0044a313eeb63mr1206826lfa.19.1648068094794; Wed, 23 Mar 2022 13:41:34 -0700 (PDT)
MIME-Version: 1.0
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>
In-Reply-To: <1903367784.7556571.1648065868312.JavaMail.zimbra@inria.fr>
From: Henning Rogge <hrogge@gmail.com>
Date: Wed, 23 Mar 2022 21:41:11 +0100
Message-ID: <CAGnRvup94LZhrY0VYG8-SZf7=M0soS9OvF2+mxTA=6-4BysUjw@mail.gmail.com>
To: Philippe Jacquet <philippe.jacquet@inria.fr>
Cc: Christopher Dearlove <christopher.dearlove@gmail.com>, "manet@ietf.org IETF" <manet@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/xQ3pFFv_CMYer4DU1GQhhkvaGlk>
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 20:41:42 -0000

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