From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 7 Mar 2008 18:17:50 -0800 From: Stephen Hemminger Message-ID: <20080307181750.2e7d8c33@extreme> In-Reply-To: <2387247e0803071710n116bc1b6j577104db2b56b5c9@mail.gmail.com> References: <2387247e0803071710n116bc1b6j577104db2b56b5c9@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] span/monitor port List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gabriel Somlo Cc: bridge@lists.linux-foundation.org On Fri, 7 Mar 2008 20:10:46 -0500 "Gabriel Somlo" wrote: > Hi, > > I was wondering if there's an established way to set up one or more > ports of a bridge as 'span' > or 'monitor' ports. I.e., once a port is in this state, it discards > any packets it receives, and gets > a copy of any other packet the bridge is forwarding out any other > port. Kind-of like cisco's span > monitor session. > > If not, I'd be interested in having a go at it, but wanted to see if > there's anything already there > that I'm missing... > It isn't really a bridge function, the way to do this is to use other facilities like the mirred action (see tc action).