0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # 802.1d Ethernet Bridging
0004 #
0005
0006 config BRIDGE
0007 tristate "802.1d Ethernet Bridging"
0008 select LLC
0009 select STP
0010 depends on IPV6 || IPV6=n
0011 help
0012 If you say Y here, then your Linux box will be able to act as an
0013 Ethernet bridge, which means that the different Ethernet segments it
0014 is connected to will appear as one Ethernet to the participants.
0015 Several such bridges can work together to create even larger
0016 networks of Ethernets using the IEEE 802.1 spanning tree algorithm.
0017 As this is a standard, Linux bridges will cooperate properly with
0018 other third party bridge products.
0019
0020 In order to use the Ethernet bridge, you'll need the bridge
0021 configuration tools; see <file:Documentation/networking/bridge.rst>
0022 for location. Please read the Bridge mini-HOWTO for more
0023 information.
0024
0025 If you enable iptables support along with the bridge support then you
0026 turn your bridge into a bridging IP firewall.
0027 iptables will then see the IP packets being bridged, so you need to
0028 take this into account when setting up your firewall rules.
0029 Enabling arptables support when bridging will let arptables see
0030 bridged ARP traffic in the arptables FORWARD chain.
0031
0032 To compile this code as a module, choose M here: the module
0033 will be called bridge.
0034
0035 If unsure, say N.
0036
0037 config BRIDGE_IGMP_SNOOPING
0038 bool "IGMP/MLD snooping"
0039 depends on BRIDGE
0040 depends on INET
0041 default y
0042 help
0043 If you say Y here, then the Ethernet bridge will be able selectively
0044 forward multicast traffic based on IGMP/MLD traffic received from
0045 each port.
0046
0047 Say N to exclude this support and reduce the binary size.
0048
0049 If unsure, say Y.
0050
0051 config BRIDGE_VLAN_FILTERING
0052 bool "VLAN filtering"
0053 depends on BRIDGE
0054 depends on VLAN_8021Q
0055 default n
0056 help
0057 If you say Y here, then the Ethernet bridge will be able selectively
0058 receive and forward traffic based on VLAN information in the packet
0059 any VLAN information configured on the bridge port or bridge device.
0060
0061 Say N to exclude this support and reduce the binary size.
0062
0063 If unsure, say Y.
0064
0065 config BRIDGE_MRP
0066 bool "MRP protocol"
0067 depends on BRIDGE
0068 default n
0069 help
0070 If you say Y here, then the Ethernet bridge will be able to run MRP
0071 protocol to detect loops
0072
0073 Say N to exclude this support and reduce the binary size.
0074
0075 If unsure, say N.
0076
0077 config BRIDGE_CFM
0078 bool "CFM protocol"
0079 depends on BRIDGE
0080 help
0081 If you say Y here, then the Ethernet bridge will be able to run CFM
0082 protocol according to 802.1Q section 12.14
0083
0084 Say N to exclude this support and reduce the binary size.
0085
0086 If unsure, say N.