On 06/23/2010 18:04, Jeff Mitchell wrote: > The documentation for Bridge at > http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge > says the following of setageing: > > ==== > > The aging time is the number of seconds a MAC address will be > kept in the forwarding database after having received a packet > from this MAC address. > The entries in the forwarding database are periodically timed out > to ensure they won't stay around forever. > Normally there should be no need to modify this parameter, > but it can be changed with (time is in seconds). > > # brctl setageing bridgename time > > Setting ageing time to zero makes all entries permanent. > > ==== > > However, according to my testing, this parameter actually turns MAC > learning off; setting it to zero simply means that entries are never > added to the table. Having a quick look at the code, I cannot find a special test for the value "0" for ageing_time nor ageing_timer. So I assume that learned macs expire right after they are learned, hence your feeling that mac learning is off. Can someone double check my code revue, so we decide whether to fix the documentation or not ? > Searching around the web reveals people with similar experiences. > > Is the documentation incorrect, or am I missing something? > > Thanks, > Jeff > _______________________________________________ > Bridge mailing list > Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx > https://lists.linux-foundation.org/mailman/listinfo/bridge > _______________________________________________ Bridge mailing list Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/bridge