80 likes | 293 Views
2017 - 2018 Computer Networks Protocols. Lecture No.1 : Introduction. Network Architecture A set of layers and protocols is called the network architecture. Protocol Hierarchies Networks are organized as layers to reduce design complexity .
E N D
2017-2018 ComputerNetworksProtocols
LectureNo.1:Introduction NetworkArchitecture Asetoflayersandprotocolsiscalledthenetworkarchitecture. ProtocolHierarchies Networksareorganizedaslayerstoreducedesigncomplexity. Eachlayeroffersservicestothehigherlayers.Betweenadjacentlayersisaninterface. DesignIssuesfortheLayers(functions) 1.Mechanismforconnectionestablishment 2.Rulesfordatatransfer 3.Errorcontrol 4.Fastsenderswampingaslowreceiver 5.Routinginthecaseofmultiplepaths NetworkProtocols ·Protocol:isaformatorderofmessagessentandreceivedamongthenetentitiesandactiontakenonmsgs transmissionreceipt. ·Protocolprocess: 1.Theformatorstructureofthemessage 2.Theprocessbywhichnetworkingdevicesshareinformationaboutpathwayswithothernetworks 3.Howandwhenerrorandsystemmessagesarepassedbetweendevices 4.Thesetupandterminationofdatatransfersessions LayeringInNetworkedComputing ·OSIModel(opensysteminterconnection) ·TCP/IPModel Whyalayeredmodel? 1.Breaksdowncommunicationintosmaller,simplerparts. 2.Easiertoteachcommunicationprocess. 3.Allowsdifferenthardwareandsoftwaretoworktogether. 4.Reducescomplexity TheOSImodel
TheOpenSystemsInterconnectionisthemodeldevelopedbytheInternationalStandardsOrganization.TheOpenSystemsInterconnectionisthemodeldevelopedbytheInternationalStandardsOrganization. - helpsusunderstandhowdatagetsfromoneuser’scomputertoanother. -Itaidstoprovideanorganizedstructureforhardwareandsoftwaredeveloperstofollow. Whyuseareferencemodel? –Servesasanoutlineofrulesforhowprotocolscanbeusedtoallowcommunicationbetweencomputers. –Eachlayerhasitsownfunctionandprovidessupporttootherlayers. LayerMainTopics
DataEncapsulation ·EachlayercontainsaProtocolDataUnit(PDU) PDU’sareusedforpeer-to-peercontactbetweencorrespondinglayers. 4layersoftheTCP/IPmodel ·Layer4:Application ·Layer3:Transport ·Layer2:Internet ·Layer1:Networkaccess ItisimportanttonotethatsomeofthelayersintheTCP/IPmodelhavethesame nameaslayersintheOSImodel.Donotconfusethelayersofthetwomodels. DataEncapsulationInTCP/IP Outgoingdataispackagedandidentifiedfordeliverytothelayerunderneath PDU–PacketDataUnit–the“envelop”informationattachedtoapacketataparticular TCP/IPprotocole.g.headerandtrailer Header(Identifiestheprotocolinuse,thesenderandintendedrecipient) Trailer(orpackettrailer)(Providesdataintegritychecksforthepayload)
DataFormats Encapsulation(TCP/IP) Encapsulationexample:E-mail
TCP/IPprotocolstack TCP/IPReferenceModel Whatisasocket? Aninterfacebetweenapplicationandnetwork(eachapplicationcreatesocket) Socket(Protocolfamily,type-of-communication,specific-protocol); Thesockettypedictatesthestyleofcommunication reliablevs.besteffort connection-orientedvs.connectionless Q/ExplainthedeliveryofdatainLayeredmodel?