Dear Sven, Marek

you can find as attachment the dump on eth2 of GW (tcpdump -ni eth2 -s 0 -w gw.cap);
the output of batctl td -p 4 eth1 is:

10:29:15.510000 BAT 52:54:00:00:20:01 > 52:54:00:00:30:01: UCAST, ttl 50, IP 192.168.100.2.9001 > 192.168.20.4.45417: TCP, flags [...PA.], length 6
10:29:18.000000 BAT 52:54:00:00:30:01 > 52:54:00:00:20:01: UCAST, ttl 50, IP 192.168.20.4.38246 > 192.168.100.2.9002: TCP, flags [.S....], length 12
10:29:18.010000 BAT 52:54:00:00:20:01 > 52:54:00:00:30:01: UCAST, ttl 50, IP 192.168.100.2.9002 > 192.168.20.4.38246: TCP, flags [.S..A.], length 12
10:29:18.020000 BAT 52:54:00:00:30:01 > 52:54:00:00:20:01: UCAST, ttl 50, IP 192.168.20.4.38246 > 192.168.100.2.9002: TCP, flags [....A.], length 0
10:29:18.970000 BAT 52:54:00:00:30:01 > 52:54:00:00:20:01: UCAST, ttl 50, IP 192.168.20.4.38246 > 192.168.100.2.9002: TCP, flags [...PA.], length 5
10:29:18.980000 BAT 52:54:00:00:20:01 > 52:54:00:00:30:01: UCAST, ttl 50, IP 192.168.100.2.9002 > 192.168.20.4.38246: TCP, flags [....A.], length 0
10:29:18.990000 BAT 52:54:00:00:20:01 > 52:54:00:00:30:01: UCAST, ttl 50, IP 192.168.100.2.9002 > 192.168.20.4.38246: TCP, flags [...PA.], length 6
10:29:18.990000 BAT 52:54:00:00:20:01 > 52:54:00:00:30:01: UCAST, ttl 50, IP 192.168.100.2.9002 > 192.168.20.4.38246: TCP, flags [F...A.], length 0
10:29:19.000000 BAT 52:54:00:00:30:01 > 52:54:00:00:20:01: UCAST, ttl 50, IP 192.168.20.4.38246 > 192.168.100.2.9002: TCP, flags [....A.], length 12
10:29:21.970000 BAT 52:54:00:00:20:01 > 52:54:00:00:30:01: UCAST, ttl 50, IP 192.168.100.2.9002 > 192.168.20.4.38246: TCP, flags [...PA.], length 6
10:29:27.950000 BAT 52:54:00:00:20:01 > 52:54:00:00:30:01: UCAST, ttl 50, IP 192.168.100.2.9002 > 192.168.20.4.38246: TCP, flags [...PA.], length 6

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