From: Sven Eckelmann <sven.eckelmann@gmx.de>
To: b.a.t.m.a.n@lists.open-mesh.net
Subject: Re: [B.A.T.M.A.N.] HTTP transfers greater than 1000 bytes fail
Date: Sat, 20 Jun 2009 03:23:40 +0200 [thread overview]
Message-ID: <200906200323.44115.sven.eckelmann@gmx.de> (raw)
In-Reply-To: <5161afcd0906191517l4083ef4dnb1642207d81816c1@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]
On Saturday 20 June 2009 00:17:23 Jacob Marble wrote:
> Two Linux boxes, each plugged in via Ethernet to a BATMAN node (two
> nodes). The nodes talk batman-advanced to each other via WiFi. The
> Linux boxes can ping each other all day long. Both Linux boxes have
> Apache running. Downloading a file via HTTP works only if the file is
> smaller than or equal to exactly 1,145 bytes. TFTP file transfers are
> halting, but they get through (4 megabytes took a couple of minutes).
>
> This happens with both r1176 and r1298 on OpenWrt.
Sry, haven't followed your other mails so I don't know your whole setup. It
looks like a mtu problem for me. Please try to set the mtu a lot lower on your
eth devices. You can do a ping test with `ping -s TESTSIZEINBYTE -M dont
IPTOSENDIPPACKET` - dont forget to add the 28 extra bytes needed for the whole
headers inside the ethernet frame. So `ping -s 1472 -M do 192.168.1.1` would
send a 1500 bytes package.
You can also set the mtu on your wifi devices higher (and bat0 devices). So
for example wifi device to 1524 and bat0 to 1500 (like the eth devices).
Also check if you have bridge mtu patch from Simon[1] (included in linux
2.6.27) when you are bridging some of the devices. Also check that icmp
"Destination Unreachable" - "Fragmentation required, and DF flag set" isn't
filtered anywhere.
Regards,
Sven
[1]
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4adf0af6818f3ea52421dc0bae836cfaf20ef72a
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2009-06-20 1:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-19 22:17 [B.A.T.M.A.N.] HTTP transfers greater than 1000 bytes fail Jacob Marble
2009-06-20 1:23 ` Sven Eckelmann [this message]
2009-06-22 19:57 ` Jacob Marble
2009-06-22 20:24 ` Sven Eckelmann
2009-06-22 20:47 ` Jacob Marble
2009-06-22 21:04 ` Sven Eckelmann
2009-06-22 21:06 ` Jacob Marble
2009-06-22 20:31 ` Outback Dingo
2009-06-22 20:46 ` Sven Eckelmann
2009-06-22 20:48 ` Jacob Marble
2009-06-22 20:51 ` Sven Eckelmann
2009-06-22 21:37 ` Jacob Marble
2009-06-22 20:52 ` Jacob Marble
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=200906200323.44115.sven.eckelmann@gmx.de \
--to=sven.eckelmann@gmx.de \
--cc=b.a.t.m.a.n@lists.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.