Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2001 10:03:16 -0800
From:      Michael Wozniak <mwozniak@netcom.ca>
To:        doc@FreeBSD.org
Subject:   update to "Chapter 10. PPP" of "Frequently Asked Questions for FreeBSD 2.X, 3.X and 4.X"
Message-ID:  <002301c078d4$1f1a6fc0$0a80a8c0@mwozniak.uniservers.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0024_01C07891.10F72FC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi, you have quoted me in the FAQ reproduced below.

I would like to add to the statement "the Telco router is not sending ICMP
``must fragment''
back to the www site you are trying to load" that sometimes the Telco _is_
sendind a "must
fragment" back to the www site but the firewall at the www site is dropping
it (also a misconfiguration.)

Also, somebody reading this FAQ asked me about Win2K so I referred them to
Microsoft
Knowledge Base article "Q120642 - TCP/IP & NBT Configuration Parameters for
Windows NT and Windows 2000"
It indicated that the registry key has changed to
Tcpip\Parameters\Interfaces\<ID for Adapter>\MTU

Lastly, if you could change the reference "MS KB" to "Microsoft Knowledge
Base" with a link
to http://search.support.microsoft.com/kb, that would help some people
figure these things out on their
own.

Thanks, Mike



10.27. Why do MacOS and Windows 98 connections freeze when running PPPoE on
the gateway

Thanks to Michael Wozniak <mwozniak@netcom.ca> for figuring this out and Dan
Flemming <danflemming@mac.com> for the Mac solution:

This is due to what's called a ``Black Hole'' router. MacOS and Windows 98
(and maybe other Microsoft OSs) send TCP packets with a requested segment
size too big to fit into a PPPoE frame (MTU is 1500 by default for ethernet)
and have the ``don't fragment'' bit set (default of TCP) and the Telco
router is not sending ICMP ``must fragment'' back to the www site you are
trying to load. When the www server is sending you frames that don't fit
into the PPPoE pipe the Telco router drops them on the floor and your page
doesn't load (some pages/graphics do as they are smaller than a MSS.) This
seems to be the default of most Telco PPPoE configurations (if only they
knew how to program a router... sigh...)

One fix is to use regedit on your 95/98 boxes to add the following registry
entry...


HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0000\Max
MTU


It should be a string with a value ``1450'' (more accurately it should be
``1464'' to fit TCP packets into a PPPoE frame perfectly but the ``1450''
gives you a margin of error for other IP protocols you may encounter).

Refer to MS KB # ``Q158474 - Windows TCPIP Registry Entries'' and
``Q120642 - TCPIP & NBT Configuration Parameters for Windows NT '' for more
information on changing Windoze MTU to work with a FreeBSD/NAT/PPPoE router.


------=_NextPart_000_0024_01C07891.10F72FC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE></TITLE>

<META content=3D"MSHTML 5.00.2722.2800" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi, you have quoted me in the FAQ =
reproduced=20
below.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I would like to add to the =
statement</FONT><FONT=20
face=3DArial size=3D2> "the Telco router is not sending ICMP ``must=20
fragment''</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>back to the www site you are trying to =
load"=20
</FONT><FONT face=3DArial size=3D2>that sometimes the Telco _is_ sendind =
a=20
"must</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>fragment" back to the www site but the =
firewall at=20
the www si</FONT><FONT face=3DArial size=3D2>te is dropping it (also a=20
misconfigur</FONT><FONT face=3DArial size=3D2>ation.)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Also, somebody reading this FAQ asked =
me about=20
Win2K so I referred them to Microsoft</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Knowledge Base article "<FONT=20
face=3D"Verdana, Arial, Helvetica" size=3D2><A=20
href=3D"http://support.microsoft.com/support/kb/articles/Q120/6/42.asp?LN=
=3DEN-US&amp;SD=3Dgn&amp;FR=3D0&amp;qry=3Dmtu&amp;rnk=3D1&amp;src=3DDHCS_=
MSPSS_gn_SRCH&amp;SPR=3DWIN2000"><STRONG>Q120642=20
- TCP/IP &amp; NBT Configuration Parameters for Windows NT and Windows=20
2000</STRONG></A><FONT face=3DArial>"</FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>It indicated that the registry key has =
changed to=20
Tcpip\Parameters\Interfaces\&lt;ID for Adapter&gt;\MTU</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Lastly, if you could change the =
reference "MS KB"=20
to "Microsoft Knowledge Base" with a link</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>to <A=20
href=3D"http://search.support.microsoft.com/kb">http://search.support.mic=
rosoft.com/kb</A>,=20
that would help some people figure these things&nbsp;out on =
their</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>own.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks, Mike</FONT></DIV>
<DIV><BR>&nbsp;</DIV>
<P><FONT size=3D2></P>
<DIV class=3DQUESTION>
<P><BIG><A name=3DMACOS-WIN98-PPPOE-FREEZE></A><B>10.27. Why do MacOS =
and Windows=20
98 connections freeze when running PPPoE on the =
gateway</B></BIG></P></DIV>
<DIV class=3DANSWER>
<P><B></B>Thanks to Michael Wozniak <TT class=3DEMAIL>&lt;<A=20
href=3D"mailto:mwozniak@netcom.ca">mwozniak@netcom.ca</A>&gt;</TT> for =
figuring=20
this out and Dan Flemming <TT class=3DEMAIL>&lt;<A=20
href=3D"mailto:danflemming@mac.com">danflemming@mac.com</A>&gt;</TT> for =
the Mac=20
solution:</P>
<P>This is due to what's called a ``Black Hole'' router. MacOS and =
Windows 98=20
(and maybe other Microsoft OSs) send TCP packets with a requested =
segment size=20
too big to fit into a PPPoE frame (MTU is 1500 by default for ethernet) =
<I=20
class=3DEMPHASIS>and</I> have the ``don't fragment'' bit set (default of =
TCP) and=20
the Telco router is not sending ICMP ``must fragment'' back to the www =
site you=20
are trying to load. When the www server is sending you frames that don't =
fit=20
into the PPPoE pipe the Telco router drops them on the floor and your =
page=20
doesn't load (some pages/graphics do as they are smaller than a MSS.) =
This seems=20
to be the default of most Telco PPPoE configurations (if only they knew =
how to=20
program a router... sigh...)</P>
<P>One fix is to use regedit on your 95/98 boxes to add the following =
registry=20
entry...</P>
<P=20
class=3DLITERALLAYOUT>&nbsp;&nbsp;&nbsp;&nbsp;HKEY_LOCAL_MACHINE\System\C=
urrentControlSet\Services\Class\NetTrans\0000\MaxMTU<BR>&nbsp;&nbsp;&nbsp=
;&nbsp;</P>
<P>It should be a string with a value ``1450'' (more accurately it =
should be=20
``1464'' to fit TCP packets into a PPPoE frame perfectly but the =
``1450'' gives=20
you a margin of error for other IP protocols you may encounter).</P>
<P>Refer to MS KB # ``Q158474 - Windows TCPIP Registry Entries'' and =
``Q120642 -=20
TCPIP &amp; NBT Configuration Parameters for Windows NT '' for more =
information=20
on changing Windoze MTU to work with a FreeBSD/NAT/PPPoE=20
router.</P></DIV></FONT></BODY></HTML>

------=_NextPart_000_0024_01C07891.10F72FC0--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002301c078d4$1f1a6fc0$0a80a8c0>