From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 27 Nov 2010 14:16:47 -0800 From: Stephen Hemminger Message-ID: <20101127141647.6814f62f@nehalam> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] Disable mac address learning List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Vanheuverzwijn Cc: bridge@lists.linux-foundation.org On Sat, 27 Nov 2010 16:46:34 -0500 Benjamin Vanheuverzwijn wrote: > Hi, > > Is there a way to disable the mac address learning in linux using "brctl" or > custom code so any packet sent to the bridge will be flooded in each > interfaces. > > I would like to do something similar as OpenBSD: > $ brconfig -learn > $ man brconfig > ... > -learn interface > Mark interface so that the source address of packets received > from interface are not entered into the address cache. > ... > > I tried to search on google and on the mailing-list without success. Just set ageing time to zero no need for special config option.