From dbb5af2023910c43b4780852fada099cb94cae96 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 11 Dec 2010 12:26:31 -0800 Subject: Revamp of bridging code. - Use sysfs to read bridge information from the system instead of parsing the brctl outputs. - Allow setting of all bridge configuration parameters using new sysfs methods, modelled after bonding configuration. Also works for per-port bridge interface parameters. - Document pre-starting an empty bridge for dynamic add. - Check for interface existence before adding to bridge. - Should fix bug #293046, #309185. --- doc/net.example.Linux.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in index 4ebe1a75..582c1618 100644 --- a/doc/net.example.Linux.in +++ b/doc/net.example.Linux.in @@ -805,6 +805,18 @@ #sethello 0 #stp off" +# You can also configure the bridge or bridge members via sysfs on 2.6 kernels +# or newer. See the kernel bridge documentation for a description of these +# options. +#stp_state_br0="0" +#forward_delay_br0="10" +#hairpin_mode_eth0="1" + +# If you want to start an empty bridge, and then dynmically add ports to it you +# MUST set the following variables (with the correct interface name). +# If you get the error "Misconfigured static bridge detected", this means you. +#bridge_br0='' + #----------------------------------------------------------------------------- # RFC 2684 Bridge Support # For RFC 2684 bridge support emerge net-misc/br2684ctl -- cgit v1.2.3