From: Axel Neumann <axel@open-mesh.net>
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.] parametrization for bmxd on ethernet?
Date: Wed, 14 Nov 2007 19:34:51 +0100 [thread overview]
Message-ID: <200711141934.51710.axel@open-mesh.net> (raw)
In-Reply-To: <20071114170618.GA4282@apoderado.ometepe.net>
Hi,
On Mittwoch 14 November 2007, Jan Hetges wrote:
> Hi
> I did'nt find doku on that.
> As i'm getting a 2nd GW :-)...
>
> setup:
> ---"DMZ"
> /
> vsat --- gateway ------ wifi-gw --- "wifi-world" --- 2nd-wifi-gw
> \
> ---"wifi-world-2"
>
>
> I'm running bmxd-rv785 on all the wireless stuff, where wifi-gw runs
> bmxd -g -blabla, but i liked to move the bmxd-gw to the cabled gw,
> so if the sat-link fails, "wifi-world-2" and "DMZ" can still reach
> the internet through the 2nd-wifi-gw.
> So howto parametrize bmxd for devices without wireless-intrerface
usually the same parameters as for a node with a wireless interface should be
fine, like:
bmxd -g 1000 eth0:bmx eth1:bmx
You can slightly optimize the cpu consumtion and protocol-traffic-overhead by
appending the /c 100 option to the first interface parameter like:
batmand -g 1000 eth0:bat /c 100 eth1:bat
This overwrites the default configuration (/c 200) of the first interface
parameter which is assumed to be the only wlan interface. /c 200 achieves
some optimization for the path detection via wireless links.
However, on a cabled lan the protocol-traffic-overhead does not really hurt
and on a i386 architecture you will barely recognize any increased cpu
consumption.
> Can i use --gateway-change-hysteresis together with -p ?
No, --gateway-change-hysteresis can only be used with -r 3 (fast-switch
internet connection).
with -p 10.1.2.3 the gw-client will stick to its selected gw as long as its
somehow available (until it times out, as you described below).
> Suggestion: in bmxd -cbd1 i saw nodes with lvld >400 before they
> get deleted, i think 180 should be more than enough, 3 minutes is plenty
> of time for normal reboot, and if a node dosn't send OGMs for more
> than that... it has a serious problem ;)
Well, these long timeout defaults are kind of traditional remains from
batmand-0.2. But, not constantly receiving OGMs from a distant node does not
mean that the distant node has not send some or is down. And it also does not
necessarily mean that the old route to this distant node does not work
anymore. With 0.2 we sometimes observed paths to distant nodes via which only
one OGMs was received within the current window-size (which was 128 seconds)
and still the path was somehow usable.
On the other hand we thought that it has no much benifits to delete a stale
route (even when its definitely death). Not unless a better path is known.
Ok. 0.2 had some problems with path detection and -p is another argument to
reconsider this purge timeout.
ciao,
/axel
>
> cheers
>
> --Jan
next prev parent reply other threads:[~2007-11-14 18:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-14 17:06 [B.A.T.M.A.N.] parametrization for bmxd on ethernet? Jan Hetges
2007-11-14 18:34 ` Axel Neumann [this message]
2007-11-14 23:20 ` Jan Hetges
2007-11-15 19:29 ` Axel Neumann
2007-11-16 14:59 ` Jan Hetges
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=200711141934.51710.axel@open-mesh.net \
--to=axel@open-mesh.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox