Académique Documents
Professionnel Documents
Culture Documents
NO: 1
DATE:
PC TO PC COMMUNICATION (PARALLEL)
AIM:
To study the data transfer through parallel communication using parallel port(LPT) between
two PCs.
APPARATUS REQUIRED:
Serial and Parallel interface card
RS232 Cables
Computers with Vi Rt Sim
Patch cords
PROCEDURE:
a. From the menu bar, select Serial and Parallel communication Parallel cable
b. Open data encryption in client side and data decryption in server side.
c. Choose any one of the LPT port like LPT1, LPT2 and LPT3. Then click on Communication
Tab. Another page will be displayed.
d. In that page, enter data in Data to be send field and click on Send Button.
e. The data will be received by the received by the receiver side.
f. To close dialog window, click on Quit button.
BLOCK DIAGRAM:
RESULT
3
Implemented and studied the data transfer through parallel communication using parallel port
(LPT) between two PCs.
EX.NO: 2
DATE:
PC TO PC COMMUNICATION (SERIAL)
AIM :
To study file transfer through serial communication using RS 232 between two PCs.
APPARATUS REQUIRED :
1. Serial interface
2. RS 232 cables
3. Computers with Vi-Rtsim
4. Patch cords
PROCEDURE :
TRANSMITTER :
1. From the menu bar select the SERIAL AND PARALLEL COMMUNICATIONRS
232file transfer transmitter.
2. Click CONNECT in RS 232 file transfer window.
3. Click on COMMUNICATION in RS 232 file transfer window.
4. Browse the file to be transferred from the window appeared.
5. Click SEND FILE.
6. FILE SENT SUCCESSFULLY will be displayed.
RECEIVER :
1. From the menu bar select SERIAL and PARALLEL COMMUNICATIONRS 232
filereceiver.
2. Click CONNECT in RS 232 file transfer window.
3. Click on COMMUNICATION RS 232 file transfer window.
4. Click whether the RECEIVER IS LISTENING message is displayed on the screen.
5. A separate window will be opened to save the file and specify the file name and save.
BLOCK DIAGRAM:
RESULT :
Thus the study of file transfer through serial and parallel communication using RS 232
between two PCs is completed successfully and the output is verified.
EX.NO:
DATE:
IMPLEMENTATION AND STUDY OF CSMA/CD PROTOCOL
AIM:
To implement and study the CSMA\CD protocol.
APPARATUS REQUIRED:
1. PCs with Ethernet Adapter cord.
2. RJ-45 LAN connecting cable.
3. VILAN-08 LAN trainer kit.
4. Vi-Rtsim network simulator software.
PROCEDURE:
1. Keep the EXEC\PROG in the trainer kit in program mode.
2. From the menu bar click UTILITIES and select ARM DOWNLOADER.
3. A new window FLASH MAGIC will open.
4. Click BROWSE select CSMA CD.hex file and open it.
5. Click on START.
6. Hex file starts to download.
7. Open IMPACT icon from the desktop.
8. Right click the MOUSE above the XILINK module and select assign new configuration.
9. A new window will be opened from that select CSMA-CD.bit file and open it.
10. Right click on XILINK module and select program.
11. A separate window will be opened from that select FPGA device specific programming
and click OK.
12. PROGRAM SUCCEEDED message will be displayed.
13. In the Vi-Rtsim window select OSI LAN trainer from the menu bar.
14. Select CSMA-CD.
15. A new window will be opened.
16. Set time as <100ms.
17. In the data option type the data to be transferred from source node2 and source node3.
18. In the trainer kit change the EXEC\PROG switch to the execution mode.
19. Press the ARST push button switch.
20. In the window click CONNECT option.
21. Click START end.
BLOCK DIAGRAM:
10
11
RESULT :
Thus the study and implementation of CSMA\CD is completed successfully and the output
is verified.
12
13
EX.NO:4
DATE:
IMPLEMENTATION AND STUDY OF TOKEN BUS AND TOKEN RING
AIM :
To create scenario and study the performance of token bus using simulation.
APPARATUS REQUIRED :
1. PCS with Ethernet adapter.
2. RJ-45 LAN connecting cable.
3. Vi-LAN 03 trainer kit.
4. Vi-Rtsim network simulation software.
15
17
18
RESULT:
Thus the study and implementation of token bus and token ring is completed successfully
and the output is verified.
19
EX.NO:5
DATE:
D-LINK Software
Antenna
PC
PROCEDURE:
In the Transmitter and Receiver Side
1. Select the D-LINK SOFTWARE
2. In MY WIRELESS NETWORK click new and type profile name and SSID name transmitter1
and transmitter 2 should have same profile name and SSID name.
20
21
22
RESULT
Thus the study and implementation of CSMA/CD and CSMA/CA protocol was completed
successfully and the output is verified.
23
EX.NO: 6
DATE:
IMPLEMENTATION AND STUDY OF STOP AND WAIT PROTOCOL
AIM:
To implement and study stop and wait protocol.
APPARATUS REQUIRED:
Vi-Rt sim network simulator software.
PROCEDURE:
1. In both the transmitter and receiver pcs select VI-RTSIM from the menu bar.
2. In the transmitter and receiver side
i.
ii.
iii.
25
26
RESULT:
Thus the implement and study of stop and wait protocol was completed successfully and output
verified.
27
EX.NO: 7
DATE:
IMPLEMENTATION AND STUDY OF GO BACK-N PROTOCOL
AIM:
To study Go back N protocol and to analyse the performance of this protocol using the
various parameters link speed inter packet delays etc.
APPARATUS REQUIRED:
1. Pc with Ethernet
2. ViLan-03 LAN Trainer kit.
3. Vi-Rt sim network simulator software.
28
PROCEDURE:
1. Keep the EXEC/PROG the trainer kit in program kit.
2. From the menubar click utilities select ARM downloader.
3. A new window FLASH MAGIC will open.
4. Click browser select GO BACK N HEX FILE.
5. Click on START.
6. Hex files starts to download.
7. Open IMPACT ICON form the desktop.
8. Right click the mouse above the Xilinx module and select assign new
configuration.
9. A new window will be opened form the select GO BACK N BIT FILE and open
it.
10. Right click on XILINX MODULE and select program.
11. A separate window will be opened from that select FPGA device specific
programming properties.
12. Click OK.
13. PROGRAM SUCCEEDED message will be displayed.
14. In the trainer kit change the EXEC/PROG switch to the execution mode.
15. Press the ARST push button switch.
16. In the VI-RTSIM window select OSI LAN trainer form the menu bar.
17. Select GO BACK N .
18. A new window will open.
19. Enter the data in and data to be sent.
20. Click ERROR OPTION.
21. In the trainer kit from the error generator select frame error.
22. Select the frame at which error has to introduced.
29
23. Suppose we are introducing error in the 17th bit then click the frame button for m
times and press enter.
24. Click PING and send option in the VI-RTSIM window.
25. The data will be send and ack will be received for 17-1 frames and NACK will be
received for the 17th frame.
26. Message saying that NAK for 17th frame will be display of press.
27. New from the plane of NAK the data will be retransmitted or resend again.
28. Message saying retransmission complete successfully will be display.
30
31
RESULT
Thus study and implementation of Go back N protocol was completed successfully and the output
was verified.
32
EX.NO:8
DATE:
AIM:
To implement and study of selective repeat protocol.
APPARATUS REQUIRED:
VI-RT SIM software (network simulator)
PROCEDURE:
1. In both the transmitter and receiver pcs select VI-RTSIM from the menu bar.
2. In the transmitter and receiver side
i. Select ETHERNET LAN TRAINER click selective repeat protocol.
ii. Select transmitter in transmitter pc
iii. Select receiver in reciver pc.
3. A new window will be open on both transmitter and receiver.
4. In transmitter side window enter the data in data to be send.
5. Click CONNECT.
6. In the receiver side the data will be received.
7. If there is any error is introduced in the 17th frame then error in 17th frame message will be
displayed.
8. Click OK.
33
34
35
RESULT
Thus study and implementation of selective repeat was completed successfully and the output was
verified.
36
EX.NO: 9
DATE:
AIM:
To find the shortest path using Distance Vector Routing Algorithm
SOFTWARE REQUIRED:
PC WITH VI-RTSIM
PROCEDURE:
1. Open VI-RT SIM icon from the window
2. From the menu bar select SIMULATION select ROUTING ALGORITHM AND DISTANCE
VECTOR ROUTING
3. A new window bar for DISTANCE VECTOR ROUTING ALGORITHM will open.
4. Select any two nodes.
5. Click final path.
6. A new window to find the shortest path will open.
7. Click calculate.
37
8. Distance vector table and distance from a particular to all nodes will display.
9. Note down the values.
10. In the distance vector routing algorithm window note down the available paths.
OUTPUT
38
39
RESULT:
Thus the shortest path for the given network is found by using Distance Vector Routing Algorithm.
40
EX.NO: 10
DATE:
IMPLEMENTATION OF LINK STATE ROUTING ALGORITHM
OUTPUT
42
43
RESULT:
Thus the shortest path for given network is found by using link state routing algorithm
44
EX.NO:11
DATE:
IMPLEMENTATION OF DATA ENCRYPTION AND DECRYPTION
AIM:
To implement encryption and decryption algorithm.
APPARATUS REQUIRED:
Pc with Ethernet
PROCEDURE:
1. Keep the EXEC/PROG the trainer kit in program mode.
2. From the menubar click utilities select ARM downloader.
45
OUTPUT
47
RESULT:
Thus study of encryption and decryption was completed successfully and the output verified.
48
49
EX.NO:12
DATE:
50
OUTPUT
SERVER:
CLIENT:
51
RESULT:
Thus the study of transfer of files from PC to PC using Windows / UNIX socket
programming was completed successfully and output verified.
52