From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] Node keeps switching back and forth
Date: Wed, 16 Apr 2008 02:02:23 +0800 [thread overview]
Message-ID: <200804160202.23971.lindner_marek@yahoo.de> (raw)
In-Reply-To: <018CC2A5-4DD5-421B-AD00-AF9B3CC50D2B@philippeapril.com>
> As soon as signal from node2 to node1 goes down from let's say 250 to
> 240, if another connection to the gateway's quality is 241, it'll
> switch as soon as it hits 240... Then when quality comes back up to
> 242, it switches back to node1.
>
> I don't think it's very good to switch as soon as the quality is
> higher somewhere else, it should at least "give it a chance" by either
> having a threshold, or switch only if it's been in a more degraded
> state for more than x minutes, etc.
>
> Is there something I can do to influence that? Did I miss a command
> line argument?
You can use e.g. "-r 20" to switch the gateway as soon as the TQ difference is
bigger than 20.
From "batmand -H":
-r routing class (only needed if gateway class = 0)
default: 0 -> set no default route
allowed values: 1 -> use fast internet connection (gw_flags * TQ)
2 -> use stable internet connection (TQ)
3 -> use fast-switch internet connection (TQ but
switch as soon as a better gateway appears)
XX -> use late-switch internet connection (TQ but
switch as soon as a gateway appears which is XX TQ better)
Greetings,
Marek
next prev parent reply other threads:[~2008-04-15 18:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-14 15:12 [B.A.T.M.A.N.] Node keeps switching back and forth Philippe April
2008-04-15 8:04 ` Vinay Menon
2008-04-15 10:08 ` Vinay Menon
2008-04-15 17:31 ` Philippe April
2008-04-15 18:02 ` Marek Lindner [this message]
2008-04-15 18:16 ` Philippe April
2008-04-15 18:58 ` Marek Lindner
2008-04-15 19:04 ` elektra
2008-04-15 20:00 ` Philippe April
2008-04-15 21:09 ` elektra
2008-04-16 8:40 ` Vinay Menon
2008-04-16 13:55 ` Vinay Menon
2008-04-16 15:41 ` Philippe April
2008-04-16 16:29 ` Vinay Menon
2008-04-17 18:40 ` Philippe April
2008-04-18 3:21 ` [O.T.] meraki/madwifi [was:Re: [B.A.T.M.A.N.] Node keeps switching back and forth] Jan Hetges
2008-04-18 6:48 ` [B.A.T.M.A.N.] Node keeps switching back and forth Marek Lindner
2008-04-18 7:24 ` a.anselmi
2008-04-18 13:46 ` Philippe April
2008-04-18 14:01 ` Vinay Menon
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=200804160202.23971.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=b.a.t.m.a.n@open-mesh.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.