Sunteți pe pagina 1din 3

Assignment# 4

Network Performance Evaluation

Submitted to:

Dr. Muazzam Ali Khan

Figure:
NS2 Trace
File Sample

1. Event

First field of trace file shows the action or event happened on the
packet. It can be a packet sent s or packet received r or packet drop
d and + or - to show packet at queue.

2. Time

Second field shows the event time relative to simulation. So on what


time of simulation a specific event had occurred can be analyzed by
this field.

3. From Node

This field shows the event generator node ID number. It is


corresponding to the tcl file declarations of different nodes.

4. To Node
This field shows the packet receiver node ID number. It is
corresponding to the tcl file declarations of different nodes.

5. Packet Type

In this field type of Traffic is mentioned. A packet can be type of


constant bit rate traffic packet cbr or variable bit rate traffic packet
and can be of tcp , ack etc.

6. Packet Size

Total size of packet in bytes is given in this packet size field.

7. Flags

This field consists of different type of flags associated with the packet.
There are seven flag bits and each have some meaning about the
packet following is given the meaning of flag bits in order

E: Explicit Congestion Notification (ECN) echo is enabled.


P: The priority in the IP header is enabled.
-: Not in use yet.
A: Congestion action.
E: Congestion has occurred.
F: The TCP fast start is used.
N: Explicit Congestion Notification (ECN) is on.

8. Flow ID

Every connection between nodes is a unique flow of packets in it. So


every packet belongs to specific flow. This field describes the flow ID to
which the packet belongs.

9. Source Address

This field shows the socket which is responsible of that packet sending.
It has that sender node ID which is binds to the sender port.

10. Destination Address

This field shows the socket which is responsible of that packet


receiving. It has that receiver node ID which is binds to the receiver
port.

11. Sequence Number


This field shows the sequence number of the packet.

12. Packet ID

It shows the unique ID associated with the each packet. So if we need


to see the content of a packet we have to know only its ID.

S-ar putea să vă placă și