ec2356 network lab

Upload: kksundarime

Post on 02-Jun-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 EC2356 Network Lab

    1/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    Table of Contents

    1.

    2.

    3.

    4.

    5.

    6.

    7.

    8.

    9.

    INTRODUCTION 01

    DRIVER INSTALLATION AND SETTINGS... 04

    EXPERIMENT 1

    PC TO PC COMMUNICATION.... 11

    A. SERIAL COMMUNICATION B. PARALLEL COMMUNICATION

    EXPERIMENT 2

    IMPLEMENTATION AND STUDY OF STOP & WAIT PROTOCOL 2 1

    EXPERIMENT 3

    IMPLEMENTATION AND STUDY OF GO BACK N PROTOCOL.. 39 EXPERIMENT 4

    IMPLEMENTATION AND STUDY OF SELECTIVE REPEAT

    PROTOCOL.. 55

    EXPERIMENT 5

    STUDY OF SOCKET PROCESSING... 69

    EXPERIMENT 6

    STYDY OF DATA ENCRYPTION AND DECRYPTION ... 75

    EXPERIMENT 7

    STUDY OF TOKEN BUS AND TOKEN RING PROTOCOL. 83

    10. EXPERIMENT 8

    IMPLEMENTATION AND STUDY OF CSMA-CD PROTOCOL... 89

    11 . EXPERIMENT 9

    IMPLEMENTATION AND STUDY OF CSMA-CA PROTOCOL... 95

    12. EXPERIMENT 10.

    IMPLEMENTATION AND STUDY OF WIRELESS LAN... 99

    13. EXPERIMENT 11.

    IMPLEMENTATION OF DISTANCE VECTOR ROUTING

    ALGORITHM

    . 105

    14. EXPERIMENT 12.

    IMPLEMENTATION OF LINK STATE ROUTING ALGORITHM. 111

    15. APPENDIX. 117

    - II - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    2/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    INTRODUCTION

    Rapid advances in computer & communication technologies have resulted in theincreasing merger of these two fields. The lines have blurred among computing,switching & digital transmission equipment; and the same digital techniques arebeing used for data, audio & video transmission.

    Merging & evolving technologies, coupled with increasing demands for efficient &timely collection, processing & dissemination of information, have led to thedevelopment of integrated systems that transmit & process all types of data.

    These integrated systems are broadly divided as follows- DATA COMMUNICATION dealing with transmission, transmission

    media, signal decoding, interfacing, data link control & multiplexing- NETWORKING deals with the technology & architecture of

    communication network- COMMUNICATION PROTOCOLS which covers the architecture as well

    as analysis of individual protocols at various layers depending on thehardware & software

    Network laboratory is designed & developed considering the curriculum offere d byAnna University. Trainers offered under network laboratory are designed forst udents at all level to study and understand all the concepts of dataco mmunication, data transfer using serial and parallel ports, Ethernet and wirelessLAN with complete protocol understanding and actual hands on with hardware &so ftware with ease.

    Network laboratory consists of DCT-03 Data communication trainer kit, LTS-01LAN / Wireless LAN training system, L-SIM LAN / WLAN protocol simulator andan alyzer software & N-SIM Network simulation software.

    The DCT-03: Data communication trainer is a unique trainer kit for thede velopment of exercises and theoretical-experimental courses to understand theba sic concept and working of modes and protocols in serial and parallelco mmunication.

    The trainer kit consists of functional blocks for serial and parallel communicati on

    system.

    The trainer kit is highly innovative from a technological as well as an educationalpoint of view. The trainer kit is used as basic unit to examine all the peculiaroperating standards of serial and parallel communication system.

    The only external equipments required are two Computers with serial and parallelcommunication ports and an Oscilloscope.

    Utmost care has been laid in the design and quality control of all circuits, toensure the repeatability of the results of the experiments.

    - 1 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    3/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    Data communication is a term referred when the sender and receiver are digitaldevices, which communicate with each other by means of binary information. Theobjective of this trainer kit is to clear the various aspects of the datacommunications which comprise of

    The information source or sender.

    The medium for carrying information.The information receiver.The communication protocols, which ensure proper transfer of data.

    With an increasing demand in information exchange the field of datacommunication technique is emerging as the only solution, to satisfy the variousneeds of todays communication sector and to achieve very high bandwidth alongwith highest accuracy. The communication media is shifting from analog signaltrans fer towards digital communication.

    With PC becoming the biggest storage devices in digital form, it becomes themain source and destination for information exchange. With rapid growth in boththe c ommunication technologies as well as computer hardware and softwaretechn ologies, these two fields are merged to form a data communication network.Now the digital data is used for data, voice and image transmission.

    Depe nding upon the application the communication link can be of point to pointcom munication between two devices or a multipoint communication between atleast 3 devices and data transfer can be serial or in parallel form.

    LTS- 01 Local area network / wireless local area network trainer system is

    desig ned to help students understand the basic concepts, modes of operation andproto cols involved in networking. The trainer has integrated hardware flow controlon pa nel board for better understanding of different types of LAN topologiesinvolved in networking. The trainer system is provided with windows-based user-friend ly software with analysis of protocols, different layers, network andmeas urement of error rate and throughput. Students can easily do connections indifferent topologies and can learn actual data transfer either through hardware orthrou gh simulated network concept. Facility is provided into system software tointrod uce errors into packets being sent and analyze the effect of error on differentproto cols and hence find the effect on through put graph as well. Trainer issupp orted with help into software window for better understanding of system and

    various types of experimentation using this system.

    This system works into server-client base. For any topology user has to select oneserver and select the network type whether it is LAN or WLAN. To understand thetopology concept user can connect two or more clients to hardware. Depending onthe topology selected user will have option to select protocols for the selectedtopology. Upon selection of protocol user can then create network of connectedcomputers. In any network which is created by user server can send or cancommunicate with any of the clients however clients can communicate only withserver, no client to client communication is possible.

    - 2 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    4/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    Transmitter port protocol & network analysis can be done after communication isover between server and clients. Throughput v/s Packet size graph can be plottedfor which at least two file transfers should be carried out. This plot can be printedto attach in the lab exercise sheet.

    For the LAN network LAN cards must be installed prior to start work on thistrainer. For wire less LAN USB ports should be available on the computers whichare to be used for experimentation. In WLAN wireless access cards getsconnected to computer USB ports and access point gets connected to hardwaredevice.

    L-SIM LAN Protocol Simulator & Analyzer Software is designed to teach the basicconcepts, topologies & various protocols involved in networking. The software isprovided with analysis of protocols, different layers, network and measurement ofer ror rate and throughput. Facility is provided to introduce errors into packetsbe ing sent and analyze the effect of error on different protocols and hence find theeffect on throughput graph as well. Software is supported with neat operatinginstruction manual and online help.

    N-SIM Network simulation software is developed to provide basic understandi ngan d implementation of various advanced concepts in networking. The softwar eprovides an opportunity to understand network fundamentals through animati ons& simulations. The simulation provides for network experimentation with vario usLAN and WAN protocols, network devices, routers, encryption, decryption, file transfer, error insertion and analysis of error rate and throughput etc. Thisso ftware covers Ethernet LAN, wireless LAN and router. All networking theory isex plained using simulation and animation.

    SYSTEM REQUIREMENTS: P C: Pentium or higherOne LAN card onboard or on PCI slot with 10/100Mbps speed.12 8MB RAM50 0MB free space on Hard driveCD ROM driveS erial port, LPT port & USB port installed on systemOperating System: Windows 2000 or higher

    - 3 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    5/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    HYPER LINK SETTINGS

    1. Switch ON the PC, go to START MENU PROGRAMS ACCESSORIES COMMUNICATION then Click on HYPERTERMINAL.

    NOTE : If HYPER TERMINAL is not available at the above path then follow theprocedure ahead to add hyper terminal link.Go to START MENU SETTINGS control panel Add/Remove programs windows setup double click on communications select Hyper terminal, clickOK and follow the procedure below.

    2.

    3.

    4.

    A new Window will open, where in you Double Click on HYPERTERM,Two Windows will open, one at the background and another (small windo w)with title Connection Description which will be Active.

    Enter the name in the box by which you would like to store yourconnection, for e.g. (PC2PC), and Click OK. Also you could select theIcon provided below. The background window title will change to the nam eprovided by you.

    Then specify connect using : by selecting Direct to COM1 or port whereyour cable is connected and then click on OK .

    - 4 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    6/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    (NOTE: Please check the Port you have selected and the Ports you areco nnecting).5. Now Window with Title COM 1 Properties will appear where Port Settin g

    should be done as shown above and click on OK .

    BITS PER SECOND UP TO 115200 Data Bits 8

    Parity NoneStop Bits 1

    Flow Control Xon / Xoff

    (NOTE: For Bits Per Second setting you could select them for different speed sfrom 110bps to115200 bps).

    6. After the above settings you click ok. the background window will becomeactive.

    7. Click on file, save as, and save it in the directory, which you want.8. Perform the same procedure (from 1 to 8.) on another pc.

    9. To start communicating between the two PCs click on the transfer menuand again click on send file. A window will be prompted having title sendfile with file name and protocol.

    - 5 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    7/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    10. Select browse for the file, which you would like to send to the pcconnected, select the file and click on open, the file name and address willbe displayed in the small window. Then select the protocol,(optional use protocols are x modem, y modem and 1k xmodem, etc.)

    11. To receive the file on the pc click on the transfer menu and again click on

    receive file. a window will be prompted having title receive file with locationat which you want to store the received file and receiving protocol.

    12. Select browse for the location where you would like to store the receivedfile, select the folder and click ok, the folder name and address will bedisplayed in the small window. Protocol to be selected should be same askept at transmitting pc.

    13. On the pc from which the selected file to be transmitted, click on send. awindow will open showing file transfer status. Immediately at the receivingpc click receive (otherwise time out error will be displayed andcommunication will fail). you will see a window showing file is beingreceived in the form of packets.

    - 6 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    8/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    14. After file is transferred both the windows in the (transmitting & receivingPCs) will close. Check for the received file in the folder where the file isstored.

    15. You can select any pc as transmitter or receiver & follow the aboveprocedure to transfer the file.

    NOTE: To change the bits per second rate (baud rate) go to properties in thehyper terminal window, click on file menu, properties and configure, in the bits persecond select other rates. From 2400 to 115200 bps. You will observe that therate at which the file is transferred will vary with the selected baud rate.Also you can observe and check that by removing fiber from detector packetincrement and file transfer stops.Also ensure that at the left corner of the hyper terminal window connected timemust be on, if disconnected label is there go to call option and press call.

    NOTE: If HyperTerminal is not installed in your computer then, on PC Go to M yComputer Control Panel, Add Remove Programs, Windows S etup,Communication, Check Hyper Terminal and Click OK

    - 7 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    9/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    WIRELESS USB ADAPTER DRIVER INSTALLATION

    PROCEDURE FOR INSTALLING WIRELESS USB ADAPTER DRIVER:

    1.

    2.

    3.

    Insert the driver CD for Wireless USB Adapter. It auto runs and will open

    the following screen.

    Click Install Driver.

    Click Next to continue.

    - 8 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    10/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    4.

    5.

    Setup will install in the by default folder. To install to this by default folder,click Next. To install to a different folder, click Browse and select anoth erfolder.

    Setup will add program icons to the Program Folder listed. Type a new folder name, or select one from the existing folders list. Click Next tocontinue.

    - 9 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    11/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    6. The Install Shield Wizard has successfully installed the software. Beforeusing the program, the computer must be restarted.

    - 10 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    12/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    EXPERIMENT 1 PC TO PC COMMUNICATION

    - 11 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    13/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY(Designed for Anna University).

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    14/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    - 12 - NETWORK LABORATORY & DATA COMMUNICATION

    K

    M

    R

    F

    O L S

    L

    R S -

    -

    L C

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    15/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    EXPERIMENT 1:

    OBJECTIVE:

    To study Serial communication using RS 232C and Parallel Communication using8 bit parallel cable.

    EQUIPMENTS: DCT-03. 9 Pin D connector Cables 2 Nos. 25 Pin D connector Cables 2 Nos. Computers PC - 2 nos. Connecting Chords. Power Supply.

    PROCEDURE:

    SERIAL COMMUNICATION: 1. Connect the power supply with proper polarity to the kit DCT-03 and whi le

    connecting, ensure that it is off.2. Keep all switch fault switches in off position.3. Refer to the fig. and carry out the following connections and settings.4. Connect 9 pin D connector cable between one computer com port and C N3

    connector on DCT-03 kit and second 9 pin D connector cable betweenanother computer com port and CN4 connector on DCT-03 kit.

    5. Connect the TD1 post to RD2 post.6. Connect the RD1 post to TD2 post.7. Keep the switch setting of SW4 towards ON position as shown in figure.8. Switch ON the power supply and both the computers.9. Run DCT-03 software and select Serial Communication Software link on

    both PCs.

    10. Select your computer operating system, this will provide link to hyperterminal software. Refer Hyperlink settings .

    11. Once the connection to hyperlink is established you can type in one of thecomputers window and can see typed text on another computers window.

    12. To do file transfer select a file transfer protocol using hyper link on bothPCs.

    - 13 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    16/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    13. Put the flow control on XON / XOFF & repeat the procedure of file transferfor the X-MODEM, Y-MODEM, Z-MODEM, KERMIT protocol .

    14. Select the receiving file save location and the same protocol as selected intransmitter.

    15. Click on file transfer button you will see progress of file transfer.

    - 14 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    17/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    16. You will see progress of file receiving in the receiver.17. Variations in LED indications of respective ports can be observed while f ile is

    being transmitted from one computer to another.18. For observation of ASCII equivalent of keyboard data transmitted connect

    the TD1 post to DATA IN post.19. From the hyper terminal window of PC1 type any character and observe its

    ASCII equivalent on 8-bit LED display.

    SWITCH FAULTS:

    NOTE: Keep the connections as per the procedure. Now switch ON co rresponding fault switch button to ON position & observe the different effect s onthe output. The faults are normally used one at a time.

    1. Put switch 1 of SF1 in Switch Fault section to ON position. This will ope npin no. 5 of U8A [CD4082], hence the clock Q3 will be absent at the i/p ofU8. Pin no. 5 will always remain high and the count will change, resulti ngchange in latched ASCII data. It will show only a part of the 8 bit data, orwill not accept new data, during character transfer on Hyper window.

    - 15 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    18/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    19/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    - 16 - NETWORK LABORATORY & DATA COMMUNICATION

    C 0 C 1 C 2 C 3

    S 3 S 5 S 6

    S 3 S 5 S 6

    C 0 C 1 C 2 C 3

    2

    L L E L

    P O R T

    C A B L E

    L L E L

    P O R T

    C A B L E

    T

    T

    D 0

    D 1 D 2

    D 3

    D 4 D 5

    D 6

    D 7

    D 0

    D 1 D 2

    D 3

    D 4 D 5

    D 6

    D 7

    D Y

    A

    L

    2

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    20/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    PARALLEL COMMUNICATION:

    1. 2. 3.

    4.

    5.

    6. 7.

    8.

    9.

    Carry out the following connections and settings as shown in the diagram.Keep all switch fault switches in off position.Keep switch SW6 in PC mode.

    Connect LPT/parallel port of one PC to connector CN1 on left hand side onDCT-03 kit using 25-25 pin D type cable. Similarly connect LPT/parallelport of another PC to connector CN2 on right hand side on DCT-03 kitusing 25-25 pin D type cable.Keep the switch settings for SW1, SW2 & SW3 in ON position as shown.Switch ON the power supply.Run DCT software and select Parallel Communication Software link onboth PCs.

    Clicking on Port Setting will show you three ports (i.e. LPT1, LPT2, LPT 3),select the port from the user machine through which the data transfer h asto occur. For example Clicking on LPT1 will set the LPT1 as the active porton the machine for the data transfer.Please ensure that the selected ports are in bi-directional mode, this ca nbe checked from the BIOS settings of the computer.

    10. Clicking on Protocols will show you three protocols namely Stop and W aitProtocol, Go Back N Protocol and Selective Repeat protocol. Select Same

    protocol on both PC. Screen similar to one given below will appear.

    - 17 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    21/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    11. Select one PC in transmit mode and another PC in receive mode.12. Select the file to be sent from the transmitter computer, the screen shown

    below will appear at transmitter side, with details of file selected number ofpackets formed using 128 byte per packet size.

    13. Inter packet delay can be varied from 5 ms to 100 ms.14. Window size for Go back N & Selective Repeat protocols can be selected

    from 3, 5, 7.

    15. Packets to be sent are shown with blue colour.

    16. Click on Transmit file button.

    - 18 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    22/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    17. On the remote PC click on receive file button.18. Status of file transfer will be indicated on screen with different colour co ding

    depending on the status of packet whether it is sent & acknowledged, sentbut not acknowledged, bad packet error in packet.

    19. After the user has selected the file. The PC shows the No of Packets andSize of the file in the boxes on the top. The Packets with their packetsequence is also shown.

    20. Once the transfer starts and the client computer acknowledges the packetsit sends the signal back to the transmitting PC. Any acknowledge positiveor negative with their packet sequence is displayed below the CurrentPacket No.

    21. Any positive acknowledge received is displayed as ACK(0) and anynegative acknowledge is displayed as NACK(0) along with their packetsequence in brackets.

    22. Once the packet has been acknowledged and signal shown the nextpacket is transmitted and so on till the whole file gets transmitted.

    23.

    On the right hand top shows frame info. The frame info consists of differentcolor packets. Each color specifies different status of the packet.24. Observe the effect on file transfer by introducing error in data bits use

    switch SW2 to introduce error for a moment.25. Once the file transfer gets complete you will be prompted by file transfer

    successful at transmitter.

    26. At the receiver a selection window will popup to indicate location for the

    received file to be saved.

    - 19 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    23/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    27. Verify the received file with transmitted file, this shows end of file transferwith success.

    28. The receiving packets can be discarded or killed by clicking the Discardbutton.

    29. Any acknowledge that is transmitted back can be also made to lost by justclicking Lost button. Thus the Transmitter side will not receive anyacknowledge.

    30. The third button NACK/LOST can be clicked to discard and to lose anyacknowledge sending back to the Transmitter simultaneously.

    31. Similarly other Parallel port file transfer protocols can be studied with theeffects of fault in packets.

    - 20 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    24/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    EXPERIMENT 2 STUDY OF STOP & WAIT PROTOCOL

    - 21 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    25/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    26/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    - 22 - NETWORK LABORATORY & DATA COMMUNICATION

    C 0 C 1 C 2 C 3

    S 3 S 5 S 6

    S 3 S 5 S 6

    C 0 C 1 C 2 C 3

    2

    L L E L

    P O R T

    C A B L E

    L L E L

    P O R T

    C A B L E

    T

    D 0

    D 1 D 2

    D 3

    D 4 D 5

    D 6

    D 7

    D 0

    D 1 D 2

    D 3

    D 4 D 5

    D 6

    D 7

    D Y

    A

    N

    G

    L

    2

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    27/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    EXPERIMENT 2:

    OBJECTIVE:

    To study Stop & Wait protocol using parallel port & LAN port interface.

    A. USING PARALLEL PORT:

    EQUIPMENTS: DCT-03 trainer kit. 25 Pin D connector Cables 2 Nos. 2 Computers with win-2K / XP. Connecting Chords. Power Supply.

    PROCEDURE:

    1. 2. 3. 4.

    5.

    6. 7.

    8.

    9.

    Carry out the following connections and settings as shown in the diagra m.Keep all switch fault switches in off position.Keep switch SW6 in PC mode.Connect LPT/parallel port of one PC to connector CN1 on left hand sid e onDCT-03 kit using 25-25 pin D type cable. Similarly connect LPT/paralle lport of another PC to connector CN2 on right hand side on DCT-03 kitusing 25-25 pin D type cable.Keep the switch settings for SW1, SW2 & SW3 in ON position as show n.Switch ON the power supply.Run DCT software and select Parallel Communication Software link on both PCs.Clicking on Port Setting will show you three ports (i.e. LPT1, LPT2, LPT 3),select the port from the user machine through which the data transfer h asto occur. For example Clicking on LPT1 will set the LPT1 as the active porton the machine for the data transfer.Please ensure that the selected ports are in bi-directional mode, this ca nbe checked from the BIOS settings of the computer.

    10. Clicking on Protocols will show you three protocols namely Stop and W aitProtocol, Go Back N Protocol and Selective Repeat protocol. Select Stopand Wait protocol on both PC.

    11 . Select one PC in transmit mode and another PC in receive mode.

    - 23 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    28/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    12. Select the file to be sent from the transmitter computer, the screen shown below will appear at transmitter side, with details of file selected number ofpackets formed using 128 byte per packet size.

    13. Inter packet delay can be varied from 5 ms to 100 ms.

    14. Packets to be sent are shown with blue colour.15. Click on Transmit file button.

    - 24 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    29/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    16. On the remote PC click on receive file button.17. Status of file transfer will be indicated on screen with different colour co ding

    depending on the status of packet whether it is sent & acknowledged, sentbut not acknowledged, bad packet error in packet.

    18. After the user has selected the file. The PC shows the No of Packets andSize of the file in the boxes on the top. The Packets with their packetsequence is also shown.

    Acknowledged packet at receiver

    19. Once the transfer starts and the client computer acknowledges the packetsit sends the signal back to the transmitting PC. Any acknowledge positiveor negative with their packet sequence is displayed below the CurrentPacket No.

    - 25 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    30/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    20. Any positive acknowledge received is displayed as ACK(0) and anynegative acknowledge is displayed as NACK(0) along with their packetsequence in brackets.

    21. Once the packet has been acknowledged and signal shown the nextpacket is transmitted and so on till the whole file gets transmitted.

    22. On the right hand top shows frame info. The frame info consists of differentcolor packets. Each color specifies different status of the packet.

    23. Observe the effect on file transfer by introducing error in data bits useswitch SW2 to introduce error for a moment.

    Negative acknowledged packet at receiver

    Transmitter retransmits negative acknowledged packet

    - 26 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    31/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    Another negative acknowledged packet in receiver

    Transmitter indicating time out when acknowledgement not reaching

    - 27 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    32/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    33/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    SERVER CLIENT-1 CLIENT-2

    PORT-1

    PORT-6

    PORT-2

    SWITCH

    PORT-5

    PORT-3

    PORT-4

    CLIENT-5 CLIENT-4 CLIENT-3

    Connection of computers for STAR topology

    - 28 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    34/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    24. Once the file transfer gets complete you will be prompted by file transfersuccessful at transmitter.

    25. At the receiver a selection window will popup to indicate location for thereceived file to be saved.

    26. Verify the received file with transmitted file, this shows end of file transfer

    with success.27. The receiving packets can be discarded or killed by clicking the Discard

    button.28. Any acknowledge that is transmitted back can be also made to lost by just

    clicking Lost button. Thus the Transmitter side will not receive anyacknowledge.

    29. The third button NACK/LOST can be clicked to discard and to lose anyacknowledge sending back to the Transmitter simultaneously.

    B. USING LAN PORT:

    E QUIPMENTS: LTS-01 trainer kit. 2 Computers with win-2K / XP and Ethernet port available on them RJ-45 to RJ-45 LAN connecting cables. L-SIM LAN protocol analyzer and simulator software

    PROCEDURE:

    1.

    2. 3.

    4. 5.

    6.

    7.

    8.

    Connect 2 computer LAN ports using RJ-45 to RJ-45 LAN connectingcables provided with the system to LTS-01 star topology ports.

    Switch on the LTS-01 & Computers.Run L-SIM software on all the computers, one should be server and ot hersshould be clients.On the server computer select type of network as LAN.On the server computer select the topology as STAR, select protocol a sStop & Wait click on create network button.Remote computer details will appear on the computers connected innetwork, server will be able to see all clients and all clients will be able tosee only server.Select the computer to whom data file is to be transferred, from the loa dbutton, previously stored/selected file information can be loaded or you can

    select any file, which is to be transmitted.File size will appear in the software window, select the packet size, interpacket delay and click OK.

    - 29 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    35/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    9. Total packets formed for that file will be indicated on computers.

    10. Same details of file will appear on remote computer to which file is to be

    transmitted.11. Click on file transfer button to transfer file.

    - 30 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    36/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    Transmission started screen in transmitter

    Transmission started screen in receiver

    12. During file transfer process you can insert errors into data packets beingtransmitted through software window.

    13. See the effect of Bad packet error, Packet negative acknowledgment erroror auto errors on file transfer.

    - 31 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    37/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    14. Select BAD PACKET error and click on Generate button in the transmitter window when say 7 th packet is in the transmission state.

    15. You will see that 7th

    packet in the receiver window will be marked as badpacket.

    - 32 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    38/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    16 . 7 th packet will be retransmitted from transmitter.

    17 . Retransmitted 7 th packet will be received correctly this time.

    - 33 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    39/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    18. Select ACK LOST error and click on Generate button in the transmitterwindow when say 23 rd packet is in the transmission state.

    19. You will see that 23 rd packet in the receiver window will be marked asunacknowledged.

    - 34 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    40/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    20 . 23 rd packet will be retransmitted from transmitter.

    21 . Retransmitted 23 rd packet will be received correctly this time.

    - 35 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    41/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    22. Select AUTO ERROR and click on Generate button in the transmitterwindow at any packet is in the transmission state, errors are generated atrandom intervals and no other error insertion facility will be available touser.

    23. Status of packets received when auto error is selected.24. File transfer from one computer to another will take place.25. Multiple file transfer between various server-client combinations should be

    performed to observe throughput v/s packet size graph on transmittercomputer.

    26. Close file transfer window and click on protocol analyzer and Networkanalyzer buttons on transmitter computer to view details of the log created.

    27. Under Network analyzer window click on Graph analyzer button.28. Calculate throughput and click on Plot graph button.

    - 36 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    42/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    29. Detailed graph of throughput v/s packet size for the total file transfer activitywil appear on graph window.

    30. This plot can be printed by clicking on print button.

    Graph for Stop & Wait protocol without any packet errors

    Graph for Stop & Wait protocol with one ACK lost packet error

    - 37 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    43/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    - 38 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    44/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    EXPERIMENT 3 STUDY OF GO BACK N PROTOCOL

    - 39 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    45/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    46/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    - 40 - NETWORK LABORATORY & DATA COMMUNICATION

    C 0 C 1 C 2 C 3

    S 3 S 5 S 6

    S 3 S 5 S 6

    C 0 C 1 C 2 C 3

    2

    L L E L

    P O R T

    C A B L E

    L L E L

    P O R T

    C A B L E

    T

    D 0

    D 1 D 2

    D 3

    D 4 D 5

    D 6

    D 7

    D 0

    D 1 D 2

    D 3

    D 4 D 5

    D 6

    D 7

    D Y

    A

    N

    G

    L

    2

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    47/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    EXPERIMENT 3:

    OBJECTIVE:

    To study Go Back N protocol using parallel port & LAN port interface.

    A. USING PARALLEL PORT:

    EQUIPMENTS: DCT-03 trainer kit. 25 Pin D connector Cables 2 Nos. 2 Computers with win-2K / XP. Connecting Chords. Power Supply.

    PROCEDURE:

    1. 2. 3. 4.

    5.

    6. 7.

    8.

    9.

    Carry out the following connections and settings as shown in the diagra m.Keep all switch fault switches in off position.Keep switch SW6 in PC mode.Connect LPT/parallel port of one PC to connector CN1 on left hand sid e onDCT-03 kit using 25-25 pin D type cable. Similarly connect LPT/paralle lport of another PC to connector CN2 on right hand side on DCT-03 kitusing 25-25 pin D type cable.Keep the switch settings for SW1, SW2 & SW3 in ON position as show n.Switch ON the power supply.Run DCT software and select Parallel Communication Software link on both PCs.Clicking on Port Setting will show you three ports (i.e. LPT1, LPT2, LPT 3),select the port from the user machine through which the data transfer h asto occur. For example Clicking on LPT1 will set the LPT1 as the active porton the machine for the data transfer.Please ensure that the selected ports are in bi-directional mode, this ca nbe checked from the BIOS settings of the computer.

    10. Clicking on Protocols will show you three protocols namely Stop and W aitProtocol, Go Back N Protocol and Selective Repeat protocol. Select GoBack N protocol on both PC.

    11 . Select one PC in transmit mode and another PC in receive mode.12.

    Select the file to be sent from the transmitter computer, the screen willshown details of file selected number of packets formed using 128 byte perpacket size.

    13. Inter packet delay can be varied from 5 ms to 100 ms.14. Window size can be selected from 3, 5, 7.15. Packets to be sent are shown with blue colour.16. Click on Transmit file button.17. On the remote PC click on receive file button.18. Status of file transfer will be indicated on screen with different colour coding

    depending on the status of packet whether it is sent & acknowledged, sentbut not acknowledged, bad packet error in packet.

    - 41 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    48/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    19. After the user has selected the file. The PC shows the No of Packets andSize of the file in the boxes on the top. The Packets with their packetsequence is also shown.

    20. Once the transfer starts and the client computer acknowledges the packetsit sends the signal back to the transmitting PC. Any acknowledge positiveor negative with their packet sequence is displayed below the Current

    Packet No.

    - 42 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    49/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    21. Any positive acknowledge received is displayed as ACK(0) and anynegative acknowledge is displayed as NACK(0) along with their packetsequence in brackets.

    22. Once the packet has been acknowledged and signal shown the nextpacket is transmitted and so on till the whole file gets transmitted.

    23. If negative acknowledgement is received that particular packet out of thewindow is retransmitted.

    24. On the right hand top shows frame info. The frame info consists of differentcolor packets. Each color specifies different status of the packet.

    25. Observe the effect on file transfer by introducing error in data bits useswitch SW2 to introduce error for a moment.

    - 43 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    50/159

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    51/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    52/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    SERVER CLIENT-1 CLIENT-2

    PORT-1

    PORT-6

    PORT-2

    SWITCH

    PORT-5

    PORT-3

    PORT-4

    CLIENT-5 CLIENT-4 CLIENT-3

    Connection of computers for STAR topology

    - 44 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    53/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    26. Once the file transfer gets complete you will be prompted by file transfersuccessful at transmitter.

    27. At the receiver a selection window will popup to indicate location for thereceived file to be saved.

    28. Verify the received file with transmitted file, this shows end of file transfer

    with success.29. The receiving packets can be discarded or killed by clicking the Discard

    button.30. Any acknowledge that is transmitted back can be also made to lost by just

    clicking Lost button. Thus the Transmitter side will not receive anyacknowledge.

    31. The third button NACK/LOST can be clicked to discard and to lose anyacknowledge sending back to the Transmitter simultaneously.

    B. USING LAN PORT:

    E QUIPMENTS: LTS-01 trainer kit. 2 Computers with win-2K / XP and Ethernet port available on them. RJ-45 to RJ-45 LAN connecting cables. L-SIM LAN protocol analyzer and simulator software

    PROCEDURE:

    1.

    2. 3.

    4. 5.

    6.

    7.

    8.

    Connect 3 or more computer LAN ports using RJ-45 to RJ-45 LANconnecting cables provided with the system to LTS-01 star topology po rts.

    Switch on the LTS-01 & Computers.Run L-SIM software on all the computers, one should be server and ot hersshould be clients.On the server computer select type of network as LAN.On the server computer select the topology as STAR, select protocol a s GoBack N click on create network button.Remote computer details will appear on the computers connected innetwork, server will be able to see all clients and all clients will be able tosee only server.Select the computer to whom data file is to be transferred, from the loa dbutton, previously stored/selected file information can be loaded or you canselect any file, which is to be transmitted.File size will appear in the software window, select the packet size, interpacket delay, window size and click OK.

    NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    54/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    9. Total packets formed for that file will be indicated on computers.

    10. Same details of file will appear on remote computer to which file is to be

    transmitted.11. Click on file transfer button to transfer file.

    - 46 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    55/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    Transmission started screen in transmitter clearly show window size of 3 wit h 3packets are transmitted at a time

    Transmission started screen in receiver

    12. During file transfer process you can insert errors into data packets beingtransmitted through software window.

    13. See the effect of Bad packet error, Packet negative acknowledgment erroror auto errors on file transfer; observe carefully which packet/packets aretransmitted.

    - 47 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    56/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    14. Select BAD PACKET error and click on Generate button in the transmitter window when say 15 th packet is in the transmission state.

    15. You will see that 15 th packet in the receiver window will be marked as badpacket.

    - 48 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    57/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    16 . 15 th, 16 th & 17 th packets will be retransmitted from transmitter.

    17 . Retransmitted 15 th, 16 th & 17 th packets will be received correctly this tim e,receiver will discard 16 th & 17 th packets and only 15 th packet is accepted.

    - 49 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    58/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    18. Select ACK LOST error and click on Generate button in the transmitterwindow when say 21 st packet is in the transmission state.

    19. You will see that 21 st packet in the receiver window will be marked asunacknowledged.

    - 50 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    59/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    20 . 21 st, 22 nd & 23 rd packets will be retransmitted from transmitter.

    21 . Retransmitted 21 st, 22 nd & 23 rd packets will be received and discarded by receiver as they were received correctly earlier.

    - 51 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    60/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    22. Select AUTO ERROR and click on Generate button in the transmitterwindow at any packet is in the transmission state, errors are generated atrandom intervals and no other error insertion facility will be available touser.

    23. Status of packets received when auto error is selected.24. File transfer from one computer to another will take place.25. Multiple file transfer between various server-client combinations should be

    performed to observe throughput v/s packet size graph on transmittercomputer.

    26. Close file transfer window and click on protocol analyzer and Networkanalyzer buttons on transmitter computer to view details of the log created.

    27. Under Network analyzer window click on Graph analyzer button.28. Calculate throughput and click on Plot graph button.

    - 52 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    61/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    29. Detailed graph of throughput v/s packet size for the total file transfer activitywill appear on graph window.

    Graph for Go Back N protocol without any packet errors

    30 . This plot can be printed by clicking on print button.

    - 53 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    62/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    - 54 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    63/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    EXPERIMENT 4 STUDY OF SELECTIVE REPEAT PROTOCOL

    - 55 - NETWORK LABORATORY & DATA COMMUNICATION

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    64/159

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    65/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    66/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    - 56 - NETWORK LABORATORY & DATA COMMUNICATION

    C 0 C 1 C 2 C 3

    S 3 S 5 S 6

    S 3 S 5 S 6

    C 0 C 1 C 2 C 3

    2

    L L E L

    P O R T

    C A B L E

    L L E L

    P O R T

    C A B L E

    T

    D 0

    D 1 D 2

    D 3

    D 4 D 5

    D 6

    D 7

    D 0

    D 1 D 2

    D 3

    D 4 D 5

    D 6

    D 7

    D Y

    A

    N

    G

    L

    2

    www.Vidyarthiplus.com

    www.Vidyarthiplus.com

    http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/http://www.vidyarthiplus.com/
  • 8/10/2019 EC2356 Network Lab

    67/159

    EXPERIMENTAL MANUAL FOR NETWORK LABORATORY (Designed for Anna University).

    EXPERIMENT 4:

    OBJECTIVE:

    To study Selective Repeat protocol using parallel port & LAN port interface.

    A. USING PARALLEL PORT:

    EQUIPMENTS: DCT-03 trainer kit. 25 Pin D connector Cables 2 Nos. 2 Computers with win-2K / XP. Connecting Chords. Power Supply.

    PROCEDURE:

    1. 2. 3. 4.

    5.

    6. 7.

    8.

    9.

    Carry out the following connections and settings as shown in the diagra m.Keep all switch fault switches in off position.Keep switch SW6 in PC mode.Connect LPT/parallel port of one PC to connector CN1 on left hand sid e onDCT-03 kit using 25-25 pin D type cable. Similarly connect LPT/paralle lport of another PC to connector CN2 on right hand side on DCT-03 kitusing 25-25 pin D type cable.Keep the switch settings for SW1, SW2 & SW3 in ON position as show n.Switch ON the power supply.Run DCT software and select Parallel Communication Software link on both PCs.Clicking on Port Setting will show you three ports (i.e. LPT1, LPT2, LPT 3),select the port from the user machine through which the data transfer h asto occur. For example Clicking on LPT1 will set the LPT1 as the active porton the machine for the data transfer.Please ensure that the selected ports are in bi-directional mode, this ca nbe checked from the BIOS settings of the computer.

    10. Clicking on Protocols will show you three protocols namely Stop and W aitProtocol, Go Back N Protocol and Selective Repeat protocol. SelectSelective Repeat protocol on both PC.

    11 . Select one PC in trans