From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Subject: Re: Batman-adv packet retranslation Date: Mon, 25 May 2020 10:57:16 +0200 Message-ID: <2955852.fglFOeEuJB@rousseau> In-Reply-To: References: <2164745.TYCVdmGlQZ@sven-edge> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3983173.Y956hmGd6a"; micalg="pgp-sha512"; protocol="application/pgp-signature" Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: To: b.a.t.m.a.n@lists.open-mesh.org --nextPart3983173.Y956hmGd6a Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 --nextPart3983173.Y956hmGd6a Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEI5CG6MPJfr3knG//U1VOj+62HMAFAl7LiGwACgkQU1VOj+62 HMAcEwgAwLW3UgXWxfakhsuqeEkoQzrSyVyKTrPAmrufWFd7R5GQZtSCsKNfi+GV PMPXjc32I5/AEK7vhwGmLNq+Wrt4TTgCWOA7/YIMBdZn7ZVyL4uWospUCx15F0l6 MJ4JD231lG6YVcZ3TW5mHjZnX+mWZevb4rk5sS2g5XGe6lrV3odkHaOARxLjSwtj n/ZlD2bf1ZwKxZk0a9McwPxDXEjC+Ewc9VLtjjiTeQ/3J74XvxJUg+n5m8QNbWXz 4pltu7ERbKFUvv5QholU7kOo11DScv1bcMbWxJKpMdBNl+maBk38DWKg1s/UntF7 JxYbwMCf3NY/mxy3vr5IEdv+S5qeWg== =fJJg -----END PGP SIGNATURE----- --nextPart3983173.Y956hmGd6a--