I also tested ping with -M option, from B1 to GW1:
ping -M do -s 1448 192.168.20.4

It works up to 1448 bytes, then starting from 1549 I receive the error
"From 192.168.100.2 icmp_seq=1 Frag needed and DF set (mtu = 1476)"

And my bat0 configuration is:

bat0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1476 qdisc pfifo_fast state UNKNOWN qlen 1000


andrea

On Tue, Oct 6, 2009 at 11:43 AM, Sven Eckelmann <sven.eckelmann@gmx.de> wrote:
a wrote:
> It is correct. I'm using openwrt and, at the moment, without -M option.
> 1500byte packets work, with fragmentation.
> However, my TCP packets are small (about 60bytes). I have verified TCPDump
> file and packets arrive. It seems that the Linux IP stack does not forward
> them to the application.
> Moreover, if I disable batman on B1-GW1 link, it works
So it would be a good idea to do what Marek said. Give him a dump with `batctl
td` on the gateway and if I could add something: complete tcpdump of both ends
so we can see what packets receive on both sites.

Best regards,
       Sven