Aca Lab File - Abhay Kumar
Aca Lab File - Abhay Kumar
Master of Technology
In
Department
of
0177CS21MT01
INDEX OF THE CONTENTS
Hardware Requirement
RJ-
45connector,Climpin
g Tool, Twisted pair
Cable
Packet Tracer.
0177CS21MT01
0177CS21MT01
EXPERIMENT-1
Aim: Study of different types of Network cables and Practically implement the crosswired
cable and straight through cable using clamping tool.
1. Start by stripping off about 2 inches of the plastic jacket off the end of the cable.
Be very
carefulatthispoint,astonotnickorcutintothewires,whichareinside.Doingsocouldalter
thecharacteristicsofyourcable,orevenworserenderisuseless.Checkthewires,onemor e
timefornicksorcuts.Ifthereareany,justwhackthewholeendoff,andstartover.
2. Spreadthewiresapart,butbesuretoholdontothebaseofthejacketwithyourotherhand. You
do not want the wires to become untwisted down inside the jacket. Category 5 cable
mustonlyhave1/2ofaninchof'untwisted'wireattheend;otherwiseitwillbe'outofspec'.
Atthispoint,youobviouslyhaveALOTmorethan1/2ofaninchofun-twistedwire.
3. Youhave2endjacks,whichmustbeinstalledonyourcable.Ifyouareusingapre-made
cable, with one of the ends whacked off, you only have one end to install - the
crossed over
end.Belowaretwodiagrams,whichshowhowyouneedtoarrangethecablesforeachtype of
cable end. Decide at this point which end you are making and examine the associated
picturebelow.
Diagram shows you how to prepare Cross wired connection
0177CS21MT01
EXPERIMENT-2
1. Repeater:FunctioningatPhysicalLayer.Arepeaterisanelectronicdevicethatreceives a
signal and retransmits it at a higher level and/or higher power, or onto the other side
of an
obstruction,sothatthesignalcancoverlongerdistances.Repeaterhavetwoports,socan not be
use to connect for more than twodevices
2. Hub:AnEthernethub,activehub,networkhub,repeaterhub,huborconcentrator is a
device for connecting multiple twisted pair or fiber optic Ethernet devices together
and
makingthemactasasinglenetworksegment.Hubsworkatthephysicallayer(layer1)ofthe
OSI model. The device is a form of multiport repeater. Repeater hubs also participate
in collisiondetection,forwardingajamsignaltoallportsifitdetectsacollision.
4. Bridge: A network bridge connects multiple network segments at the data link layer
(Layer 2) of the OSI model. In Ethernet networks, the term bridge formally means a
device that behaves according to the IEEE 802.1D standard. A bridge and switch are
very much alike; a switch being a bridge with numerous ports. Switch or Layer 2
switch is often used interchangeably with bridge.Bridges can analyze incoming data
packets to determine if the
bridgeisabletosendthegivenpackettoanothersegmentofthenetwork.
6. GateWay:Inacommunicationsnetwork,anetworknodeequippedforinterfacingwith
0177CS21MT01
another network that uses different protocols.
• A gateway may contain devices such as protocol translators, impedance matching
devices, rate converters, fault isolators, or signal translators as necessary to
provide system interoperability. It also requires the establishment of mutually
acceptable administrative procedures between bothnetworks.
• A protocol translation/mapping gateway interconnects networks with different
networkprotocoltechnologiesbyperformingtherequiredprotocolconversions.
0177CS21MT01
EXPERIMENT- 3
• Classification of IPaddress
• Subnetting
• Supernetting
Apparatus (Software): NA
As show in figure we teach how the ip addresses are classified and when they are used.
• Subnetting
Why we Develop sub netting and How to calculate subnet mask and how to identify subnet
address.
• Supernetting
Why we develop super netting and How to calculate supernet mask and how to identify
supernetaddre
EXPERIMENT-4
On the host computer, follow these steps to share the Internet connection:
8. Under Internet Connection Sharing, select the Allow other network users to connect
through this computer's Internet connection checkbox.
9. Ifyouaresharingadial-upInternetconnection,selecttheEstablishadialupconnection
whenever a computer on my network attempts to access the Internet check box
if you wanttopermityourcomputertoautomaticallyconnecttotheInternet.
WhenInternetConnectionSharingisenabled,yourLANadapterwillbesettouseIPaddres s
192.168.0.1.Yourcomputermayloseconnectivitywithothercomputersonyournetwork.I f
theseothercomputershavestaticIPaddresses,itisagoodideatosetthemtoobtaintheirIP
addressesautomatically.AreyousureyouwanttoenableInternetConnectionSharing?
11. ClickYes.
The connection to the Internet is shared to other computers on the local area network (LAN).
The network adapter that is connected to the LAN is configured with a static IP address of
192.168.0.1 and a subnet mask of 255.255.255.0
ToconnecttotheInternetbyusingthesharedconnection,youmustconfirmtheLANadapte r IP
configuration, and then configure the client computer. To confirm the LAN adapter IP
configuration, follow thesesteps:
0177CS21MT01
3. Click Network and InternetConnections.
4. Click NetworkConnections.
5. Right-click Local Area Connection and then clickProperties.
6. Click the General tab, click Internet Protocol (TCP/IP) in the connection uses the
following items list, and then clickProperties.
7. In the Internet Protocol (TCP/IP) Properties dialog box, click Obtain an IP address
automatically (if it is not already selected), and then clickOK.
Note: You can also assign a unique static IP address in the range of 192.168.0.2
to192.168.0.254.Forexample,youcanassignthefollowingstaticIPaddress,subnetmas
k,and defaultgateway:
8. IP Address 192.168.31.202
9. Subnet mask 255.255.255.0
10. Default gateway192.168.31.1
0177CS21MT01
EXPERIMENT- 5
InthisEXPERIMENTstudentshavetounderstandbasicnetworkingcommandse.gping,
tracertetc.
AllcommandsrelatedtoNetworkconfigurationwhichincludeshowtoswitchtoprivilege mode
and normal mode and how to configure router interface and how to save this
configuration to flash memory or permanentmemory.
ping(8)sendsanICMPECHO_REQUESTpackettothespecifiedhost.Ifthehostrespond s,
yougetanICMPpacketback.Soundstrange?Well,youcan“ping”anIPaddresstoseeifa
machineisalive.Ifthereisnoresponse,youknowsomethingiswrong.
0177CS21MT01
Traceroute:
Tracertisacommandwhichcanshowyouthepathapacketofinformationtakesfromyour
computer to one you specify. It will list all the routers it passes through until it reaches
its destination,orfailstoandisdiscarded.Inadditiontothis,itwilltellyouhowlongeach'hop'
from router to routertakes.
0177CS21MT01
nslookup:
pathping:
A better version of tracert that gives you statics about packet lost and latency.
0177CS21MT01
Getting Help
Inanycommandmode,youcangetalistofavailablecommandsbyenteringaquestionmark( ?).
Router>?
Toobtainalistofcommandsthatbeginwithaparticularcharactersequence,typeint hose
haracters followed immediately by the question mark(?).
Router#co?
Router#configure ?
0177CS21MT01
Configuration Files
Any time you make changes to the router configuration, you must save the changes to
memory because if you do not they will be lost if there is a system reload or power
outage. There are two types of configuration files: the running (current operating)
configuration and the startup configuration.
Use the following privileged mode commands to work with configuration files
• configureterminal–modifytherunningconfigurationmanuallyfromtheterminal.
• copyrunning-configstartup-config– copytherunningconfigurationtothestartup
configuration.
• copystartup-configrunning-config– copythestartupconfigurationtotherunning
configuration.
• copytftprunning-config– loadaconfigurationfilestoredonaTrivialFile
TransferProtocol(TFTP)serverintotherunningconfiguration.
• copyrunning-configtftp–storetherunningconfigurationonaTFTPserver.
IP Address Configuration
TakethefollowingstepstoconfiguretheIPaddressofaninterf ace.
Step 1: Enter privileged EXECmode:
Router>enable password
Step2:Entertheconfigureterminalcommandtoenterglobalconfiguration mode.
Router#configterminal
Step3:Entertheinterfacetypeslot/port(forCisco7000series)orinterfacetypeport(forCis co
2500 series) to enter the interface configurationmode.
Example:
Router (config)#interface ethernet 0/1
0177CS21MT01
Step4:EntertheIPaddressandsubnetmaskoftheinterfaceusingtheipaddressipaddress
subnetmaskcommand.
Example,
Router (config-if)#ip address 192.168.10.1 255.255.255.0
Step5:ExittheconfigurationmodebypressingCtr l-Z
Router(config-if)
0177CS21MT01
6. INTRODUCTION TO THE LAB
Flynn's Classification of Computers Architecture
M.J. Flynn proposed a classification for the organization of a computer system by the number of
instructions and data items that are manipulated simultaneously.
The operations performed on the data in the processor constitute a data stream.
Parallel processing may occur in the instruction stream, in the data stream, or both.
Flynn's classification divides computers into four major groups that are:
1. Single instruction stream, single data stream (SISD)
0177CS21MT01
SISD
SISD stands for 'Single Instruction and Single Data Stream'. It represents the organization of
a single computer containing a control unit, a processor unit, and a memory unit.
Instructions are executed sequentially, and the system may or may not have internal parallel
processing capabilities.
Most conventional computers have SISD architecture like the traditional Von-Neumann
computers.
Parallel processing, in this case, may be achieved by means of multiple functional units or by
pipeline processing.
0177CS21MT01
1. Where, CU = Control Unit, PE = Processing Element, M = Memory
Instructions are decoded by the Control Unit and then the Control Unit sends the instructions to
the processing units for execution.
Examples:
SIMD
SIMD stands for 'Single Instruction and Multiple Data Stream'. It represents an organization that
includes many processing units under the supervision of a common control unit.
All processors receive the same instruction from the control unit but operate on different items of
data.
The shared memory unit must contain multiple modules so that it can communicate with all the
processors simultaneously.
0177CS21MT01
SIMD is mainly dedicated to array processing machines. However, vector processors can also be
seen as a part of this group.
MISD
MISD structure is only of theoretical interest since no practical system has been constructed
using this organization.
In MISD, multiple processing units operate on one single-data stream. Each processing unit
operates on the data independently via separate instruction stream.
0177CS21MT01
1. Where, M = Memory Modules, CU = Control Unit, P = Processor Units
Example:
MIMD
In this organization, all processors in a parallel computer can execute different instructions and
operate on various data at the same time.
In MIMD, each processor has a separate program and an instruction stream is generated from
each program.
0177CS21MT01
1. Where, M = Memory Module, PE = Processing Element, and CU = Control Unit
Examples:
Parallel Processing
Parallel processing can be described as a class of techniques which enables the system to
achieve simultaneous data-processing tasks to increase the computational speed of a computer
system.
A parallel processing system can carry out simultaneous data-processing to achieve faster
execution time. For instance, while an instruction is being processed in the ALU component of
the CPU, the next instruction can be read from memory.
The primary purpose of parallel processing is to enhance the computer processing capability
and increase its throughput, i.e. the amount of processing that can be accomplished during a
given interval of time.
A parallel processing system can be achieved by having a multiplicity of functional units that
perform identical or different operations simultaneously. The data can be distributed among
various multiple functional units.
28.5M
585
The following diagram shows one possible way of separating the execution unit into eight
functional units operating in parallel.
The operation performed in each functional unit is indicated in each block if the diagram:
0177CS21MT01
o The adder
and integer multiplier performs the arithmetic operation with integer numbers.
o The floating-point operations are separated into three circuits operating in parallel.
o The logic, shift, and increment operations can be performed concurrently on different
data. All units are independent of each other, so one number can be shifted while
another number is being incremented.
0177CS21MT01
CISC VERSUS RISC
A general block diagram of an array processor is shown below. It contains a set of identical
processing elements (PE's), each of which is having a local memory M. Each processor element
includes an ALU and registers. The master control unit controls all the operations of the
processor elements. It also decodes the instructions and determines how the instruction is to be
executed.
The main memory is used for storing the program. The control unit is responsible for fetching the
instructions. Vector instructions are send to all PE's simultaneously and results are returned to
the memory.
0177CS21MT01
The best known SIMD array processor is the ILLIAC IV computer developed by the Burroughs
corps. SIMD processors are highly specialized computers. They are only suitable for numerical
problems that can be expressed in vector or matrix form and they are not suitable for other types
of computations.
• As most of the Array processors operates asynchronously from the host CPU, hence it
improves the overall capacity of the system.
• Array Processors has its own local memory, hence providing extra memory for systems
with low memory.
Crossbar Switch
Crossbar Switch system contains of a number of crosspoints that are kept at intersections
among memory module and processor buses paths. In each crosspoint, the small square
represents a switch which obtains the path from a processor to a memory module. Each switch
point has control logic to set up the transfer path among a memory and processor. It calculates
the address which is placed in the bus to obtain whether its specific module is being addressed.
0177CS21MT01
In addition, it eliminates multiple requests for access to the same memory module on a
predetermined priority basis.
Functional design of a crossbar switch connected to one memory module is shown in figure. The
circuit contains multiplexers which choose the data, address, and control from one CPU for
communication with the memory module. Arbitration logic established priority levels to select one
CPU when two or more CPUs attempt to access the same memory. The multiplexers can be
handled by the binary code which is produced by a priority encoder within the arbitration logic.
A crossbar switch system permits simultaneous transfers from all memory modules because
there is a separate path associated with each module. Thus, the hardware needed to implement
the switch may become quite large and complex.
0177CS21MT01
0177CS21MT01