CCNA1 4 OSI Transport Layer.docx
《CCNA1 4 OSI Transport Layer.docx》由会员分享,可在线阅读,更多相关《CCNA1 4 OSI Transport Layer.docx(32页珍藏版)》请在冰点文库上搜索。
CCNA14OSITransportLayer
CCNAExploration-NetworkFundamentals
4OSITransportLayer
4.0ChapterIntroduction
4.0.1ChapterIntroduction
Page1:
DatanetworksandtheInternetsupportthehumannetworkbysupplyingseamless,reliablecommunicationbetweenpeople-bothlocallyandaroundtheglobe.Onasingledevice,peoplecanusemultipleservicessuchase-mail,theweb,andinstantmessagingtosendmessagesorretrieveinformation.Applicationssuchase-mailclients,webbrowsers,andinstantmessagingclientsallowpeopletousecomputersandnetworkstosendmessagesandfindinformation.
Datafromeachoftheseapplicationsispackaged,transported,anddeliveredtotheappropriateserverdaemonorapplicationonthedestinationdevice.TheprocessesdescribedintheOSITransportlayeracceptdatafromtheApplicationlayerandprepareitforaddressingattheNetworklayer.TheTransportlayerisresponsiblefortheoverallend-to-endtransferofapplicationdata.
Inthischapter,weexaminetheroleoftheTransportlayerinencapsulatingapplicationdataforusebytheNetworklayer.TheTransportlayeralsoencompassesthesefunctions:
∙Enablesmultipleapplicationstocommunicateoverthenetworkatthesametimeonasingledevice
∙Ensuresthat,ifrequired,allthedataisreceivedreliablyandinorderbythecorrectapplication
∙Employserrorhandlingmechanisms
LearningObjectives
Uponcompletionofthischapter,youwillbeableto:
∙ExplaintheneedfortheTransportlayer.
∙IdentifytheroleoftheTransportlayerasitprovidestheend-to-endtransferofdatabetweenapplications.
∙DescribetheroleoftwoTCP/IPTransportlayerprotocols:
TCPandUDP.
∙ExplainthekeyfunctionsoftheTransportlayer,includingreliability,portaddressing,andsegmentation.
∙ExplainhowTCPandUDPeachhandlekeyfunctions.
∙IdentifywhenitisappropriatetouseTCPorUDPandprovideexamplesofapplicationsthatuseeachprotocol.
DisplayMediaTextTranscript|DisplayVisualMedia
4.1RolesoftheTransportLayer
4.1.1PurposeoftheTransportLayer
Page1:
TheTransportlayerprovidesforthesegmentationofdataandthecontrolnecessarytoreassemblethesepiecesintothevariouscommunicationstreams.Itsprimaryresponsibilitiestoaccomplishthisare:
∙Trackingtheindividualcommunicationbetweenapplicationsonthesourceanddestinationhosts
∙Segmentingdataandmanagingeachpiece
∙Reassemblingthesegmentsintostreamsofapplicationdata
∙Identifyingthedifferentapplications
TrackingIndividualConversations
Anyhostmayhavemultipleapplicationsthatarecommunicatingacrossthenetwork.Eachoftheseapplicationswillbecommunicatingwithoneormoreapplicationsonremotehosts.ItistheresponsibilityoftheTransportlayertomaintainthemultiplecommunicationstreamsbetweentheseapplications.
SegmentingData
Aseachapplicationcreatesastreamdatatobesenttoaremoteapplication,thisdatamustbepreparedtobesentacrossthemediainmanageablepieces.TheTransportlayerprotocolsdescribeservicesthatsegmentthisdatafromtheApplicationlayer.Thisincludestheencapsulationrequiredoneachpieceofdata.EachpieceofapplicationdatarequiresheaderstobeaddedattheTransportlayertoindicatetowhichcommunicationitisassociated.
ReassemblingSegments
Atthereceivinghost,eachpieceofdatamaybedirectedtotheappropriateapplication.Additionally,theseindividualpiecesofdatamustalsobereconstructedintoacompletedatastreamthatisusefultotheApplicationlayer.TheprotocolsattheTransportlayerdescribethehowtheTransportlayerheaderinformationisusedtoreassemblethedatapiecesintostreamstobepassedtotheApplicationlayer.
IdentifyingtheApplications
Inordertopassdatastreamstotheproperapplications,theTransportlayermustidentifythetargetapplication.Toaccomplishthis,theTransportlayerassignsanapplicationanidentifier.TheTCP/IPprotocolscallthisidentifieraportnumber.Eachsoftwareprocessthatneedstoaccessthenetworkisassignedaportnumberuniqueinthathost.ThisportnumberisusedintheTransportlayerheadertoindicatetowhichapplicationthatpieceofdataisassociated.
TheTransportlayeristhelinkbetweentheApplicationlayerandthelowerlayerthatareresponsiblefornetworktransmission.Thislayeracceptsdatafromdifferentconversationsandpassesitdowntothelowerlayersasmanageablepiecesthatcanbeeventuallymultiplexedoverthemedia.
Applicationsdonotneedtoknowtheoperationaldetailsofthenetworkinuse.Theapplicationsgeneratedatathatissentfromoneapplicationtoanother,withoutregardtothedestinationhosttype,thetypeofmediaoverwhichthedatamusttravel,thepathtakenbythedata,thecongestiononalink,orthesizeofthenetwork.
Additionally,thelowerlayersarenotawarethattherearemultipleapplicationssendingdataonthenetwork.Theirresponsibilityistodeliverdatatotheappropriatedevice.TheTransportlayerthensortsthesepiecesbeforedeliveringthemtotheappropriateapplication.
DataRequirementsVary
Becausedifferentapplicationshavedifferentrequirements,therearemultipleTransportlayerprotocols.Forsomeapplications,segmentsmustarriveinaveryspecificsequenceinordertobeprocessedsuccessfully.Insomecases,allofthedatamustbereceivedforanyofittobeofuse.Inothercases,anapplicationcantoleratesomelossofdataduringtransmissionoverthenetwork.
Intoday'sconvergednetworks,applicationswithverydifferenttransportneedsmaybecommunicatingonthesamenetwork.ThedifferentTransportlayerprotocolshavedifferentrulesallowingdevicestohandlethesediversedatarequirements.
Someprotocolsprovidejustthebasicfunctionsforefficientlydeliveringthedatapiecesbetweentheappropriateapplications.Thesetypesofprotocolsareusefulforapplicationswhosedataissensitivetodelays.
OtherTransportlayerprotocolsdescribeprocessesthatprovideadditionalfeatures,suchasensuringreliabledeliverybetweentheapplications.WhiletheseadditionalfunctionsprovidemorerobustcommunicationattheTransportlayerbetweenapplications,theyhaveadditionaloverheadandmakelargerdemandsonthenetwork.
DisplayMediaTextTranscript|DisplayVisualMedia
Page2:
SeparatingMultipleCommunications
Consideracomputerconnectedtoanetworkthatissimultaneouslyreceivingandsendinge-mailandinstantmessages,viewingwebsites,andconductingaVoIPphonecall.Eachoftheseapplicationsissendingandreceivingdataoverthenetworkatthesametime.However,datafromthephonecallisnotdirectedtothewebbrowser,andtextfromaninstantmessagedoesnotappearinane-mail.
Further,usersrequirethatane-mailorwebpagebecompletelyreceivedandpresentedfortheinformationtobeconsidereduseful.Slightdelaysareconsideredacceptabletoensurethatthecompleteinformationisreceivedandpresented.
Incontrast,occasionallymissingsmallpartsofatelephoneconversationmightbeconsideredacceptable.Onecaneitherinferthemissingaudiofromthecontextoftheconversationorasktheotherpersontorepeatwhattheysaid.Thisisconsideredpreferabletothedelaysthatwouldresultfromaskingthenetworktomanageandresendmissingsegments.Inthisexample,theuser-notthenetwork-managestheresendingorreplacementofmissinginformation.
DisplayMediaTextTranscript|DisplayVisualMedia
Page3:
Asexplainedinapreviouschapter,sendingsometypesofdata-avideoforexample-acrossanetworkasonecompletecommunicationstreamcouldpreventothercommunicationsfromoccurringatthesametime.Italsomakeserrorrecoveryandretransmissionofdamageddatadifficult.
Dividingdataintosmallparts,andsendingthesepartsfromthesourcetothedestination,enablesmanydifferentcommunicationstobeinterleaved(multiplexed)onthesamenetwork.
Segmentationofthedata,inaccordancewithTransportlayerprotocols,providesthemeanstobothsendandreceivedatawhenrunningmultipleapplicationsconcurrentlyonacomputer.Withoutsegmentation,onlyoneapplication,thestreamingvideoforexample,wouldbeabletoreceivedata.Youcouldnotreceivee-mails,chatoninstantmessenger,orviewwebpageswhilealsoviewingthevideo.
AttheTransportlayer,eachparticularsetofpiecesflowingbetweenasourceapplicationandadestinationapplicationisknownasaconversation.
Toidentifyeachsegmentofdata,theTransportlayeraddstothepieceaheadercontainingbinarydata.Thisheadercontainsfieldsofbits.ItisthevaluesinthesefieldsthatenabledifferentTransportlayerprotocolstoperformdifferentfunctions.
DisplayMediaTextTranscript|DisplayVisualMedia
4.1.2ControllingtheConversations
Page1:
TheprimaryfunctionsspecifiedbyallTransportlayerprotocolsinclude:
SegmentationandReassembly-MostnetworkshavealimitationontheamountofdatathatcanbeincludedinasinglePDU.TheTransportlayerdividesapplicationdataintoblocksofdatathatareanappropriatesize.Atthedestination,theTransportlayerreassemblesthedatabeforesendingittothedestinationapplicationorservice.
ConversationMultiplexing-Theremaybemanyapplicationsorservicesrunningoneachhostinthenetwork.EachoftheseapplicationsorservicesisassignedanaddressknownasaportsothattheTransportlayercandeterminewithwhichapplicationorservicethedataisidentified.
Inadditiontousingtheinformationcontainedintheheaders,forthebasicfunctionsofdatasegmentationandreassembly,someprotocolsattheTransportlayer