Computer Networks and Security Laboratory

Sub Code: 15054

LAB Manual

LAB EXERCISES

  1. Do the following Cabling works in a network
    a) Cable Crimping b) Standard Cabling and c) Cross Cabling
  2. Establish a LAN connection using three systems using bus topology.
  3. Establish Peer to Peer network connection using two systems in a LAN
  4. Interface PCs using connectivity devices – Hub, router and switch.
  5. a) Configure IP Address in a system in LAN (TCP/IP Configuration)
    b) Configure DNS to establish interconnection between systems
  6. a) Transfer files between systems in LAN using FTP Configuration
    b) Login a system remotely using telnet protocol.
  7. a) Install and configure Network interface card in LAN system
    b) Share a file and printer (remotely) between two system in a LAN
  8. Establish security in a system using firewall configuration
  9. Create and share the user rights by accessing server for a specific user groups
  10. Install and configure the following
    a) A DHCP server in windows with IP Address ranging from 192.168.1.1 to 192.168.1.100
    b) Configure a DHCP Client
  11. Transfer Files between wireless Communication.
  12. Configure Mail server

    The Following programs to be written in ‘C’
  13. Write a program that takes a Binary file as input and finds error check using different mechanism.
  14. Write a Client program to download a file from HTTP server.
  15. Write a program to Simulate Sliding Window Protocol

I Tools requirement

  1. Crimping Tool – 06 Nos
  2. Network Cables

II Equipment Requirement

  1. Modem - 01 No
  2. Laser Printer -01 No
  3. Hub -01 No
  4. Router - 01 No
  5. Switch -01 No

III System requirement

Pentium IV, 3.4GHz, 256 MB DDR RAM, 80 GB HDD, DVD writer, NIC – 36 Nos

IV Software Requirements

  1. Windows 2000 OR 2003 OR Linux Server.
  2. OS Windows Xp With service Pack
  3. Turbo “C”
  4. Drivers Software

 

 

 

 

Comments

Request

I Want Sorce Code for CRC program in C to the Labexercise on NetworkSecurity.

If you find means pls send to below ID

govind1992r@gmail.com

thank u.....

program working

 /* Calculation of CRC (Cyclic Redundancy Check)*/


#include< stdlib.h>
#include< conio.h>
#include< stdio.h>
void main()
{
int i,j,n,g,a,arr[20],gen[20],b[20],q[20],s;
clrscr();
printf("Transmitter side:");
printf("\nEnter no. of data bits:");
scanf("%d",&n);
printf("Enter data:");
for(i=0;i< n;i++)
scanf("%d",&arr[i]);

printf("Enter size of generator:");
scanf("%d",&g);
do{
printf("Enter generator:");
for(j=0;j< g;j++)
scanf("%d",&gen[j]);

}
while(gen[0]!=1);
printf("\n\tThe generator matrix:");
for(j=0;j< g;j++)
printf("%d",gen[j]);

a=n+(g-1);
printf("\n\tThe appended matrix is:");
for(i=0;i< j;++i)
arr[n+i]=0;

for(i=0;i< a;++i)

printf("%d",arr[i]);

for(i=0;i< n;++i)
q[i]= arr[i];

for(i=0;i< n;++i)
{
if(arr[i]==0)
{
for(j=i;j< g+i;++j)
arr[j] = arr[j]^0;
}
else
{
arr[i] = arr[i]^gen[0];
arr[i+1]=arr[i+1]^gen[1];
arr[i+2]=arr[i+2]^gen[2];
arr[i+3]=arr[i+3]^gen[3];
}
}
printf("\n\tThe CRC is :");
for(i=n;i < a;++i)
printf("%d",arr[i]);
s=n+a;
for(i=n;i< s;i++)
q[i]=arr[i];
printf("\n");
for(i=0;i< a;i++)
printf("%d",q[i]);
getch();
}
/* Output

Transmitter side:
Enter no. of data bits:8
Enter data:1 0 1 0 0 0 0 1
Enter size of generator:4
Enter generator:1 0 0 1

The generator matrix:1001
The appended matrix is:10100001000
The CRC is :111
10100001111

 

Request

I want lab Exercise for NetworkSecurity in C especially i want CRC program

please give me fastly....

From the Web

Suggestions: (1)
Loading...

See few results | more results

Search: [Press Enter]

Share |