2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2005-07-12 12:13:56 +08:00
|
|
|
#
|
|
|
|
# 802.1d Ethernet Bridging
|
|
|
|
#
|
|
|
|
|
|
|
|
config BRIDGE
|
|
|
|
tristate "802.1d Ethernet Bridging"
|
2006-03-21 14:59:06 +08:00
|
|
|
select LLC
|
2008-07-06 12:25:56 +08:00
|
|
|
select STP
|
2011-03-11 05:45:57 +08:00
|
|
|
depends on IPV6 || IPV6=n
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2005-07-12 12:13:56 +08:00
|
|
|
If you say Y here, then your Linux box will be able to act as an
|
|
|
|
Ethernet bridge, which means that the different Ethernet segments it
|
|
|
|
is connected to will appear as one Ethernet to the participants.
|
|
|
|
Several such bridges can work together to create even larger
|
|
|
|
networks of Ethernets using the IEEE 802.1 spanning tree algorithm.
|
|
|
|
As this is a standard, Linux bridges will cooperate properly with
|
|
|
|
other third party bridge products.
|
|
|
|
|
|
|
|
In order to use the Ethernet bridge, you'll need the bridge
|
2018-09-18 03:02:34 +08:00
|
|
|
configuration tools; see <file:Documentation/networking/bridge.rst>
|
2005-07-12 12:13:56 +08:00
|
|
|
for location. Please read the Bridge mini-HOWTO for more
|
|
|
|
information.
|
|
|
|
|
|
|
|
If you enable iptables support along with the bridge support then you
|
|
|
|
turn your bridge into a bridging IP firewall.
|
|
|
|
iptables will then see the IP packets being bridged, so you need to
|
|
|
|
take this into account when setting up your firewall rules.
|
|
|
|
Enabling arptables support when bridging will let arptables see
|
|
|
|
bridged ARP traffic in the arptables FORWARD chain.
|
|
|
|
|
|
|
|
To compile this code as a module, choose M here: the module
|
|
|
|
will be called bridge.
|
|
|
|
|
|
|
|
If unsure, say N.
|
2010-02-28 03:41:45 +08:00
|
|
|
|
|
|
|
config BRIDGE_IGMP_SNOOPING
|
2010-04-23 00:54:22 +08:00
|
|
|
bool "IGMP/MLD snooping"
|
2010-02-28 16:51:42 +08:00
|
|
|
depends on BRIDGE
|
2010-03-03 17:23:22 +08:00
|
|
|
depends on INET
|
2010-02-28 03:41:45 +08:00
|
|
|
default y
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2010-02-28 03:41:45 +08:00
|
|
|
If you say Y here, then the Ethernet bridge will be able selectively
|
2010-04-23 00:54:22 +08:00
|
|
|
forward multicast traffic based on IGMP/MLD traffic received from
|
|
|
|
each port.
|
2010-02-28 03:41:45 +08:00
|
|
|
|
|
|
|
Say N to exclude this support and reduce the binary size.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2013-02-13 20:00:09 +08:00
|
|
|
|
|
|
|
config BRIDGE_VLAN_FILTERING
|
|
|
|
bool "VLAN filtering"
|
|
|
|
depends on BRIDGE
|
|
|
|
depends on VLAN_8021Q
|
|
|
|
default n
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2013-02-13 20:00:09 +08:00
|
|
|
If you say Y here, then the Ethernet bridge will be able selectively
|
|
|
|
receive and forward traffic based on VLAN information in the packet
|
|
|
|
any VLAN information configured on the bridge port or bridge device.
|
|
|
|
|
|
|
|
Say N to exclude this support and reduce the binary size.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2020-04-26 21:21:59 +08:00
|
|
|
|
|
|
|
config BRIDGE_MRP
|
|
|
|
bool "MRP protocol"
|
|
|
|
depends on BRIDGE
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
If you say Y here, then the Ethernet bridge will be able to run MRP
|
|
|
|
protocol to detect loops
|
|
|
|
|
|
|
|
Say N to exclude this support and reduce the binary size.
|
|
|
|
|
|
|
|
If unsure, say N.
|