Re: Network/PPP bug?

George Bonser (grep@oriole.sbay.org)
Mon, 30 Mar 1998 20:01:22 -0800 (PST)


On Mon, 30 Mar 1998, David S. Miller wrote:

>
> I don't know jack about PPP in general, but I did snoop around the
> code based upon your report of the hangs and I see this in the PPP
> driver:
>
> /* RFC 1331, section 7.2 says the minimum value is 1500 bytes */
> if (mru < PPP_MRU)
> mru = PPP_MRU;
>
> Later,
> David S. Miller
> davem@dm.cobaltmicro.com
>

Hmmm, but 7.2 says no such thing. It only says the DEFAULT is 1500. It
says that larger or smaller can be requested but that it must be capable
of 1500 for synchronization.

I have noticed this problem as well and simply set the MRU/MTU to 1500 on
my link.

7.2. Maximum-Receive-Unit

Description

This Configuration Option may be sent to inform the peer that the
implementation can receive larger frames, or to request that the
peer send smaller frames. If smaller frames are requested, an
implementation MUST still be able to receive 1500 octet frames in
case link synchronization is lost.

A summary of the Maximum-Receive-Unit Configuration Option format is
shown below. The fields are transmitted from left to right.

0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Maximum-Receive-Unit |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Type

1

Length

4

Maximum-Receive-Unit

The Maximum-Receive-Unit field is two octets and indicates the new
maximum receive unit. The Maximum-Receive-Unit covers only the
Data Link Layer Information field. It does not include the
header, padding, FCS, nor any transparency bits or bytes.

Default

1500

George Bonser
Just be thankful that Microsoft does not manufacture pharmaceuticals.
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu