If you enable ARP Poisoning only then can you get traffic from LinkSYS on the WireShark. For ARP Spoofing:
http://www.hackinthebox.or
Main Topics
Browse All TopicsHi Experts,
I am learning some network security/cryptography materials and wanted to experiment with
capturing packets coming to/from my linksys(WRT54GS) router. I have two computers connected through ethernet cables. One PC has 192.168.1.100, and the other has 192.168.2.11 as the IP addresses. If I want to see all the packets in the router how should I use wireshark. Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If you enable ARP Poisoning only then can you get traffic from LinkSYS on the WireShark. For ARP Spoofing:
http://www.hackinthebox.or
Wireshark (and other protocol analyzers) will put the network interface card in promiscuous mode. Which means that it will process ALL packets that are seen by the network card.
That said, the device you're connecting to is a router with a 4 port switch. The switch will forward traffic out the port that the frame is addressed to. Which means that you won't see much.
Once you get past the SOHO switches, most other switches have a feature where you can mirror (or SPAN) the traffic from one port to another so you can do protocol analysis.
In your situation, the only option is to get a hub and attach it to one port on the switch. Then connect one of the two PC's in question and your own to the hub. Since hub flood all traffic out all ports, you will now be able to see anything going to or from the other PC.
ettercap (http://ettercap.sourcefor
The problem with doing ARP Poisoning is that the traffic is directed to you. This won't let you monitor an exchange (or conversation) between two devices.
That's why, absent a switch that allows port monitoring (mirroring, spanning, etc.), the only way to see what's occurring between two devices on a switched network is to hang a hub off one of the ports.
http://en.wikipedia.org/wi
As I said, it is not as all encompassing solution as having a hub as you have to place the tap at the exact point where you want to monitor the traffic. More points = more taps. So a hub is a better way as you say it.
AFAIK, you really do *not* need a hub or a tap - the dsniff package (which includes to arp manipulation tools mentioned by uetian and alaf) should allow you to intercept the traffic, and then forward it on as appropriate, so that the traffic continues to flow. Think about it - these tools *have* to support such an option, because if they didn't, you'd mostly only ever capture boring SYN packets, and the tools would be useless.
Cheers,
-Jon
Oops - almost forgot - you mentioned two PCs (likely) on two different subnets. If those subnets are physically separate (connected to two physically and separately configured ethernet interfaces (which is possible on the WRT54G), then you can forget about it (unless you run your sniffer directly on the WRT54G, which is *also* possible, AFAIK).
Cheers,
-Jon
Jon,
That would also require software running on the poisoning PC that will forward both flows of the traffic. While that is possible, it seems beyond the capability of the author. So while ARP poisoning is possible (as is installing a switch that supports port mirroring), the easiest, most cost efficient solution to the original post would be to attach either the source or destination PC and the protocol analyzer to a hub.
Business Accounts
Answer for Membership
by: alaf22Posted on 2008-05-24 at 00:17:10ID: 21638148
I hope that you are really doing a research on a test environment... and not sniffing your office mate traffic.
However, you should know that wireshark is used to capture packets comming in or going out from the PC's network interface that it is running on and not on the router itself. Hence if you are running wireshark on PC A, it will only see traffic that is travelling to/from PC A's. As you can not install wireshark on your lynksys, I can not see an easy way for you to see all the traffic in travelling in the router using wireshark sitting any PC connected to the router.