Project

General

Profile

Bug #399

batman-adv complains about MTU in cases where it is not necessarily.

Added by Марк Коренберг 16 days ago. Updated 16 days ago.

Status:
New
Priority:
Low
Assignee:
batman-adv developers
Target version:
-
Start date:
09/30/2019
Due date:
% Done:

0%

Estimated time:

Description

According to current code, it complains if MTU is less than 1560 if NC was enabled during compilation.

  1. If I have compiled with NC on but did not enable NC at runtime, set MTU to 1532, batman complains and this annoys me. Please fix the code to check if runtime NC settings before complainig to choose correct constant. It also should show a message when NC state is changed by user at runtime.
  2. This complaining does not respect 802.1q VLAN. In order VLANs to work, MTU should be 4 bytes more. i.e. instead of 1532 (or 1560) it should be 1536 (or 1564). Possibly, the kernel should complain about this only if someone adds vlan interface above bat0.

History

#1

Updated by Sven Eckelmann 16 days ago

  • Priority changed from Normal to Low
  • Subject changed from Batman complains about MTU in cases where it is not necessarily. to batman-adv complains about MTU in cases where it is not necessarily.
#2

Updated by Sven Eckelmann 16 days ago

  • Description updated (diff)

Also available in: Atom PDF