]> git.ipfire.org Git - people/ms/network.git/blob - man/network-zone-bridge.xml
man: Convert network-performance-tuning(8) to asciidoc
[people/ms/network.git] / man / network-zone-bridge.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS/DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4
5 <refentry id="network-zone-bridge">
6 <refentryinfo>
7 <title>network-zone-bridge</title>
8 <productname>network</productname>
9
10 <authorgroup>
11 <author>
12 <contrib>Developer</contrib>
13 <firstname>Michael</firstname>
14 <surname>Tremer</surname>
15 <email>michael.tremer@ipfire.org</email>
16 </author>
17 </authorgroup>
18 </refentryinfo>
19
20 <refmeta>
21 <refentrytitle>network-zone-bridge</refentrytitle>
22 <manvolnum>8</manvolnum>
23 </refmeta>
24
25 <refnamediv>
26 <refname>network-zone-bridge</refname>
27 <refpurpose>Network Configuration Control Program</refpurpose>
28 </refnamediv>
29
30 <refsynopsisdiv>
31 <cmdsynopsis>
32 <command>network zone new <replaceable>ZONE</replaceable> bridge ...</command>
33 </cmdsynopsis>
34
35 <cmdsynopsis>
36 <command>network zone <replaceable>ZONE</replaceable> edit ...</command>
37 </cmdsynopsis>
38 </refsynopsisdiv>
39
40 <refsect1>
41 <title>Description</title>
42
43 <para>
44 The bridge hook creates an ethernet bridge which acts as an unmanaged network
45 switch. It contains one or multiple phyisical network interfaces or virtual
46 devices which will be connected to each other.
47 </para>
48 <para>
49 The bridge hook is the prefered hook for local area network zones which are
50 connected to an ethernet network.
51 </para>
52 </refsect1>
53
54 <refsect1>
55 <title>Options</title>
56
57 <para>
58 The following options are understood:
59 </para>
60
61 <variablelist>
62 <varlistentry>
63 <term>
64 <option>--stp=[<emphasis>on</emphasis>|off]</option>
65 </term>
66
67 <listitem>
68 <para>
69 This option enables or disable the use of the
70 <emphasis>Spanning Tree Protocol</emphasis> (STP).
71 This protocol is used to avoid loops in networks by
72 dynamically disabling packet forwarding on links.
73 </para>
74 <para>
75 It is highly recommended to leave this option enabled
76 when you add more than one device to the zone.
77 Read below how the behaviour of STP can be changed.
78 </para>
79 </listitem>
80 </varlistentry>
81
82 <varlistentry>
83 <term>
84 <option>--mtu=<replaceable>MTU</replaceable></option>
85 </term>
86
87 <listitem>
88 <para>
89 Sets the default MTU of the bridge.
90 All ports in the bridge must support this MTU value.
91 </para>
92 </listitem>
93 </varlistentry>
94
95 <varlistentry>
96 <term>
97 <option>--address=<replaceable>ADDRESS</replaceable></option>
98 </term>
99
100 <listitem>
101 <para>
102 By this option, you may define the MAC address of the
103 bridge. If this option is missing, a random MAC address
104 will be generated.
105 </para>
106 </listitem>
107 </varlistentry>
108 </variablelist>
109
110 <para>
111 Spanning Tree Protocol (802.1D) configuration options:
112 </para>
113
114 <variablelist>
115 <varlistentry>
116 <term>
117 <option>--stp-forward-delay=<replaceable>0</replaceable></option>
118 </term>
119
120 <listitem>
121 <para>
122 This sets the default time the interfaces are hold off
123 after they have been added to a bridge.
124 The default value is 0.
125 </para>
126 </listitem>
127 </varlistentry>
128
129 <varlistentry>
130 <term>
131 <option>--stp-hello=<replaceable>2</replaceable></option>
132 </term>
133
134 <listitem>
135 <para>
136 This option defines how often a hello message should be
137 sent. The value is given in seconds and the default is 2.
138 </para>
139 </listitem>
140 </varlistentry>
141
142 <varlistentry>
143 <term>
144 <option>--stp-priority=<replaceable>512</replaceable></option>
145 </term>
146
147 <listitem>
148 <para>
149 The STP priority sets the ranking of this network device
150 within the network. The bridge with the best rank
151 (0 is best) will become the root bridge.
152 </para>
153 </listitem>
154 </varlistentry>
155 </variablelist>
156 </refsect1>
157
158 <refsect1>
159 <title>See Also</title>
160
161 <para>
162 <citerefentry>
163 <refentrytitle>network</refentrytitle>
164 <manvolnum>8</manvolnum>
165 </citerefentry>,
166 <citerefentry>
167 <refentrytitle>network-zone</refentrytitle>
168 <manvolnum>8</manvolnum>
169 </citerefentry>
170 </para>
171 </refsect1>
172 </refentry>