Project

General

Profile

Actions

Bug #204

closed

Forwarding fragmented Packets partly broken in batman-adv 2014.4

Added by Ruben Kelevra about 9 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Urgent
Assignee:
-
Target version:
-
Start date:
02/26/2015
Due date:
% Done:

0%

Estimated time:

Description

Using batman-adv 2014.4

We got a tun device on Router A with mtu 1312.

We got a dualband mesh between both (Router A and B) with mtu 1312. Both Routers are a TP-Link WDR3600.

root@A:~# batctl f
enabled

root@B:~# batctl f
enabled

Ping from A to an IPv6:

root@A:~# ping6 fda0:747e:ab29:2144::c02 -s 1800
PING fda0:747e:ab29:2144::c02 (fda0:747e:ab29:2144::c02): 1800 data bytes
1808 bytes from fda0:747e:ab29:2144::c02: seq=0 ttl=64 time=13.813 ms

Ping from B to the same IPv6:

root@B:~# ping6 fda0:747e:ab29:2144::c02 -s 1800
PING fda0:747e:ab29:2144::c02 (fda0:747e:ab29:2144::c02): 1800 data bytes
^C
--- fda0:747e:ab29:2144::c02 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

The maximum -s option which works is

root@B:~# ping6 fda0:747e:ab29:2144::c02 -s 1428
PING fda0:747e:ab29:2144::c02 (fda0:747e:ab29:2144::c02): 1428 data bytes
1436 bytes from fda0:747e:ab29:2144::c02: seq=0 ttl=64 time=18.166 ms

###

With Dualband-Mesh MTU 1532:

root@B:~#  ping6 fda0:747e:ab29:2144::c02 -s 1800
PING fda0:747e:ab29:2144::c02 (fda0:747e:ab29:2144::c02): 1800 data bytes
^C
--- fda0:747e:ab29:2144::c02 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
root@10feed40a81e:~# ping6 fda0:747e:ab29:2144::c02 -s 1428
PING fda0:747e:ab29:2144::c02 (fda0:747e:ab29:2144::c02): 1428 data bytes
1436 bytes from fda0:747e:ab29:2144::c02: seq=0 ttl=64 time=92.526 ms
1436 bytes from fda0:747e:ab29:2144::c02: seq=1 ttl=64 time=14.691 ms
^C
--- fda0:747e:ab29:2144::c02 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 14.691/53.608/92.526 ms
root@10feed40a81e:~# ping6 fda0:747e:ab29:2144::c02 -s 1429
PING fda0:747e:ab29:2144::c02 (fda0:747e:ab29:2144::c02): 1429 data bytes
^C
--- fda0:747e:ab29:2144::c02 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

So the mesh-mtu does not change anything. The Router A is able to submit fragmented packets above -s 1500 and Router B not.


Files

16«.png (27.1 KB) 16«.png Ruben Kelevra, 03/13/2015 06:24 PM
nodeA_ping_filtered.pcap (3.36 KB) nodeA_ping_filtered.pcap fastd packages of one ping roundtrip Ruben Kelevra, 03/13/2015 06:31 PM
nodeB_ping_filtered.pcap (1.61 KB) nodeB_ping_filtered.pcap fastd packages of one broken ping Ruben Kelevra, 03/13/2015 06:31 PM
batman-adv package.pcapng (432 Bytes) batman-adv package.pcapng Ruben Kelevra, 03/13/2015 07:04 PM
Actions

Also available in: Atom PDF