ifcfg-bridge − ethernet bridge interface configuration
To setup a
bridge interface you need a configuration file
ifcfg-<interface-name> with the usual network
settings. But you must add additional variables:
This option must be set to ’yes’ to identify this interface as a bridge interface.
BRIDGE_PORTS <interface1 interface2 ... interfaceN>
This variable contains a space-separated list of N interfaces which take part in the bridging.
This option 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. Setting ageing time to zero makes all entries permanent.
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.
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.
If a 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.
BRIDGE_PATHCOSTS <costs1 costs2 ... costsN>
This is a space-separated list of costs corresponding to the interfaces in BRIDGE_PORTS. Each interface in BRIDGE_PORTS could 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>
This is a space-separated list of priorities corresponding to the interfaces in BRIDGE_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.
This option 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’.
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.)
Minimal example for a bridge interface on eth0 and eth1, the bridge interface itself is configured via dhcp:
For additional and more general information have a look into <http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge>.
Please report bugs at <https://bugzilla.novell.com/index.cgi>
Stefan Scheler <firstname.lastname@example.org> -- ifup-bridge
More Linux Commands
HUGE_VAL(3) - floating-point constants - Linux manual page
The macro INFINITY expands to a float constant representing positive infinity. The macro NAN expands to a float constant representing a quiet NaN (when supporte
gnutls_pkcs12_init(3) - API function - Linux manual page....
This function will initialize a PKCS12 structure. PKCS12 structures usually contain lists of X.509 Certificates and X.509 Certificate revocation lists. RETURNS
pthread_setschedparam(3) - set/get scheduling policy and par
The pthread_setschedparam() function sets the scheduling policy and parameters of the thread thread. policy specifies the new scheduling policy for thread. The
sash(1) - stand-alone shell with built-in commands (ManPage)
The sash program is a stand-alone shell which is useful for recovering from certain types of system failures. In particular, it was created in order to cope wit
isgreaterequal(3) - floating-point relational tests without
The normal relation operations (like <, less than) will fail if one of the operands is NaN. This will cause an exception. To avoid this, C99 defines the macros
gnutls_pubkey_import_pkcs11_url(3) - API function (ManPage)
This function will import a PKCS 11 certificate to a gnutls_pubkey_t structure. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error
lzmainfo(1) - show information stored in the .lzma file head
lzmainfo shows information stored in the .lzma file header. It reads the first 13 bytes from the specified file, decodes the header, and prints it to standard o
Math::BigRat(3pm) - Arbitrary big rational numbers (ManPage)
Math::BigRat complements Math::BigInt and Math::BigFloat by providing support for arbitrary big rational numbers. MATH LIBRARY You can change the underlying mod
xfs(1) - X font server (Commands - Linux manual page).......
xfs is the X Window System font server. It supplies fonts to X Window System display servers. The server is usually run by a system administrator, and started v
glGetTexParameterfv(3gl) - return texture parameter values
glGetTexParameter returns in params the value or values of the texture parameter specified as pname. target defines the target texture, either GL_TEXTURE_1D, GL
assert_perror(3) - test errnum and abort - Linux man page...
If the macro NDEBUG was defined at the moment <assert.h> was last included, the macro assert_perror() generates no code, and hence does nothing at all. Otherwis
gnutls_openpgp_crt_get_preferred_key_id(3) - API function...
Get preferred key id. If it hasnt been set it returns GNUTLS_E_INVALID_REQUEST. RETURNS the 64-bit preferred keyID of the OpenPGP key. REPORTING BUGS Report bug