/[gentoo]/xml/htdocs/doc/en/home-router-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/home-router-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.26 Revision 1.27
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.26 2005/05/25 16:37:15 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.27 2005/06/17 00:56:12 vapier Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/home-router-howto.xml"> 5<guide link="/doc/en/home-router-howto.xml">
6 6
7<title>Home Router Guide</title> 7<title>Home Router Guide</title>
13<abstract> 13<abstract>
14This document details how to turn an old Gentoo machine into a router 14This document details how to turn an old Gentoo machine into a router
15for connecting your home network to the internet. 15for connecting your home network to the internet.
16</abstract> 16</abstract>
17 17
18<version>1.6</version> 18<version>1.7</version>
19<date>2005-05-25</date> 19<date>2005-06-16</date>
20 20
21<chapter> 21<chapter>
22<title>Introduction</title> 22<title>Introduction</title>
23<section> 23<section>
24<body> 24<body>
755--> 755-->
756 756
757</chapter> 757</chapter>
758 758
759<chapter> 759<chapter>
760<title>Debugging</title>
761
762<section>
763<title>Useful Tools</title>
764<body>
765
766<p>
767If you're having trouble getting your computers to communicate, you may way to
768try out the following tools (they can all be found in the <c>net-analyzer</c>
769portage category):
770</p>
771
772<table>
773<tr>
774 <th>Utility</th>
775 <th>Description</th>
776</tr>
777<tr>
778 <ti>ethereal</ti>
779 <ti>GUI tool to view all raw network data according to filters</ti>
780</tr>
781<tr>
782 <ti>tcpdump</ti>
783 <ti>Console tool to dump all raw network data according to filters</ti>
784</tr>
785<tr>
786 <ti>iptraf</ti>
787 <ti>ncurses based IP LAN monitor</ti>
788</tr>
789<tr>
790 <ti>ettercap</ti>
791 <ti>ncurses based network monitor/control</ti>
792</tr>
793</table>
794
795</body>
796</section>
797
798<section>
799<title>Incorrect MTU Value</title>
800<body>
801
802<p>
803If you experience odd errors (such as not being some webpages while others
804load fine), you may be having Path MTU Discovery trouble. The quick way to
805test is to run this iptables command:
806</p>
807
808<pre caption="Circumvent MTU issues">
809# <i>iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu</i>
810</pre>
811
812<p>
813This will affect all new connections, so just refresh the website you're
814having problems with in order to test. In case it helps, the standard MTU
815value for 100mbit ethernet connections is <c>1500</c> while for PPPoE
816connections it is <c>1492</c>. For more info, you should read Chapter 15
817of the <uri link="http://lartc.org/howto/">Linux Advanced Routing &amp;
818Traffic Control HOWTO</uri>.
819</p>
820
821</body>
822</section>
823
824</chapter>
825
826<chapter>
760<title>Final Notes</title> 827<title>Final Notes</title>
761<section> 828<section>
762<body> 829<body>
763 830
764<p> 831<p>

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.20