old-www/HOWTO/BRIDGE-STP-HOWTO/index.html

450 lines
6.7 KiB
HTML

<HTML
><HEAD
><TITLE
>Linux BRIDGE-STP-HOWTO</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
"><LINK
REL="NEXT"
TITLE="License
"
HREF="license.html"></HEAD
><BODY
CLASS="ARTICLE"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="ARTICLE"
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="TITLE"
><A
NAME="AEN1"
>Linux BRIDGE-STP-HOWTO</A
></H1
><H3
CLASS="AUTHOR"
><A
NAME="AEN5"
>Uwe Böhme</A
></H3
><DIV
CLASS="AFFILIATION"
><DIV
CLASS="ADDRESS"
><P
CLASS="ADDRESS"
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Johann-Heinrich-Abt-Straße 7<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;95213<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Münchberg<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Germany<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+49/9251 960877<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+49/9251 960878<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uwe@bnhof.de<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
></DIV
></DIV
><H3
CLASS="AUTHOR"
><A
NAME="AEN17"
>Lennert Buytenhenk</A
></H3
><DIV
CLASS="AFFILIATION"
><SPAN
CLASS="JOBTITLE"
>bridge code maintainer and developer<BR></SPAN
><SPAN
CLASS="ORGNAME"
>gnu.org<BR></SPAN
><DIV
CLASS="ADDRESS"
><P
CLASS="ADDRESS"
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;buytenh@gnu.org<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
></DIV
></DIV
><SPAN
CLASS="RELEASEINFO"
>Release v0.04<BR></SPAN
><P
CLASS="COPYRIGHT"
><A
HREF="ln58.html"
>Copyright</A
> &copy; 2000
by Uwe Böhme
</P
><DIV
CLASS="REVHISTORY"
><TABLE
WIDTH="100%"
BORDER="0"
><TR
><TH
ALIGN="LEFT"
VALIGN="TOP"
COLSPAN="3"
><B
>Revision History</B
></TH
></TR
><TR
><TD
ALIGN="LEFT"
>Revision v0.04</TD
><TD
ALIGN="LEFT"
>11 January 2001</TD
><TD
ALIGN="LEFT"
>Revised by: U.B.</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Changed Lennert`s Bridge Homepage URL; added NIC to list.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision v0.03</TD
><TD
ALIGN="LEFT"
>17 July 2000</TD
><TD
ALIGN="LEFT"
>Revised by: U.B.</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Overwork pdf. Download links in doc.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision v0.02</TD
><TD
ALIGN="LEFT"
>16 July 2000</TD
><TD
ALIGN="LEFT"
>Revised by: U.B.</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Fixed broken graphics in html dsl. Prepared pdf. Typos.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision v0.01</TD
><TD
ALIGN="LEFT"
>25 June 2000</TD
><TD
ALIGN="LEFT"
>Revised by: U.B.</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Changes name from BRIDGE-HOWTO to BRIDGE-STP-HOWTO (avoid
interference with BRIDGE-HOWTO by Christopher Cole) and kill
version 1.xx.
Lennert Buytenhenk announced as coauthor.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision v0.00</TD
><TD
ALIGN="LEFT"
>01 June 2000</TD
><TD
ALIGN="LEFT"
>Revised by: U.B.</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Initial Release.</TD
></TR
></TABLE
></DIV
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>1. <A
HREF="license.html"
>License</A
></DT
><DT
>2. <A
HREF="home-and-download.html"
>Document Home and Downloads</A
></DT
><DD
><DL
><DT
>2.1. <A
HREF="home-and-download.html#THE-SOURCE"
>The Bridge Sources And Utilities</A
></DT
><DT
>2.2. <A
HREF="home-and-download.html#THE-MAILLIST"
>The Mailing-List</A
></DT
><DT
>2.3. <A
HREF="home-and-download.html#THIS-DOCUMENT"
>This Document</A
></DT
></DL
></DD
><DT
>3. <A
HREF="what-is-a-bridge.html"
>What Is A Bridge?</A
></DT
><DT
>4. <A
HREF="rules-on-bridging.html"
>Rules On Bridging</A
></DT
><DT
>5. <A
HREF="preparing-the-bridge.html"
>Preparing The Bridge</A
></DT
><DD
><DL
><DT
>5.1. <A
HREF="preparing-the-bridge.html#GET-THE-FILES"
>Get The Files</A
></DT
><DT
>5.2. <A
HREF="preparing-the-bridge.html#APPLY-THE-PATCHES"
>Apply The Patches</A
></DT
><DT
>5.3. <A
HREF="preparing-the-bridge.html#CONFIGURE-THE-KERNEL"
>Configure The Kernel</A
></DT
><DT
>5.4. <A
HREF="preparing-the-bridge.html#COMPILE-THE-KERNEL"
>Compile The Kernel</A
></DT
><DT
>5.5. <A
HREF="preparing-the-bridge.html#COMPILE-THE-UTILS"
>Compile The Bridge Utilities</A
></DT
></DL
></DD
><DT
>6. <A
HREF="set-up-the-bridge.html"
>Set Up The Bridge</A
></DT
><DD
><DL
><DT
>6.1. <A
HREF="set-up-the-bridge.html#BRCTL-SYNOPSIS"
><B
CLASS="COMMAND"
>brctl</B
> Command Synopsis</A
></DT
><DT
>6.2. <A
HREF="set-up-the-bridge.html#BASIC-SETUP"
>Basic Setup</A
></DT
></DL
></DD
><DT
>7. <A
HREF="advanced-bridge.html"
>Advanced Bridge Features</A
></DT
><DD
><DL
><DT
>7.1. <A
HREF="advanced-bridge.html#STP"
>Spanning Tree Protocol</A
></DT
><DT
>7.2. <A
HREF="advanced-bridge.html#IPCHAINS"
>Bridge And The IP-Chains</A
></DT
></DL
></DD
><DT
>8. <A
HREF="practical-example.html"
>A Practical Setup Example</A
></DT
><DD
><DL
><DT
>8.1. <A
HREF="practical-example.html#AEN590"
>Hardware-setup</A
></DT
><DT
>8.2. <A
HREF="practical-example.html#AEN609"
>Software-setup</A
></DT
><DT
>8.3. <A
HREF="practical-example.html#SEE-IT-WORK"
>See It Work</A
></DT
><DT
>8.4. <A
HREF="practical-example.html#BRIDGE-TESTS"
>Bridge Tests</A
></DT
><DD
><DL
><DT
>8.4.1. <A
HREF="practical-example.html#TEAR-THE-PATCH-WIRE-TEST"
>Tear The Patch Wire Test</A
></DT
><DT
>8.4.2. <A
HREF="practical-example.html#KILL-THE-ROOT-BRIDGE-TEST"
>Kill The Root Bridge Test</A
></DT
></DL
></DD
></DL
></DD
><DT
>A. <A
HREF="nic-info.html"
>Network Interface Cards</A
></DT
><DT
>B. <A
HREF="recommended-reading.html"
>Recommended Reading</A
></DT
><DT
>C. <A
HREF="faq.html"
>FAQ</A
></DT
></DL
></DIV
><FONT
COLOR="RED"
>About The Linux Modular Bridge And STP</FONT
><BLOCKQUOTE
CLASS="ABSTRACT"
><DIV
CLASS="ABSTRACT"
><A
NAME="AEN70"
></A
><P
></P
><P
>This document describes how to setup a bridge with the
recent kernel patches and brctl utility by Lennert Buytenhek.
and tries to explain about the STP implementation in this
code.
</P
><P
></P
></DIV
></BLOCKQUOTE
><P
>With developer kernel 2.3.47 the new bridging code is part of the
mainstream.
There are patches for stable kernels 2.2.14 to 2.2.16, where each
is also available as a ipchains-patch.
</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="license.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>License</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>