This repository contains programs implemented in Network Programing Lab in my 7th semester of SIT(VTU).
-
For the given network graph, write a program to implement Link state routing algorithm to build a routing table for the given node.
-
Write a program to divide the message into variable length frames and sort them and display the message at the receiving side.
-
Using TCP/IP sockets, write a client – server program, the client sends the file name and the server sends back the requested text file if present.
-
Using FIFOs as IPC channels, write a client – server program, the client sends the file name and the server sends back the requested text file if present.
-
Using UDP, write a client – server program, to exchange messages between client and the server.
-
Write a socket program to demonstrate IP multicasting which provides the capability for an application to send a single IP datagram that a group of hosts in a network can receive.
-
Write a program to implement sliding window protocol between two hosts.
-
Write a program for error detecting code using 16 bits CRC-CCITT(Consultative Committee for International Telephony and Telegraphy).
-
Simulate a three nodes point – to – point network with duplex links between them. Set the queue size and vary the bandwidth and find the number of packets dropped.
-
Simulate the different types of Internet traffic such as FTP and TELNET over a network and analyze the throughput.
-
Simulate an Ethernet LAN using n nodes (6-10), change error rate and data rate and compare the throughput.
-
Simulate an Ethernet LAN using n nodes and set multiple traffic nodes and determine the collision across different nodes.
-
Simulate the transmission of ping messages over a network topology consisting of 6 nodes and find the number of packets dropped due to congestion.
-
Simulate simple ESS with transmitting nodes in wire-less LAN and determine the performance with respect to transmission of packets.
-
Simulate simple ad-hoc network with transmitting nodes and determine the performance with respect to transmission of packets.
sudo apt install ns2
sudo apt install nam
sudo apt install tcl
The trace(.tr) file contains 12 fields as shown in below figure: