Re: Port Mirroring in Linux



On Oct 30, 2:50 pm, david <n...@xxxxxxxxxx> wrote:
On Tue, 30 Oct 2007 09:23:52 +0000, jeniffer rearranged some electrons to
say:

Hi

I have to implement port mirroring feature in linux.ie All inbound-
outbound packets of a particular interface are mirrored to another
interface. I need to implement it in both the bridging and routing
paths.Is there any utility in linux which helps to do this?

Please help!

Thanks,
Jeniffer.

Are you trying to set up a bridge?http://www.tldp.org/HOWTO/Bridge/index.html

PS Good luck on your homework....

thanks for the reply but No, I dont have to set up a bridge.A bridge
looks at its table's entry and says that packets with the mac 'Mi'
must be forwarding to interface X.Bridge does flooding,learning and
forwarding.
I need a behavior where I say that all packets coming and going on an
interface X must be given to another interface Y.




.



Relevant Pages

  • Terminal Server Setup
    ... description GRE Tunnel Source Interface ... input packets with dribble condition detected ... output buffer failures, ... Serial1/0 is up, line protocol is up ...
    (comp.dcom.sys.cisco)
  • Re: Multiple external interfaces
    ... thanks for your fast response. ... >> routing table (unless you are routing to two different gateways, ... Are you NATing the outbound packets from the 10.x.x.x nets? ... > address of my second external interface, I don't know if this is possible. ...
    (comp.os.linux.networking)
  • Re: Policy-based routing for packets originating from local machine (reinject packets back into
    ... have set up nat and balanced routing for machines ... work with packets originating from the router itself. ... rules don't work as it seems local packets don't have any 'in' interface ... ('tcpdump -ni ngeth0' on other terminal for great justice) ...
    (freebsd-net)
  • Re: Tuning ADSL lines on Ciscos roputer - LONG -
    ... Last clearing of "show interface" counters never ... minute input rate 0 bits/sec, ... input packets with dribble condition detected ... output buffer failures, ...
    (comp.dcom.sys.cisco)
  • Re: [opensuse] iptables MASQUERADE problems with oss 11.2 - SOLVED
    ... The problem arose after an in-place upgrade to oss 11.2. ... public address of machine A) and sent out the interface called comcast1, ... The problem was indeed with policy based routing ... (marking packets with iptables, then using ip rule to send differently ...
    (SuSE)