public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: Batman-adv packet retranslation
Date: Mon, 25 May 2020 10:57:16 +0200	[thread overview]
Message-ID: <2955852.fglFOeEuJB@rousseau> (raw)
In-Reply-To: <CAOVt3fG9AbAEMP+uKLy8Hsnub6=hAJG2Ekg3vrC__AqVJAdZHw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]

On Sunday, 24 May 2020 23:53:05 CEST Alexey Ermakov wrote:
> > As Marek pointed  out, you told batman-adv that the  eth0 interfaces have
> > for some reason a link speed of 0.1 [Mbit/s] (or 1 [100Kbit/s] - what the
> > actual unit is for B.A.T.M.A.N. V). And unfortunately, 88% (for the hop
> > penalty) of 1 [100 Kbit/s] is in integer arithmetic 0 [100 Kbit/s]. And 0
> > whatever/s is just discarded by B.A.T.M.A.N. V [1] and not considered for
> > routing traffic - hey, this path ends up as being 0 and therefore
> > useless.
> > The reason why you want to set the link to 1 [100 Kbit/s] has to be
> > figured
> > out by yourself. But for a (during forwarding) strictly monotonic
> > decreasing, integer value, it is a bad starting point to set it to 1
> > [whatever-unit] for a multi-hop setup.
> 
> I have three interfaces on each node:
> eth0 - radio modem, speed 145 kbit/s (see desiription below)
> eth1 - ethernet, speed 100mbit/s
> eth2 - radio modem 10kbit/s (hasn't been tested yet)

Before we go to the next setup, can you confirm that your virtual setup works 
as expected once the throughput is not set to 0.1 MBit/s ?

Kind regards,
Marek


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2020-05-25  8:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-21 17:13 Batman-adv packet retranslation Alexey Ermakov
2020-05-22  6:25 ` Sven Eckelmann
2020-05-24 14:43   ` Alexey Ermakov
2020-05-24 15:29     ` Marek Lindner
2020-05-24 15:49       ` Alexey Ermakov
2020-05-24 15:55         ` Marek Lindner
2020-05-24 16:28     ` Sven Eckelmann
2020-05-24 21:53       ` Alexey Ermakov
2020-05-25  8:57         ` Marek Lindner [this message]
2020-05-25  9:23           ` Alexey Ermakov
2020-05-25 13:34         ` Marek Lindner
2020-05-25 14:59           ` Alexey Ermakov
2020-05-25 15:57             ` Marek Lindner
2020-05-25 17:21               ` Alexey Ermakov
2020-05-25 17:27                 ` Marek Lindner
2020-05-25 17:33                   ` Alexey Ermakov
2020-05-22 11:41 ` Marek Lindner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2955852.fglFOeEuJB@rousseau \
    --to=mareklindner@neomailbox.ch \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox