blob: 80879196560c6fbdfcdf356f5d88e0de8fc05a6b [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Sam Ravnborg6a2e9b72005-07-11 21:13:56 -07002#
3# 802.1d Ethernet Bridging
4#
5
6config BRIDGE
7 tristate "802.1d Ethernet Bridging"
Stephen Hemmingercf0f02d2006-03-20 22:59:06 -08008 select LLC
Patrick McHardy7c85fbf2008-07-05 21:25:56 -07009 select STP
Randy Dunlapdcbcdf22011-03-10 13:45:57 -080010 depends on IPV6 || IPV6=n
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090011 help
Sam Ravnborg6a2e9b72005-07-11 21:13:56 -070012 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 Chehabc03e2fa2018-09-17 15:02:34 -040021 configuration tools; see <file:Documentation/networking/bridge.rst>
Sam Ravnborg6a2e9b72005-07-11 21:13:56 -070022 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 Xueb1d1642010-02-27 19:41:45 +000036
37config BRIDGE_IGMP_SNOOPING
YOSHIFUJI Hideaki08b202b2010-04-23 01:54:22 +090038 bool "IGMP/MLD snooping"
David S. Miller024c3782010-02-28 00:51:42 -080039 depends on BRIDGE
Randy Dunlap1cd4efd2010-03-03 01:23:22 -080040 depends on INET
Herbert Xueb1d1642010-02-27 19:41:45 +000041 default y
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090042 help
Herbert Xueb1d1642010-02-27 19:41:45 +000043 If you say Y here, then the Ethernet bridge will be able selectively
YOSHIFUJI Hideaki08b202b2010-04-23 01:54:22 +090044 forward multicast traffic based on IGMP/MLD traffic received from
45 each port.
Herbert Xueb1d1642010-02-27 19:41:45 +000046
47 Say N to exclude this support and reduce the binary size.
48
49 If unsure, say Y.
Vlad Yasevich243a2e62013-02-13 12:00:09 +000050
51config BRIDGE_VLAN_FILTERING
52 bool "VLAN filtering"
53 depends on BRIDGE
54 depends on VLAN_8021Q
55 default n
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090056 help
Vlad Yasevich243a2e62013-02-13 12:00:09 +000057 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 Vultur2cc974f2020-04-26 15:21:59 +020064
65config 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.