Mahendra114027 / 10CSL77

All the programs required to be executed for the Networks Lab (VTU 10CSL77). See the README for more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Networks Laboratory (VTU 10CSL77)

List of Experiments for Simulation using NCTuns :

  1. 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.

Simulation 1

  1. Simulate a four node point-to-point network with the links connected as follows: n0 – n2, n1 – n2 and n2 – n3. Apply TCP agent between n0-n3 and UDP between n1-n3. Apply relevant applications over TCP and UDP agents changing the parameter and determine the number of packets sent by TCP / UDP.

Simulation 2

  1. Simulate the transmission of ping messages over a network topology consisting of 6 nodes and find the number of packets dropped due to congestion.

Simulation 3

  1. Simulate an Ethernet LAN using n nodes (6-10), change error rate and data rate and compare throughput.

Simulation 4

  1. Simulate an Ethernet LAN using n nodes and set multiple traffic nodes and plot congestion window for different source / destination.

Simulation 5

  1. Simulate simple ESS and with transmitting nodes in wire-less LAN by simulation and determine the performance with respect to transmission of packets.

Simulation 6

Implement the Following in C/C++ :

  1. Write a program for error detecting code using CRC - CCITT (16- bits).

  2. Write a program for distance vector algorithm to find suitable path for transmission.

  3. Using TCP/IP sockets, write a client – server program to make the client send the file name and to make the server send back the contents of the requested file if present.

  1. Implement the above program using as message queues or FIFOs as IPC channels.
  1. Write a program for simple RSA algorithm to encrypt and decrypt the data.

  2. Write a yacc program that accepts a regular expression as input and produce its parse tree as output.

Commands for Compiling/Running the code/software :

For Network Simulation in Fedora 8 :

cd /usr/local/nctuns/bin
./dispatcher   #In Tab 1
./coordinator  #In Tab 2
./nctunsclient #In Tab 3

For C programs :

gcc -o file file.c
./file

LICENSE

MIT License

Copyright (c) 2017 Akhil Sudhakaran

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Credit also goes to :

  • Respective Source Code Owners from FSMK-VTU-CS repo
  • Mohit Sehrawat for the youTube simulation videos.
  • College mate Vidhya for help in Programs.

About

All the programs required to be executed for the Networks Lab (VTU 10CSL77). See the README for more


Languages

Language:C 100.0%