| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: brconfig.8,v 1.18 2015/01/05 00:36:23 msaitoh Exp $ | | 1 | .\" $NetBSD: brconfig.8,v 1.19 2020/07/19 14:39:42 maxv Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright 2001 Wasabi Systems, Inc. | | 3 | .\" Copyright 2001 Wasabi Systems, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Written by Jason R. Thorpe for Wasabi Systems, Inc. | | 6 | .\" Written by Jason R. Thorpe for Wasabi Systems, Inc. |
7 | .\" | | 7 | .\" |
8 | .\" Redistribution and use in source and binary forms, with or without | | 8 | .\" Redistribution and use in source and binary forms, with or without |
9 | .\" modification, are permitted provided that the following conditions | | 9 | .\" modification, are permitted provided that the following conditions |
10 | .\" are met: | | 10 | .\" are met: |
11 | .\" 1. Redistributions of source code must retain the above copyright | | 11 | .\" 1. Redistributions of source code must retain the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer. | | 12 | .\" notice, this list of conditions and the following disclaimer. |
13 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 13 | .\" 2. Redistributions in binary form must reproduce the above copyright |
14 | .\" notice, this list of conditions and the following disclaimer in the | | 14 | .\" notice, this list of conditions and the following disclaimer in the |
| @@ -23,27 +23,27 @@ | | | @@ -23,27 +23,27 @@ |
23 | .\" | | 23 | .\" |
24 | .\" THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND | | 24 | .\" THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND |
25 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | | 25 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
26 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | | 26 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
27 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC | | 27 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC |
28 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | | 28 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
29 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | | 29 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
30 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | | 30 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
31 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | | 31 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
32 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 32 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
33 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 33 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
34 | .\" POSSIBILITY OF SUCH DAMAGE. | | 34 | .\" POSSIBILITY OF SUCH DAMAGE. |
35 | .\" | | 35 | .\" |
36 | .Dd January 5, 2015 | | 36 | .Dd July 19, 2020 |
37 | .Dt BRCONFIG 8 | | 37 | .Dt BRCONFIG 8 |
38 | .Os | | 38 | .Os |
39 | .Sh NAME | | 39 | .Sh NAME |
40 | .Nm brconfig | | 40 | .Nm brconfig |
41 | .Nd configure network bridge parameters | | 41 | .Nd configure network bridge parameters |
42 | .Sh SYNOPSIS | | 42 | .Sh SYNOPSIS |
43 | .Nm | | 43 | .Nm |
44 | .Fl a | | 44 | .Fl a |
45 | .Nm | | 45 | .Nm |
46 | .Ar bridge | | 46 | .Ar bridge |
47 | .Nm | | 47 | .Nm |
48 | .Ar bridge | | 48 | .Ar bridge |
49 | .Ar command | | 49 | .Ar command |
| @@ -142,29 +142,27 @@ attribute on a member interface. | | | @@ -142,29 +142,27 @@ attribute on a member interface. |
142 | For packets without the | | 142 | For packets without the |
143 | .Dq discovering | | 143 | .Dq discovering |
144 | attribute, the only packets forwarded on the interface are broadcast | | 144 | attribute, the only packets forwarded on the interface are broadcast |
145 | or multicast packets and packets for which the destination address | | 145 | or multicast packets and packets for which the destination address |
146 | is known to be on the interface's segment. | | 146 | is known to be on the interface's segment. |
147 | .It Cm ipf | | 147 | .It Cm ipf |
148 | Enable packet filtering with | | 148 | Enable packet filtering with |
149 | .Xr pfil 9 | | 149 | .Xr pfil 9 |
150 | on the bridge. | | 150 | on the bridge. |
151 | The current implementation passes | | 151 | The current implementation passes |
152 | all ARP and RARP packets through the bridge | | 152 | all ARP and RARP packets through the bridge |
153 | while filtering IP and IPv6 packets through the configured packet | | 153 | while filtering IP and IPv6 packets through the configured packet |
154 | filter, such as | | 154 | filter, such as |
155 | .Xr ipf 4 | | 155 | .Xr npf 7 . |
156 | or | | | |
157 | .Xr pf 4 . | | | |
158 | Other packet types are blocked. | | 156 | Other packet types are blocked. |
159 | .It Cm learn Ar interface | | 157 | .It Cm learn Ar interface |
160 | Mark an interface as a | | 158 | Mark an interface as a |
161 | .Dq learning | | 159 | .Dq learning |
162 | interface. | | 160 | interface. |
163 | When a packet arrives on such an interface, the source | | 161 | When a packet arrives on such an interface, the source |
164 | address of the packet is entered into the address cache as being a | | 162 | address of the packet is entered into the address cache as being a |
165 | destination address on the interface's segment. | | 163 | destination address on the interface's segment. |
166 | This is the default for all interfaces added to a bridge. | | 164 | This is the default for all interfaces added to a bridge. |
167 | .It Cm -learn Ar interface | | 165 | .It Cm -learn Ar interface |
168 | Clear the | | 166 | Clear the |
169 | .Dq learning | | 167 | .Dq learning |
170 | attribute on a member interface. | | 168 | attribute on a member interface. |
| @@ -249,27 +247,27 @@ create | | | @@ -249,27 +247,27 @@ create |
249 | add tlp2 stp tlp2 \e | | 247 | add tlp2 stp tlp2 \e |
250 | add tlp3 stp tlp3 \e | | 248 | add tlp3 stp tlp3 \e |
251 | add tlp4 stp tlp4 \e | | 249 | add tlp4 stp tlp4 \e |
252 | add tlp5 stp tlp5 \e | | 250 | add tlp5 stp tlp5 \e |
253 | add tlp6 stp tlp6 \e | | 251 | add tlp6 stp tlp6 \e |
254 | add tlp7 stp tlp7 \e | | 252 | add tlp7 stp tlp7 \e |
255 | up | | 253 | up |
256 | .Ed | | 254 | .Ed |
257 | .Sh SEE ALSO | | 255 | .Sh SEE ALSO |
258 | .Xr bridge 4 , | | 256 | .Xr bridge 4 , |
259 | .Xr pf 4 , | | 257 | .Xr pf 4 , |
260 | .Xr ifconfig.if 5 , | | 258 | .Xr ifconfig.if 5 , |
261 | .Xr ifconfig 8 , | | 259 | .Xr ifconfig 8 , |
262 | .Xr ipf 8 , | | 260 | .Xr npf 7 , |
263 | .Xr pfil 9 | | 261 | .Xr pfil 9 |
264 | .Sh HISTORY | | 262 | .Sh HISTORY |
265 | The | | 263 | The |
266 | .Nm | | 264 | .Nm |
267 | utility first appeared in | | 265 | utility first appeared in |
268 | .Nx 1.6 . | | 266 | .Nx 1.6 . |
269 | .Sh AUTHORS | | 267 | .Sh AUTHORS |
270 | The | | 268 | The |
271 | .Xr bridge 4 | | 269 | .Xr bridge 4 |
272 | driver and | | 270 | driver and |
273 | .Nm | | 271 | .Nm |
274 | utility were originally written by | | 272 | utility were originally written by |
275 | .An Jason L. Wright | | 273 | .An Jason L. Wright |