Unit 2.1 - OSI Model.ppt Physical Layer

vedantihp21 85 views 42 slides Feb 25, 2024
Slide 1
Slide 1 of 42
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42

About This Presentation

Description of OSI model layers


Slide Content

1.1
Chapter 2
Physical Layer
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

2.2
Network Models

2.3
2-1 LAYERED TASKS
Weusetheconceptoflayersinourdailylife.As
anexample,letusconsidertwofriendswho
communicatethroughpostalmail.Theprocessof
sendingalettertoafriendwouldbecomplexif
therewerenoservicesavailablefromthepost
office.
Sender, Receiver, and Carrier
Hierarchy
Topics discussed in this section:

2.4
Figure 2.1 Tasks involved in sending a letter

2.5
2-2 THE OSI MODEL
Establishedin1947,theInternationalStandards
Organization(ISO)isamultinationalbody
dedicatedtoworldwide agreement on
internationalstandards.AnISOstandardthat
coversallaspectsofnetworkcommunicationsis
theOpenSystemsInterconnection(OSI)model.It
wasfirstintroducedinthelate1970s.
Layered Architecture
Peer-to-Peer Processes
Encapsulation
Topics discussed in this section:

2.6
ISO is the organization.
OSI is the model.
Note

2.7
Figure 2.2 Seven layers of the OSI (Open Systems Interconnection)
model

2.8
Figure 2.3 The interaction between layers in the OSI model

2.9
Figure 2.4 An exchange using the OSI model

2.10
2-3 LAYERS IN THE OSI MODEL
Inthissectionwebrieflydescribethefunctions
ofeachlayerintheOSImodel.
Physical Layer
Data Link Layer
Network Layer
Transport Layer
Session Layer
Presentation Layer
Application Layer
Topics discussed in this section:

2.11
Figure 2.5 Physical layer

2.12
PHYSICAL LAYER
•Responsibleformovementsofindividualbitsfromonehop(node)tothe
next.
PhysicalCharacteristicsofInterfacesandmedium–
•Thephysicallayerdefinesthecharacteristicsoftheinterfacebetweenthe
devicesandthetransmissionmedium.
•Italsodefinesthetypeoftransmissionmedium.
Representationofbits
•Thephysicallayerdataconsistsofastreamofbits(sequenceof0sor1s)
withnointerpretation.
•Tobetransmitted,bitsmustbeencodedintosignals,electricaloroptical.
•Thephysicallayerdefinesthetypeofencoding(how0’sand1’sarechanged
tosignals).

2.13
PHYSICAL LAYER
Synchronizationofbits
•Thesenderandreceivernotonlymustusethesamebitratebutalsomustbe
synchronizedatthebitlevel.
•Inotherwords,thesenderandthereceiverclocksmustbesynchronized
Lineconfiguration
•Thephysicallayerisconcernedwiththeconnectionofdevicestothemedia.
•Inapoint-to-pointconfiguration,twodevicesareconnectedthrougha
dedicatedlink.
•Inamultipointconfiguration,alinkissharedamongseveraldevices.
Datarate
•Thetransmissionrate-thenumberofbitssenteachsecondisalsodefined
bythephysicallayer.
•Inotherwords,thephysicallayerdefinesthedurationofabit,whichishow
longitlasts

2.14
PHYSICAL LAYER
Physicaltopology
•defineshowdevicesareconnectedtomakeanetwork.
•Devicescanbeconnectedbyusinga
•meshtopology(everydeviceisconnectedtoeveryotherdevice),
•startopology(devicesareconnectedthroughacentraldevice),
•ringtopology(eachdeviceisconnectedtothenext,formingaring),
•bustopology(everydeviceisonacommonlink),or
•hybridtopology(thisisacombinationoftwoormoretopologies).
Transmissionmode
•definesthedirectionoftransmissionbetweentwodevices:simplex,half-
duplex,orfull-duplex.
•Insimplexmode,onlyonedevicecansend;theothercanonlyreceive.The
simplexmodeisaone-waycommunication.
•Inhalf-duplexmode,twodevicescansendandreceive,butnotatthesame
time.
•Infull-duplex(orsimplyduplex)mode,twodevicescansendandreceiveat
thesametime.

2.15
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.
Note

2.16
Figure 2.6 Data link layer

2.17
DATA LINK LAYER
•Responsibleformovingframesfromonehop(node)tothenext
•Framing-The data link layer divides the stream of bits received from the network
layer into manageable data units called frames
•Physical addressing -If frames are to be distributed to different systems on the
network, the data link layer adds a header to the frame to define the sender and/or
receiver of the frame.
•Ifthe frame is intended for a system outside the sender’s network, the receiver
address is the address of the device that connects the network to the next one.

2.18
DATA LINK LAYER
•Flow control -If the rate at which the data are absorbed by the receiver is less than
the rate at which data are produced in the sender, the data link layer imposes a flow
control mechanism to avoid overwhelming the receiver.
•Error control -The data link layer adds reliability to the physical layer by adding
mechanisms to detect and retransmit damaged or lost frames. It also uses a mechanism
to recognize duplicate frames. Error control is normally achieved through a
trailer added to the end of the frame.
•Access control -When two or more devices are connected to the same link, data
link layer protocols are necessary to determine which device has control over the
link at any given time.

2.19
Figure 2.7 Hop-to-hop delivery

2.20
The data link layer is responsible for moving
frames from one hop (node) to the next.
Note

2.21
Figure 2.8 Network layer

2.22
NETWORK LAYER
Responsiblefordeliveryofindividualpacketsfromsourcehosttothedestination
host
Logicaladdressing
•Thephysicaladdressingimplementedbythedatalinklayerhandlesthe
addressingproblemlocally.
•Ifapacketpassesthenetworkboundary,weneedanotheraddressing
systemtohelpdistinguishthesourceanddestinationsystems.
•Thenetworklayeraddsaheadertothepacketcomingfromtheupperlayer
that,amongotherthings,includesthelogicaladdressesofthesenderand
receiver
Routing
•Whenindependentnetworksorlinksareconnectedtocreateinternetworks
(networkofnetworks)oralargenetwork,theconnectingdevices(called
routers

2.23
Figure 2.9 Source-to-destination delivery

2.24
The network layer is responsible for the
delivery of individual packets from
the source host to the destination host.
Note

2.25
Questions
1)Thephysicallayersinvolve________.
a)Optical,electricalandmechanicalproperties
b)Voltagelevels,timingandfrequency
c)Physicalconnections
d)Alloftheabove
2)WhodevelopedstandardsforOSIreferencemodel?
a)ANSI-AmericanNationalStandardsInstitute
b)ISO-InternationalStandardsOrganization
c)IEEE-InstituteofElectricalandElectronicsEngineers
d)ACM-AssociationforComputingMachinery
3)WhichisthelayerofOSImodelthatemployserrordetection?
a)Session
b)Network
c)Physical
d)DataLink

2.26
Figure 2.10 Transport layer

2.27
TRANSPORT LAYER
Responsiblefordeliveryofmessagefromoneprocesstoanother
Service-pointaddressing(Portaddress)
•Computersoftenrunseveralprogramsatthesametime.So,source-to-
destinationdeliverymeansdeliverynotonlyfromonecomputertothenext
butalsofromaspecificprocess(runningprogram)ononecomputertoa
specificprocess(runningprogram)ontheother.
•Thetransportlayerheadermustthereforeincludeatypeofaddresscalleda
service-pointaddress(orportaddress).
•Thenetworklayergetseachpackettothecorrectcomputer;thetransport
layergetstheentiremessagetothecorrectprocessonthatcomputer.
Segmentationandreassembly
•Amessageisdividedintotransmittablesegments,witheachsegment
containingasequencenumber.
•Thesenumbersenablethetransportlayertoreassemblethemessage
correctlyuponarrivingatthedestinationandtoidentifyandreplacepackets
thatwerelostintransmission

2.28
TRANSPORT LAYER
Connectioncontrol
•Thetransportlayercanbeeitherconnectionlessorconnection-oriented.
•Aconnectionlesstransportlayertreatseachsegmentasanindependent
packetanddeliversittothetransportlayeratthedestinationmachine.
•Aconnectionorientedtransportlayermakesaconnectionwiththetransport
layeratthedestinationmachinefirstbeforedeliveringthepackets.
•Afterallthedataaretransferred,theconnectionisterminated.
Flowcontrol
•Likethedatalinklayer,thetransportlayerisresponsibleforflowcontrol.
•However,flowcontrolatthislayerisperformedendtoendratherthan
acrossasinglelink.
Errorcontrol
•Likedatalinklayer,transportlayerisresponsibleforerrorcontrol.However,
errorcontrolatthislayerisperformedprocess-to-processratherthan
acrossasinglelink.
•Thesendingtransportlayermakessurethattheentiremessagearrivesat
thereceivingtransportlayerwithouterror(damage,loss,orduplication).
•Errorcorrectionisusuallyachievedthroughretransmission.

2.29
Figure 2.11 Reliable process-to-process delivery of a message

2.30
The transport layer is responsible for the delivery
of a message from one process to another.
Note

2.31
Figure 2.12 Session layer

2.32
SESSION LAYER
Responsiblefordialogcontrolandsynchronization
DialogControl
•Thesessionlayerallowstwosystemstoenterintoadialog.
•Itallowsthecommunicationbetweentwoprocessestotakeplaceineither
halfduplexorfull-duplexmode
Synchronization
•Thesessionlayerallowsaprocesstoaddcheckpoints,orsynchronization
points,toastreamofdata.
•Forexample,ifasystemissendingafileof2000pages,itisadvisableto
insertcheckpointsafterevery100pagestoensurethateach100-pageunitis
receivedandacknowledgedindependently.
•Inthiscase,ifacrashhappensduringthetransmissionofpage523,theonly
pagesthatneedtoberesentaftersystemrecoveryarepages501to523.
Pagespreviousto501neednotberesent.

2.33
The session layer is responsible for dialog
control and synchronization.
Note

2.34
Figure 2.13 Presentation layer

2.35
PRESENTATION LAYER
Itisconcernedwithsyntaxandsemanticsofinformationexchangedbetweentwo
systems.
Itisresponsiblefortranslation,compression,andencryption
Translation
•Processes(runningprograms)intwosystemsareusuallyexchanginginformationin
theformofcharacterstrings,numbers,andsoon.
•Informationmustbechangedtobitstreamsbeforebeingtransmitted.Because
differentcomputersusedifferentencodingsystems,presentationlayeris
responsibleforinteroperabilitybetweenthesedifferentencodingmethods.
•Presentationlayeratthesenderchangestheinformationfromitssender-dependent
formatintoacommonformat.
•Presentationlayeratthereceivingmachinechangesthecommonformatintoits
receiver-dependentformat.

2.36
PRESENTATION LAYER
Encryption
•Tocarrysensitiveinformation,asystemmustbeabletoensureprivacy.
•Encryptionmeansthatthesendertransformstheoriginalinformationtoanother
formandsendstheresultingmessageoutoverthenetwork.
•Decryptionreversestheoriginalprocesstotransformthemessagebacktoits
originalform
Compression
•Datacompressionreducesthenumberofbitscontainedintheinformation.
•Datacompressionbecomesparticularlyimportantinthetransmissionof
multimediasuchastext,audio,andvideo

2.37
The presentation layer is responsible for translation,
compression, and encryption.
Note

2.38
APPLICATION LAYER
Responsibleforprovidingservicestotheuser
•Ofthemanyapplicationservicesavailable,thefigure2.14showsonlythree:
•XAOO(message-handlingservices),
•X.500(directoryservices),and
•Filetransfer,access,andmanagement(FTAM).
•TheuserinthisexampleemploysXAOOtosendane-mailmessage
Networkvirtualterminal
•Anetworkvirtualterminalisasoftwareversionofaphysicalterminal
•Itallowsausertologontoaremotehost.
•Todoso,theapplicationcreatesasoftwareemulationofaterminalattheremote
host.Theuser'scomputertalkstothesoftwareterminalwhich,inturn,talkstothe
hostandviceversa.
•Theremotehostbelievesitiscommunicatingwithoneofitsownterminalsand
allowstheusertologon.

2.39
APPLICATION LAYER
Filetransfer,access,andmanagement
•Thisapplicationallowsauser
•toaccessfilesinaremotehost(tomakechangesorreaddata),
•toretrievefilesfromaremotecomputerforuseinthelocalcomputer,and
•tomanageorcontrolfilesinaremotecomputerlocally.
Mailservices
•Thisapplicationprovidesthebasisfore-mailforwardingandstorage.
Directoryservices.
•Thisapplicationprovidesdistributeddatabasesourcesandaccessforglobal
informationaboutvariousobjectsandservices

2.40
Figure 2.14 Application layer

2.41
The application layer is responsible for
providing services to the user.
Note

2.42
Figure 2.15 Summary of layers