tcpdump on dd-wrt router

Posted by Senica Gonzalez on Stack Overflow See other posts from Stack Overflow or by Senica Gonzalez
Published on 2010-03-12T19:18:05Z Indexed on 2010/03/16 7:36 UTC
Read the original article Hit count: 963

Filed under:
|
|

I'm trying to capture packets from two devices on my network.

I have tcpdump installed on my dd-wrt router and working correctly.

However, the only packets I capture are broadcast packets when using a tcpdump statement that states only those two devices

./tcpdump -w /tmp/capture.pcap  dst 192.168.3.105 or src 192.168.3.105 or dst 192.168.3.136 or src 192.168.3.136

I'm capturing on intefface br0. Is that correct?

Both devices are plugged in directly to the ports 1 and 2 with ip addresses 192.168.3.105 and 192.168.3.136 respectively.

Do I need to set br0 in promiscuous mode?

A little stuck. Thanks.

© Stack Overflow or respective owner

Related posts about routing

Related posts about packet-capture