vapier 05/06/17 00:56:12 Modified: xml/htdocs/doc/en home-router-howto.xml Log: add a small debugging section with MTU info from Ryan Viljoen and Krzysztof Czainski
Revision Changes Path 1.27 +70 -3 xml/htdocs/doc/en/home-router-howto.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/home-router-howto.xml?rev=1.27&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/home-router-howto.xml?rev=1.27&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/home-router-howto.xml.diff?r1=1.26&r2=1.27&cvsroot=gentoo Index: home-router-howto.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- home-router-howto.xml 25 May 2005 16:37:15 -0000 1.26 +++ home-router-howto.xml 17 Jun 2005 00:56:12 -0000 1.27 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='UTF-8'?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.26 2005/05/25 16:37:15 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.27 2005/06/17 00:56:12 vapier Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/home-router-howto.xml"> @@ -15,8 +15,8 @@ for connecting your home network to the internet. </abstract> -<version>1.6</version> -<date>2005-05-25</date> +<version>1.7</version> +<date>2005-06-16</date> <chapter> <title>Introduction</title> @@ -757,6 +757,73 @@ </chapter> <chapter> +<title>Debugging</title> + +<section> +<title>Useful Tools</title> +<body> + +<p> +If you're having trouble getting your computers to communicate, you may way to +try out the following tools (they can all be found in the <c>net-analyzer</c> +portage category): +</p> + +<table> +<tr> + <th>Utility</th> + <th>Description</th> +</tr> +<tr> + <ti>ethereal</ti> + <ti>GUI tool to view all raw network data according to filters</ti> +</tr> +<tr> + <ti>tcpdump</ti> + <ti>Console tool to dump all raw network data according to filters</ti> +</tr> +<tr> + <ti>iptraf</ti> + <ti>ncurses based IP LAN monitor</ti> +</tr> +<tr> + <ti>ettercap</ti> + <ti>ncurses based network monitor/control</ti> +</tr> +</table> + +</body> +</section> + +<section> +<title>Incorrect MTU Value</title> +<body> + +<p> +If you experience odd errors (such as not being some webpages while others +load fine), you may be having Path MTU Discovery trouble. The quick way to +test is to run this iptables command: +</p> + +<pre caption="Circumvent MTU issues"> +# <i>iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu</i> +</pre> + +<p> +This will affect all new connections, so just refresh the website you're +having problems with in order to test. In case it helps, the standard MTU +value for 100mbit ethernet connections is <c>1500</c> while for PPPoE +connections it is <c>1492</c>. For more info, you should read Chapter 15 +of the <uri link="http://lartc.org/howto/">Linux Advanced Routing & +Traffic Control HOWTO</uri>. +</p> + +</body> +</section> + +</chapter> + +<chapter> <title>Final Notes</title> <section> <body> -- [email protected] mailing list
