Packet Analysis – How to Use Wireshark to Capture CSMA/CD

packet-analysis

I was assigned to capture the packets which are used in CSMA/CD protocol over the local network.

I have googled around for more than a day but haven't found any solution or related work that negotiate how to set up the environment.

I have tried to simulate by using 3 computers connected to the same router by wired (Airport Extreme) I called them station A, B, and C.

I install and used the wireshark on these stations to capture the packets.

I let the station A and B ping to C for about 2 minutes after that I stopped and saved the traces from all stations.

I have analyzed the packet by using the error, retransmission, and broadcast filter.

But, I haven't seen any collisions.

Did I do something wrong ? Is there any other suggestion for setting up the environment to simulate the CSMA/CD ?

Thank you.

PS. Sorry for my english.

Best Answer

Well, your assignment alone leaves room for interpretation.

As Ethernet (at least up to GBit-Ethernet) is defined by it use of CSMA/CD, it might be enough to capture just Ethernet frames.

As YLearn noted you wont see any collisions in a switched network (unless something is terribly broken). Even in an environment using Hubs (good luck finding some) or a shared Media like good old 10Base-T you may not see these packets. These packets are most likely filtered out by your network interface. To capture them you have to used specialized Network interfaces.

What you should see is a counter for collision, e.g. with ifconfig on Linux or show interface on Cisco IOS

Related Topic