
















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
NETWORKS LAB MANUAL FOR VTU STUDENT 7TH SEM COMPUTER SCIENCE LAUDA LEHSUN
Typology: Study Guides, Projects, Research
1 / 56
This page cannot be seen from the preview
Don't miss anything!
K.R.Road, V.V.Puram, Bangalore-
Dept of ISE BIT, Bangalore 2007-
Prg.no. PROGRAM Page.no. PART A
1. Simulate a three nodes point - to - point networks with a duplex links between them .Set the queue size and vary the band width and find the number of packets dropped
2. Simulate a four node point - to - point network , and connect the links as follows: n0 - n2 , n1 - n2 and n2 - n3. Apply TCP agent between n0 - n3 and UDP n1 - n3. Apply relevant applications over TCP and UDP agents changing the parameters and determine the number of packets send by TCP/UDP
3. Simulate the different types of Internet traffic such as FTP,TELNET over a network and analyze the throughput
4. Simulate the transmission of ping messages over a network topology consisting of 6 nodes and find the number of packets dropped due to congestion
5. Simulate an Ethernet LAN using N nodes (6 - 10) , change error rate and data rateand compare throughput
6. Simulate an Ethernet LAN using 'n' nodes and set multiple traffic nodes and determine collisions across different nodes
7. Simulate an Ethernet LAN using 'n' nodes and set multiple traffic nodes and plot congestion window for different source and destination
8. Simulate simple BSS and with transmitting nodes in wire-less LAN by simulation and determine the performance with respect to transmission of packets
1. Write a C/C++ program for error detecting code: CRC-CCITT and CRC- 16
2. Write a C/C++ program for frame sorting technique used in buffer^ 16 3. Write a C/C++ program for Distance Vector Algorithm to find suitable path for transmission
TO FIND LOOPLESS PATH WITH 6 TO 10 NODES
5. Using TCP/IP sockets, write a client-server program to make client sending the file name and the server to send back the content of the requested file if present 6. Implement the above program using message queues or FIFO as IPC channels 7. Write a program for simple RSA algorithm to encrypt and decrypt the data key generation algorithm RSA 8A. Write a program to generate the HAMMING CODE for the given data 8B. Write a program^ Detection and Correction OF errors in HAMMING CODE 9. Write a C/C++ program for congestion control using Leaky Bucket Algorithm
In Networks Laboratory we have 2 parts of exercises ,
Hardware and Software Requirements
PART-A (Simulation)
Bandwidth at Sender’s end 10 Mbps , at Receiver’s end 10 Mbps Sender’s throughput = 1190 Receiver’s throughput = 1190 Collision and drop ~ Bandwidth at Sender’s end 10Mbps , at the receiver’s end 8Mbps Sender’s throughput = 585- Receiver’s throughput = 530- Collision and Drop = ~
Telnet: Commands Used: stcp -p 23 –l 1024 1.0.1.6 (At the sender’s end) rtcp -p 23 -l 1024 (At the receiver’s end) Sender’s throughput = 605- Receiver’s throughput = 605-
Commands Used: stcp -p 7000 -l 1024 1.0.1.4 (At sender no 1) stcp -p 7001 -l 1024 1.0. 5 (At sender no 2) rtcp -p 7000 –l 1024 (At receiver no 1) rtcp -p 7001 -l 1024 (At receiver no 2) Drops at Receiver no 1 = 580- Drops at Receiver no 2 = 580-
PART B
Write a C/C++ program for error detecting code: CRC-CCITT and CRC- #include<stdio.h> #include<string.h> #include<stdlib.h> #include<conio.h> int main() { char rem[50],a[50],s[50],c,msg[50]; char gen[]="10001000000000101"; int i,genlen,t,j,flag=0,k,n; printf("\nGenerator polynomial is CRC-CCITT:%s",gen); genlen=strlen(gen); k=genlen-1; printf("\nEnter the message:"); n=0; while((c=getchar())!='\n') { msg[n]=c; n++; } msg[n]='\0'; for(i=0;i<n;i++) a[i]=msg[i]; for(i=0;i<k;i++) a[n+i]='0'; a[n+k]='\0'; printf("\nMessage polynomial appended with zero's:"); puts(a); for(i=0;i<n;i++) { if(a[i]=='1') { t=i;