[Bridge] [patch net-next-2.6] bridge: allow hub-like behaviour

Stephen Hemminger shemminger at vyatta.com
Thu Aug 12 06:02:51 PDT 2010


On Thu, 12 Aug 2010 14:48:48 +0200
Jiri Pirko <jpirko at redhat.com> wrote:

> Thu, Aug 12, 2010 at 02:35:41PM CEST, shemminger at vyatta.com wrote:
> >On Thu, 12 Aug 2010 13:15:24 +0200
> >Jiri Pirko <jpirko at redhat.com> wrote:
> >
> >> Wed, Aug 11, 2010 at 06:07:41PM CEST, shemminger at vyatta.com wrote:
> >> >NO. unnecessary
> >> >
> >> >Already possible, without patch. Just set the hold time
> >> >on the bridge to 0!
> >> 
> >> Sorry, but could you please point me a sysfs node where should I do this
> >> setting? Unable to find this.
> >> 
> >> Thanks.
> >> 
> >
> >/sys/class/net/ethX/brport/hold_timer

Too early...

hold_time is computed from ageing time, so that is the value
you need to set:

$ ls -l /sys/class/net/br0/bridge/ageing_time 
-rw-r--r-- 1 root root 4096 2010-08-12 08:34 /sys/class/net/br0/bridge/ageing_time


More information about the Bridge mailing list