You are on page 1of 2

DCSE, UET Fall 2007 Batch 7 Data Communications (Lab) Lab 2 (a) Capturing data through ethereal on an interface

Objective of second lab (part a) In the first lab of data communications course, we got an introduction to the ethereal. In this lab we will start using ethereal in a detailed way. Our main objective in this lab is to study the different capturing options in ethereal and use them. Then get a little knowledge of the captured packets format. What are the different fields of a packet etc. At the end of the lab, you should feel comfortable while capturing data on any available interface on your computer through different ways. You should also be able to automate the starting and stopping of the capturing and be able to filter the capturing process in different criteria. We will study 1. What are the prerequisites to capture data on any interface. 2. Capture packets in different ways. 3. Automate the stopping of capturing of packets on different criteria. 4. Applying different types of filtering on the capturing of data. 5. Getting acquitted to the packet, its different fields. Tasks Task 1: Capture data on the network using all three auto-stopping features i.e. 1) packet-based 2) size-based 3) time-based. Show the results in the class. Task 2: Apply filter on the capturing process on the basis of 1) destination IP 2) port number Show the results in the class. Task 3: Capture packets on the network which use 1) SMTP Protocol 2) SMB Protocol Dissect the captured packets and state: 1

a) b) c) d) e) f) g)

Size of the packets Size of the headers Checksum value Time with reference to the first packet Sequence Number Source and Destination IP addresses Source and Destination MAC addresses

Submit these findings of your on one page with the soft copy of the saved captured files of packets. (only for task 3)

You might also like