All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias-Christian Ott <ott@mirix.org>
To: linux-ppp@vger.kernel.org
Subject: Re: ppp_async: ioctl to set MTU needed
Date: Tue, 13 Jan 2015 23:39:38 +0000	[thread overview]
Message-ID: <54B5ACBA.80502@mirix.org> (raw)
In-Reply-To: <54B556D0.5090204@mirix.org>

On 2015-01-14 00:24, Matthias-Christian Ott wrote:
> It seems that I read over this than and what I wanted to achieve is
> impossible with PPP. I think setting the channel MTU to the MRU is
> unaffected by this and is still wrong though. From RFC 1661:
> 
> 6.1.  Maximum-Receive-Unit (MRU)
> 
> [...]
> 
>     This option is used to indicate an implementation capability.
>     The peer is not required to maximize the use of the capacity.
>     For example, when a MRU is indicated which is 2048 octets, the
>     peer is not required to send any packet with 2048 octets.  The
>     peer need not Configure-Nak to indicate that it will only send
>     smaller packets, since the implementation will always require
>     support for at least 1500 octets.

Another aspect is that if Multilink PPP is used, it might be wrong to
set the MTU based on the MRU. If both peers know that the link MTU is
smaller than 1500 octets and want to encapsulate payloads larger than
the link MTU (that is the interface MTU is bigger than the channel MTU
and Multilink PPP fragments payloads larger the channel MTU), they can
adjust their MRRU and channel MTU accordingly and thus never send PPP
packets larger than the link MTU. If the channel MTU is set from the
MRU, this is not possible.

Regards,
Matthias-Christian

  parent reply	other threads:[~2015-01-13 23:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 17:33 ppp_async: ioctl to set MTU needed Matthias-Christian Ott
2015-01-13 20:30 ` James Carlson
2015-01-13 20:57 ` Christoph Schulz
2015-01-13 21:31 ` James Carlson
2015-01-13 21:56 ` Christoph Schulz
2015-01-13 22:22 ` James Carlson
2015-01-13 22:56 ` Christoph Schulz
2015-01-13 23:04 ` Christoph Schulz
2015-01-13 23:24 ` Matthias-Christian Ott
2015-01-13 23:39 ` Matthias-Christian Ott [this message]
2015-01-14  0:10 ` James Carlson

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=54B5ACBA.80502@mirix.org \
    --to=ott@mirix.org \
    --cc=linux-ppp@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.