fff-babeld: add MTU option to babelpeers #125
No reviewers
Labels
No Label
RFC
RFT
WIP
blocked
bsp
bug
build/scripts/tools
duplicate
feature
fixed
layer3
mantis
more details required
needs changes
node
packages/fff
rejected
security
trivial
upstream
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: freifunk-franken/firmware#125
Loading…
Reference in New Issue
No description provided.
Delete Branch "jkimmel/firmware:babelpeermtu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the MTU of a babelpeers is not configurable, nor set to a
default value. If present, the
mtu
option is now copied to theinterface section, otherwise it is set to a default value of 1500.
Warning for VLAN Interfaces:
For MTUs larger than 1500 to take effect, the parent interface also
needs adjusting. E.g. setting
eth0.100
to an MTU larger than the MTUof
eth0
will not work.At this point, manually add the following section to
/etc/config/network
:Beware that this will cause any child interface of
eth0
to have thesame large MTU.
Signed-off-by: Johannes Kimmel fff@bareminimum.eu
Das was im ersten Commit gemacht wird, sollte man für alle derartige Vorkommen (speziell in /etc/layer3.d) machen. Gefällt mir gut.
Statt die MTU explizit auf 1500 zu setzen würde ich hier gerne dabei bleiben die MTU im Default-Fall nicht explizit zu setzen, wodurch sie dann beim Linux Default bleibt. Man kann babelpeer nämlich nicht nur für Ethernet-Interfaces her nehmen, sondern für beliebige Interfaces, die per Default auch etwas anderes als 1500 MTU haben könnten.