* [B.A.T.M.A.N.] MTU issue
@ 2014-04-24 8:34 Saurabh Chakrabarti
2014-04-24 9:15 ` cmsv
0 siblings, 1 reply; 7+ messages in thread
From: Saurabh Chakrabarti @ 2014-04-24 8:34 UTC (permalink / raw)
To: b.a.t.m.a.n
Following the Troubleshooting guide, I have changed the MTU for bat0
interface to 1524. I'm getting this message in my syslog:
Jan 1 00:00:53 localhost kernel: [ 26.899762] batman_adv: bat0: The
MTU of interface wlan0 is too small (1524) to handle the transport of
batman-adv packets. Packets going over this interface will be fragmented
on layer2 which could impact the performance. Setting the MTU to 1560
would solve the problem.
I'm not seeing any apparent performance issues, but do I really need to
make the MTU 1560?
-saurabh
^ permalink raw reply [flat|nested] 7+ messages in thread
* [B.A.T.M.A.N.] MTU issue
@ 2011-11-03 14:53 Wayne Abroue
2011-11-06 13:57 ` Marek Lindner
[not found] ` <CAKeC-QEJAJVk1=bdB0R6iqu_Q5NBdcgL3=qU9-KLg8k7zbCKMQ@mail.gmail.com>
0 siblings, 2 replies; 7+ messages in thread
From: Wayne Abroue @ 2011-11-03 14:53 UTC (permalink / raw)
To: b.a.t.m.a.n
Hi All
We are having a small isue with mtu, on certain builds, could be only
the latest, we are getting this error in wrt.
batman_adv: bat0: The MTU of interface wlan0 is too small (1527) to
handle the transport of batman-adv packets. Packets going over this
interface will be fragmented on layer2 which could impact the
performance. Setting the MTU to 1528 would solve the problem.
I had the same issue previously, but 1528 did not do it.
I have since changed build on that unit and can't remember the actual
value I used, But it was larger.
All I did was increase the value until the warning disappeared, and
everything started working as advertised.
Any idea's?
Wayne A
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [B.A.T.M.A.N.] MTU issue
2011-11-03 14:53 Wayne Abroue
@ 2011-11-06 13:57 ` Marek Lindner
[not found] ` <CAKeC-QEJAJVk1=bdB0R6iqu_Q5NBdcgL3=qU9-KLg8k7zbCKMQ@mail.gmail.com>
1 sibling, 0 replies; 7+ messages in thread
From: Marek Lindner @ 2011-11-06 13:57 UTC (permalink / raw)
To: b.a.t.m.a.n
Hi,
> I had the same issue previously, but 1528 did not do it.
> I have since changed build on that unit and can't remember the actual
> value I used, But it was larger.
>
> All I did was increase the value until the warning disappeared, and
> everything started working as advertised.
what do you mean with "working as advertised" ? It should work even if you get
this warning. All it does is fragmenting your traffic.
Setting the MTU to 1528 works for me. Without providing more information about
your setup and giving us the number which seemingly "fixed" it for you nobody
can help you.
Regards,
Marek
^ permalink raw reply [flat|nested] 7+ messages in thread[parent not found: <CAKeC-QEJAJVk1=bdB0R6iqu_Q5NBdcgL3=qU9-KLg8k7zbCKMQ@mail.gmail.com>]
* [B.A.T.M.A.N.] Fwd: MTU issue
[not found] ` <CAKeC-QEJAJVk1=bdB0R6iqu_Q5NBdcgL3=qU9-KLg8k7zbCKMQ@mail.gmail.com>
@ 2011-11-06 16:27 ` Wayne Abroue
2011-11-06 17:27 ` [B.A.T.M.A.N.] " Marek Lindner
0 siblings, 1 reply; 7+ messages in thread
From: Wayne Abroue @ 2011-11-06 16:27 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
---------- Forwarded message ----------
From: Wayne Abroue <plettpc@gmail.com>
Date: Sun, Nov 6, 2011 at 5:46 PM
Subject: Re: [B.A.T.M.A.N.] MTU issue
To: Marek Lindner <lindner_marek@yahoo.de>
Hi Marek
Thank you for answering, I am sorry I did not supply more info as I
had already moved to a older release and everything just worked.
I have 35 units all running on my mesh with bat-adv and all are
working quite fine.
However using the latest trunk Openwrt, batman-adv it simply does not
communicate via the bat0 interface.
bat0 is up, batctl confirms correct interface, MTU set at 1527 or 1528
or even a touch higher still does not produce batctl pings or
originator lists.
Thus I was wondering if anybody has had the same problem, to assist me
compiling WRT trunk with a older version, I tried the Wiki procedure
for older version editing makefile to 2010.2.0 which produced a error
, " can;t remove /usr/sbin/batcl ;permissions at the build stage.
Any help would be appreciated,
Wayne
On Sun, Nov 6, 2011 at 3:57 PM, Marek Lindner <lindner_marek@yahoo.de> wrote:
>
> Hi,
>
>> I had the same issue previously, but 1528 did not do it.
>> I have since changed build on that unit and can't remember the actual
>> value I used, But it was larger.
>>
>> All I did was increase the value until the warning disappeared, and
>> everything started working as advertised.
>
> what do you mean with "working as advertised" ? It should work even if you get
> this warning. All it does is fragmenting your traffic.
>
> Setting the MTU to 1528 works for me. Without providing more information about
> your setup and giving us the number which seemingly "fixed" it for you nobody
> can help you.
>
> Regards,
> Marek
>
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [B.A.T.M.A.N.] MTU issue
2011-11-06 16:27 ` [B.A.T.M.A.N.] Fwd: " Wayne Abroue
@ 2011-11-06 17:27 ` Marek Lindner
2011-11-06 18:05 ` Wayne Abroue
0 siblings, 1 reply; 7+ messages in thread
From: Marek Lindner @ 2011-11-06 17:27 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hi,
> However using the latest trunk Openwrt, batman-adv it simply does not
> communicate via the bat0 interface.
>
> bat0 is up, batctl confirms correct interface, MTU set at 1527 or 1528
> or even a touch higher still does not produce batctl pings or
> originator lists.
in your previous mail you said increasing the MTU value helped and now it does
not ? It is a bit confusing .. Would you mind to clarify ?
We had some bugs in the 2011.3.0 release which led to connection issues,
therefore we released 2011.3.1. However, the originator list was unaffected.
You might want to give it a try.
> Thus I was wondering if anybody has had the same problem, to assist me
> compiling WRT trunk with a older version, I tried the Wiki procedure
> for older version editing makefile to 2010.2.0 which produced a error
> , " can;t remove /usr/sbin/batcl ;permissions at the build stage.
The location of the batctl binary changed. You can find the necessary changes
in the OpenWrt repository.
Regards,
Marek
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [B.A.T.M.A.N.] MTU issue
2011-11-06 17:27 ` [B.A.T.M.A.N.] " Marek Lindner
@ 2011-11-06 18:05 ` Wayne Abroue
2011-11-06 19:37 ` Sven Eckelmann
0 siblings, 1 reply; 7+ messages in thread
From: Wayne Abroue @ 2011-11-06 18:05 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Sun, Nov 6, 2011 at 7:27 PM, Marek Lindner <lindner_marek@yahoo.de> wrote:
>
> Hi,
>
>> However using the latest trunk Openwrt, batman-adv it simply does not
>> communicate via the bat0 interface.
>>
>> bat0 is up, batctl confirms correct interface, MTU set at 1527 or 1528
>> or even a touch higher still does not produce batctl pings or
>> originator lists.
>
> in your previous mail you said increasing the MTU value helped and now it does
> not ? It is a bit confusing .. Would you mind to clarify ?
> We had some bugs in the 2011.3.0 release which led to connection issues,
> therefore we released 2011.3.1. However, the originator list was unaffected.
> You might want to give it a try.
>
>
>> Thus I was wondering if anybody has had the same problem, to assist me
>> compiling WRT trunk with a older version, I tried the Wiki procedure
>> for older version editing makefile to 2010.2.0 which produced a error
>> , " can;t remove /usr/sbin/batcl ;permissions at the build stage.
>
> The location of the batctl binary changed. You can find the necessary changes
> in the OpenWrt repository.
>
> Regards,
> Marek
>
To answer your first question, Sorry for the confusion, When I tried a
trunk on a new UBNT , a few weeks ago I got the no comms result, so I
promptly compiled with Backfire and all was well.
However , a member of the VT-DEV list has the same problem while
trying to run from precompiled trunk, on a new tp-link wr703 unit.
Unfortunately the wr703 is only supported on trunk, so with the
pre-compiled version he gets the same results I had.
I took this to be related, But if a patch is out, I reckon the only
way is to build from a new svn update to solve?
Thanks for the help.
Wayne A
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [B.A.T.M.A.N.] MTU issue
2011-11-06 18:05 ` Wayne Abroue
@ 2011-11-06 19:37 ` Sven Eckelmann
0 siblings, 0 replies; 7+ messages in thread
From: Sven Eckelmann @ 2011-11-06 19:37 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 2382 bytes --]
On Sunday 06 November 2011 20:05:23 Wayne Abroue wrote:
[...]
> To answer your first question, Sorry for the confusion, When I tried a
> trunk on a new UBNT , a few weeks ago I got the no comms result, so I
> promptly compiled with Backfire and all was well.
>
> However , a member of the VT-DEV list has the same problem while
> trying to run from precompiled trunk, on a new tp-link wr703 unit.
>
> Unfortunately the wr703 is only supported on trunk, so with the
> pre-compiled version he gets the same results I had.
We are currently a little bit confused about your mail. It doesn't provide a
good view on the actual problematic. There are small chunks of information
here and there, but nothing which could help us to understand what it going
on. Also references are only made as "somebody else said something" and not as
link or citation. This makes it quite hard for us to help you.
So what we would need is a clear and consistent description:
* what hardware/software is used?
* what are the versions/revisions of everything (including branch
informations)?
* how looks the hardware (including network infrastructure) configuration?
* how looks the software configuration?
* can it be reproduced with the newest version? (include enough information
to define "newest version")
* do you know a version where it works and what is this version?
* what tests did you use?
* what result did you expect?
* what was the actual result of the test?
* when a workaround is known: what exact steps are necessary to work around
the problem?
* ...
Please also provide relevant information from the batman-adv debug(fs)
interface [1] and packet dumps (please be aware that only relevant parts are
interesting and that we have a limit of 200 KiB for mails).
Be aware that pre-compiled trunk of openwrt doesn't mean that you get the
newest stuff in trunk or anything stable at all.
> I took this to be related, But if a patch is out, I reckon the only
> way is to build from a new svn update to solve?
I cannot give a good answer to this question, but it would be a good idea to
test the patches for batman-adv 2011.3.1 that are integrated in the openwrt
trunk since r28779 [2].
Kind regards,
Sven
[1] http://www.open-mesh.org/wiki/batman-adv/Understand-your-batman-adv-
network
[2] https://dev.openwrt.org/changeset/28575/packages/net/batman-adv
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-04-24 9:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-24 8:34 [B.A.T.M.A.N.] MTU issue Saurabh Chakrabarti
2014-04-24 9:15 ` cmsv
-- strict thread matches above, loose matches on Subject: below --
2011-11-03 14:53 Wayne Abroue
2011-11-06 13:57 ` Marek Lindner
[not found] ` <CAKeC-QEJAJVk1=bdB0R6iqu_Q5NBdcgL3=qU9-KLg8k7zbCKMQ@mail.gmail.com>
2011-11-06 16:27 ` [B.A.T.M.A.N.] Fwd: " Wayne Abroue
2011-11-06 17:27 ` [B.A.T.M.A.N.] " Marek Lindner
2011-11-06 18:05 ` Wayne Abroue
2011-11-06 19:37 ` Sven Eckelmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox