Showing posts with label cn. Show all posts
Showing posts with label cn. Show all posts

Lab - Manual




SPPU CN-Practicals (TE-Comp)
 


LIST OF LAB EXPERIMENTS




Lab Expt.
No.
Problem Statement
A1.
Part A: Setup a wired LAN using Layer 2 Switch and then IP switch of minimum four computers. It includes preparation of cable, testing of cable using line tester, configuration
 machine using IP addresses, testing using PING utility and demonstrate the PING packets
 captured traces using Wireshark Packet Analyzer Tool.

Part B: Extend the same Assignment for Wireless using Access Point

Assignment 4


SPPU CN-Practicals (TE-Comp)


Installing and configure DHCP server and write a program (C++\Python\Java) to install the software on remote machine.


We will require to Python Codes 
1 . dhcp_client
2 . dhcp_server


Assignment : 3

SPPU CN-Practicals (TE-Comp)



Write a program in Java/Python to demonstrate sub netting and find the sub net masks.

We will require to classes 
1 . subnet
2 . subnetmask

Following are the JAVA codes for above two classes

1 . subnet class

import java.util.Scanner; import java.net.InetAddress; class subnet {

Assignment 2-2

SPPU CN-Practicals (TE-Comp)


Write a program in C/C++ for error detection and correction for 7/8 bits ASCII codes using Hamming
Codes or CRC. Demonstrate the packets captured traces using Wireshark Packet Analyzer
Tool for peer to peer mode.
( 50% students will perform Hamming Code and others will
perform CRC)


CRC Code--



#include <iostream>
using namespace std;

int main()
{
    int i,j,k,l;

    //Get Frame
    int fs;

Assignment : 2-1

SPPU CN-Practicals (TE-Comp)



Write a program in C/C++ for error detection and correction for 7/8 bits ASCII codes using Hamming
Codes or CRC. Demonstrate the packets captured traces using Wireshark Packet Analyzer
Tool for peer to peer mode.
( 50% students will perform Hamming Code and others will
perform CRC)


Hamming Code--


#include <iostream>
#include<math.h>
using namespace std;

int main() {
int data[11],rec[11],parity[4];

cout << "Hamming Code" << endl;
cout<<"\nSender's Side: \n";
cout<<"Enter 7 Bit data to send separated by space:";