IFCFG-BRIDGE
NAMESYNOPSIS
CONFIGURATION
OPTIONAL VARIABLES
EXAMPLE
ADDITIONAL INFORMATION
BUGS
AUTHOR
SEE ALSO
NAME
ifcfg-bridge − ethernet bridge interface configuration
SYNOPSIS
/etc/sysconfig/network/ifcfg-br*
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:
BRIDGE <yes|no>
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.
OPTIONAL VARIABLES
BRIDGE_AGEINGTIME <time>
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.
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.
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.
BRIDGE_MAXAGE <time>
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.
BRIDGE_PRIORITY <priority>
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’.
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_PORTS=’eth0 eth1’ | ||
BRIDGE_PORTPRIORITIES=’50 20’ |
ADDITIONAL INFORMATION
For additional and more general information have a look into <http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge>.
BUGS
Please report bugs at <https://bugzilla.novell.com/index.cgi>
AUTHOR
Stefan Scheler <sscheler@suse.de> -- ifup-bridge
SEE ALSO
More Linux Commands
manpages/HUGE_VAL.3.html
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
manpages/gnutls_pkcs12_init.3.html
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
manpages/pthread_setschedparam.3.html
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
manpages/sash.1.html
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
manpages/isgreaterequal.3.html
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
manpages/gnutls_pubkey_import_pkcs11_url.3.html
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
manpages/lzmainfo.1.html
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
manpages/Math::BigRat.3pm.html
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
manpages/xfs.1.html
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
manpages/glGetTexParameterfv.3gl.html
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
manpages/assert_perror.3.html
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
manpages/gnutls_openpgp_crt_get_preferred_key_id.3.html
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
