Harsh_ACN_Lab_10
Harsh_ACN_Lab_10
Harsh_ACN_Lab_10
Faculty of Technology
Department of Computer Engineering
M. Tech – CE, Semester: I
Subject: Advanced Computer Network
Lab 10
Hardware size: 6
Protocol size: 4
Code: 0
Data:
6162636465666768696a6b6c6d6e6f7071727374757677616263646566676869
[Length: 32]
.
4. IGMP (Internet Group Management Protocol):
○ Manages membership of devices in multicast groups.
○ Operates at the Network Layer (Layer 3).
○ Enables efficient delivery of multicast traffic like video streams to
multiple devices.
Command:-
ping www.microsoft.com
Max Response Time – This field is ignored for message types other than
membership query. For membership query type, it is the maximum time
allowed before sending a response report. The value is in units of 0.1
seconds.
● Checksum – It is the one’s complement of the one’s complement of
queries.
● Resv – It is set zero of sent and ignored when received.
on retrieving the QRV value from the most recently received query
as their own value until the most recently received QRV is zero.
non-zero.
1. Introduction to NS2
NS2 is a discrete event simulator designed for networking research. It models various types of
network protocols, including TCP, UDP, routing, and multicast protocols, and supports both
wired and wireless network simulations. It is built using two languages:
● OTcl (Object Tool Command Language): Used for configuration and scripting.
● C++: Implements the core of the simulator for efficiency.
NS2 enables researchers to test and evaluate network protocols in a simulated environment,
saving time and resources.
2. Architecture of NS2
The architecture bridges C++ (for speed) and OTcl (for ease of scripting).
4. Running a Simulation
5. Using NAM
6. Extending NS2
7. Common Applications