IFCFG-BRIDGE(5)
πΈ NAME πΈ
okay so ifcfg-bridge is the ethernet bridge interface configuration page β and yes bestie, this is the IFCFG-BRIDGE(5) page from the Network configuration part of the manual set. No cap, it's literally all about setting up a bridge interface. π
π¦ SYNOPSIS π¦
/etc/sysconfig/network/ifcfg-*
that's the file pattern, periodt. β¨
π οΈ CONFIGURATION π οΈ
To set up a bridge interface you need a configuration file ifcfg-<interface-name> with the usual network settings. But you must add these extra variables too, bestie:
BRIDGE <yes|no>β this one has to be set to'yes'to identify this interface as a bridge interface. Lowkey the main character flag. πBRIDGE_PORTS <interface1 interface2 ... interfaceN>β a space-separated list of N interfaces which take part in the bridging. It's giving "squad assemble." π«Ά
β¨ OPTIONAL VARIABLES β¨
BRIDGE_AGEINGTIME <time>β sets the ethernet address ageing time, in seconds. After<time>seconds of not having seen a frame coming from a certain address, the bridge will delete that address from the forwarding database. Set ageing time to zero and all entries become permanent. π°οΈBRIDGE_FORWARDDELAY <time>β forwarding delay time is the time in seconds spent in each of the listening and learning states before the forwarding state is entered. This delay is so that when a new bridge comes onto a busy network it looks at some traffic before participating. Literally the bridge's "let me observe first" era. πBRIDGE_HELLOTIME <time>β periodically, a hello packet is sent out by the root bridge and the designated bridges. Hello packets are used to communicate information about the topology throughout the entire bridged local area network. Hiii π topology.BRIDGE_MAXAGE <time>β if another bridge in the spanning tree does not send out a hello packet for a long period of time, it is assumed to be dead. This timeout can be set with this variable. RIP to that bridge, fr fr. πBRIDGE_PATHCOSTS <costs1 costs2 ... costsN>β a space-separated list of costs corresponding to the interfaces inBRIDGE_PORTS. Each interface inBRIDGE_PORTScould have a different speed, and this value is used when deciding which link to use. Faster interfaces should have lower costs. Use'-'to skip setting of the path costs for a port in a non-empty cost list. ποΈBRIDGE_PORTPRIORITIES <prio1 prio2 ... prioN>β a space-separated list of priorities corresponding to the interfaces inBRIDGE_PORTS. The priority value is an unsigned 8-bit quantity (a number between 0 and 255), and has no dimension. This metric is used in the designated port and root port selection algorithms. Use'-'to skip setting of the priority for a port in a non-empty priority list. π―BRIDGE_PRIORITY <priority>β sets the bridge's priority to<priority>. The priority value is an unsigned 16-bit quantity (a number between 0 and 65535), and has no dimension. Lower priority values are'better'. The bridge with the lowest priority will be elected'root bridge'. πBRIDGE_STP <on|off>β multiple ethernet bridges can work together to create even larger networks of ethernets using the IEEE 802.1d spanning tree protocol. This protocol is used for finding the shortest path between two ethernets, and for eliminating loops from the topology. The spanning tree protocol can also be turned off for those situations where it just doesn't make sense, for example when this linux box is the only bridge on the LAN, or when you know that there are no loops in the topology. πΈοΈ
π EXAMPLE π
Minimal example for a bridge interface on eth0 and eth1, the bridge interface itself is configured via dhcp:
ifcfg-br0
STARTMODE='auto'
BOOTPROTO='dhcp'
BRIDGE='yes'
BRIDGE_STP='off'
BRIDGE_FORWARDDELAY='0'
BRIDGE_PORTS='eth0 eth1'
π§ ADDITIONAL INFORMATION π§
For additional and more general information have a look into <http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge>. π
π COPYRIGHT π
Copyright (C) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. π
π BUGS π
Please report bugs as described at <https://bugs.opensuse.org>. π
π AUTHOR π
Stefan Scheler -- original bridge man page π«Ά
β SEE ALSO β
ifcfg(5), wicked(8), brctl(8). π¦
π that's the whole vibe: from thewickedmanual source,January 2014, pageIFCFG-BRIDGE(5)β bye bestie, go bridge slay! π
π¦ where this page comes from
- opensuse-leap 16.0: wicked 0.6.80-bp160.2.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: wicked 0.6.80-bp160.2.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: wicked 0.6.80-bp160.2.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: wicked 0.6.80-bp160.2.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms