Re: Port Mirroring in Linux
- From: Markus Rehbach <Markus.Rehbach@xxxxxx>
- Date: Wed, 31 Oct 2007 20:20:19 +0100
Pascal Hambourg wrote:
David Schwartz a écrit :
A bridge does whatever it's configured to do.
Within the limits of its configuration options and what it is able to do.
Simply disabling learning will do exactly what the OP wants.
Not exactly. As far as I can see from a quick test, setting the bridge
ageing time to zero (brctl setageingtime <brname> 0) seems to disable
learning, but the bridge still knows its own MAC addresses, so traffic
received on a port destined to one of these MAC address won't be
forwarded to other ports.
True but you could do thomething like this:
ebtables -t nat -A PREROUTING -i eth3 -p 0x0800 -j dnat --to-destination
00:01:12:12:12:12 --dnat-target ACCEPT
.
- Follow-Ups:
- Re: Port Mirroring in Linux
- From: Pascal Hambourg
- Re: Port Mirroring in Linux
- References:
- Port Mirroring in Linux
- From: jeniffer
- Re: Port Mirroring in Linux
- From: david
- Re: Port Mirroring in Linux
- From: jeniffer
- Re: Port Mirroring in Linux
- From: David Schwartz
- Re: Port Mirroring in Linux
- From: Pascal Hambourg
- Re: Port Mirroring in Linux
- From: David Schwartz
- Re: Port Mirroring in Linux
- From: Pascal Hambourg
- Port Mirroring in Linux
- Prev by Date: Re: iptables problem with port translation
- Next by Date: Re: Troubleshooting connection loss (novice question)
- Previous by thread: Re: Port Mirroring in Linux
- Next by thread: Re: Port Mirroring in Linux
- Index(es):
Relevant Pages
|