Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Sam Ravnborg | 6a2e9b7 | 2005-07-11 21:13:56 -0700 | [diff] [blame] | 2 | # |
| 3 | # 802.1d Ethernet Bridging |
| 4 | # |
| 5 | |
| 6 | config BRIDGE |
| 7 | tristate "802.1d Ethernet Bridging" |
Stephen Hemminger | cf0f02d | 2006-03-20 22:59:06 -0800 | [diff] [blame] | 8 | select LLC |
Patrick McHardy | 7c85fbf | 2008-07-05 21:25:56 -0700 | [diff] [blame] | 9 | select STP |
Randy Dunlap | dcbcdf2 | 2011-03-10 13:45:57 -0800 | [diff] [blame] | 10 | depends on IPV6 || IPV6=n |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 11 | help |
Sam Ravnborg | 6a2e9b7 | 2005-07-11 21:13:56 -0700 | [diff] [blame] | 12 | If you say Y here, then your Linux box will be able to act as an |
| 13 | Ethernet bridge, which means that the different Ethernet segments it |
| 14 | is connected to will appear as one Ethernet to the participants. |
| 15 | Several such bridges can work together to create even larger |
| 16 | networks of Ethernets using the IEEE 802.1 spanning tree algorithm. |
| 17 | As this is a standard, Linux bridges will cooperate properly with |
| 18 | other third party bridge products. |
| 19 | |
| 20 | In order to use the Ethernet bridge, you'll need the bridge |
Mauro Carvalho Chehab | c03e2fa | 2018-09-17 15:02:34 -0400 | [diff] [blame] | 21 | configuration tools; see <file:Documentation/networking/bridge.rst> |
Sam Ravnborg | 6a2e9b7 | 2005-07-11 21:13:56 -0700 | [diff] [blame] | 22 | for location. Please read the Bridge mini-HOWTO for more |
| 23 | information. |
| 24 | |
| 25 | If you enable iptables support along with the bridge support then you |
| 26 | turn your bridge into a bridging IP firewall. |
| 27 | iptables will then see the IP packets being bridged, so you need to |
| 28 | take this into account when setting up your firewall rules. |
| 29 | Enabling arptables support when bridging will let arptables see |
| 30 | bridged ARP traffic in the arptables FORWARD chain. |
| 31 | |
| 32 | To compile this code as a module, choose M here: the module |
| 33 | will be called bridge. |
| 34 | |
| 35 | If unsure, say N. |
Herbert Xu | eb1d164 | 2010-02-27 19:41:45 +0000 | [diff] [blame] | 36 | |
| 37 | config BRIDGE_IGMP_SNOOPING |
YOSHIFUJI Hideaki | 08b202b | 2010-04-23 01:54:22 +0900 | [diff] [blame] | 38 | bool "IGMP/MLD snooping" |
David S. Miller | 024c378 | 2010-02-28 00:51:42 -0800 | [diff] [blame] | 39 | depends on BRIDGE |
Randy Dunlap | 1cd4efd | 2010-03-03 01:23:22 -0800 | [diff] [blame] | 40 | depends on INET |
Herbert Xu | eb1d164 | 2010-02-27 19:41:45 +0000 | [diff] [blame] | 41 | default y |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 42 | help |
Herbert Xu | eb1d164 | 2010-02-27 19:41:45 +0000 | [diff] [blame] | 43 | If you say Y here, then the Ethernet bridge will be able selectively |
YOSHIFUJI Hideaki | 08b202b | 2010-04-23 01:54:22 +0900 | [diff] [blame] | 44 | forward multicast traffic based on IGMP/MLD traffic received from |
| 45 | each port. |
Herbert Xu | eb1d164 | 2010-02-27 19:41:45 +0000 | [diff] [blame] | 46 | |
| 47 | Say N to exclude this support and reduce the binary size. |
| 48 | |
| 49 | If unsure, say Y. |
Vlad Yasevich | 243a2e6 | 2013-02-13 12:00:09 +0000 | [diff] [blame] | 50 | |
| 51 | config BRIDGE_VLAN_FILTERING |
| 52 | bool "VLAN filtering" |
| 53 | depends on BRIDGE |
| 54 | depends on VLAN_8021Q |
| 55 | default n |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 56 | help |
Vlad Yasevich | 243a2e6 | 2013-02-13 12:00:09 +0000 | [diff] [blame] | 57 | If you say Y here, then the Ethernet bridge will be able selectively |
| 58 | receive and forward traffic based on VLAN information in the packet |
| 59 | any VLAN information configured on the bridge port or bridge device. |
| 60 | |
| 61 | Say N to exclude this support and reduce the binary size. |
| 62 | |
| 63 | If unsure, say Y. |
Horatiu Vultur | 2cc974f | 2020-04-26 15:21:59 +0200 | [diff] [blame] | 64 | |
| 65 | config BRIDGE_MRP |
| 66 | bool "MRP protocol" |
| 67 | depends on BRIDGE |
| 68 | default n |
| 69 | help |
| 70 | If you say Y here, then the Ethernet bridge will be able to run MRP |
| 71 | protocol to detect loops |
| 72 | |
| 73 | Say N to exclude this support and reduce the binary size. |
| 74 | |
| 75 | If unsure, say N. |