public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] BATMAN-Adv and MTU handling
Date: Thu, 12 Nov 2009 11:28:37 +0800	[thread overview]
Message-ID: <200911121128.38384.lindner_marek@yahoo.de> (raw)
In-Reply-To: <20091112005149.GA2879@Linus-Debian>

On Thursday 12 November 2009 08:51:49 Linus Lüssing wrote:
> Ah, wait, I forgot one thing: It worked for our hotspots because
> the coovachili internet gateway had an MTU equal to the PMTU all
> the way through the mesh. But you are right, we are probably
> having some trouble when having too mesh clients which are bridged
> to each other and have an MTU set to 1500...

Ok, then we are on the same page.  :)


> I'm wondering what you think of how tinc is handling this at the
> moment in switch mode: It just "fakes" an ICMPv4/6 message with
> the address of the destination if such a hop is getting an
> IP-packet bigger than the link MTU. This might sound like a good
> idea at first sight, but the disadvantage is, that you're getting
> trouble in IPSec-only networks (which are quite rare at the
> moment, yes :) ).

This sounds rather hacky - I can think of more scenarios in which that 
approach will fail (encryption being one of them). The compression idea Andrew 
was talking about sounds much more promissing.


> Nope, tinc is able to create a TUN (router mode) and TAP (switch
> mode) network adapter, so it is able to actually transport the
> original ethernet frame as well:
> [ETHER][IP][UDP/TCP][ETHER][BATMAN-HDR][PAYLOAD]

That is besides the point.
Tinc is able to let the kernel handle the fragmentation because it forwards 
packets on layer 3 and not on layer 2 (even if it can encapsulate layer 2 
packets). Batman-adv forwards on layer 2 ...

Regards,
Marek

  reply	other threads:[~2009-11-12  3:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09 19:02 [B.A.T.M.A.N.] BATMAN-Adv and MTU handling Linus Lüssing
2009-11-10 10:34 ` Marek Lindner
2009-11-10 22:16   ` Simon Wunderlich
2009-11-12  0:51   ` Linus Lüssing
2009-11-12  3:28     ` Marek Lindner [this message]
2009-11-15 17:08     ` Juliusz Chroboczek
2009-11-23 14:21       ` Linus Lüssing
2009-12-11 13:45         ` Linus Lüssing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200911121128.38384.lindner_marek@yahoo.de \
    --to=lindner_marek@yahoo.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox