Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
BRIDGE(4)	       FreeBSD Kernel Interfaces Manual		     BRIDGE(4)

     bridge -- bridging	support

     options BRIDGE

     FreeBSD supports bridging on Ethernet-type	interfaces.

     Runtime operation of the bridge is	controlled by several sysctl(8)	vari-
     ables.  The variable	can be set to 1	to enable
     bridging, or set to 0 to disable it.

     The variable can be set	to 1 to	enable ipfw(8)
     filtering on bridged packets.  Note that ipfw(8) rules only apply to IP
     packets.  Non-IP packets are subject to the default ipfw(8) rule (number
     65535) which must be an allow rule	if ARP and other non-IP	packets	need
     to	flow through the bridge.

     The bridge	configuration is controlled by the
     variable.	It consists of a comma-separated list of interface:cluster
     pairs, where all interfaces with the same cluster number will be bridged

     Another variable reinitializes the	bridge;	this is	required if bridged
     configurations include loadable interfaces.  After	loading	new interface
     drivers, setting the	variable to 1 will
     cause the bridge to reinitialize itself.

     The following command will	cause the ep0 and fxp0 interfaces to be
     bridged together, and the fxp1 and	de0 interfaces to be bridged together:


     Care must be taken	not to construct loops in the bridge topology.	The
     kernel supports only a primitive form of loop detection, by disabling
     some interfaces when a loop is detected.  No support for a	daemon running
     the spanning tree algorithm is currently provided.

     With bridging active, interfaces are in promiscuous mode, thus causing
     some load on the system to	receive	and filter out undesired traffic.

     Extended functionality to enable bridging selectively on clusters of
     interfaces	is still in the	works.

     Interfaces	that cannot be put into	promiscuous mode or that don't support
     sending packets with arbitrary Ethernet source addresses are not compati-
     ble with bridging.

     ip(4), ng_bridge(4), ipfw(8), sysctl(8)

     bridge bridging was introduced in FreeBSD 2.2.8 by	Luigi Rizzo

FreeBSD	11.0		      September	28, 1998		  FreeBSD 11.0


Want to link to this manual page? Use this URL:

home | help