




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Prep. by Werkneh E. 1
2
a human protocol and a computer network protocol: Q: Other human protocol? Hi Hi Got the time? 2: TCP connection req. TCP connection reply. Get http://gaia.cs.umass.edu/index.htm
4 âthe receiving computer must perform the same steps, but in reverse order âȘaccept the data from the NIC âȘremove transmitting information that was added by the transmitting computer âȘreassemble the packets of data in to the original message âthe key elements of a protocol âȘsyntax: refers to the structure or format of the data âȘsemantics: refers to the meaning of each section of bits âȘtiming: refers to when data should be sent and how fast they can be sent âfunctions of protocols âȘeach device must perform the same steps the same way so that the data will arrive and reassemble properly; âȘif one device uses a protocol with different steps, the two devices will not be able to communicate with each other Prep. by Werkneh E. 4
âthe following are categories of functions that form the basis of protocols âȘencapsulation âȘsegmentation and reassembly âȘconnection control âȘaddressing âȘmultiplexing âȘtransmission services a) Encapsulation
7 c. Connection control âȘtwo types of protocols (services) âȘconnectionless service âȘthe packets are sent from one party to another with no need for connection establishment or connection release âȘthe packets are not numbered, they may be delayed, lost, or arrive out of sequence; there is no acknowledgement either âȘUDP (User Datagram Protocol), one of the transport layer protocols, is connectionless Prep. by Werkneh E. 7
8 âconnection-oriented service
10 âȘerror control: error control is implemented as two separate functions; error detection and retransmission âȘif an error is detected, the receiver discards the frame âȘupon failing to receive an acknowledgement to the frame in a specified reasonable time, the sender retransmits the frame âȘsome protocols also employ error correction which enables the receiver not only to detect errors but, in some cases, to correct them d) addressing âȘa unique address is associated with each end-system in a configuration (e.g. workstation, server) and each intermediate system (e.g. router) âȘan example is an IP address, MAC addressing Prep. by Werkneh E. 10
11 e) multiplexing âȘoccurs when multiple connections share a single connection (multiple access) f)transmission services âȘa variety of additional services can be provided âȘpriority: messages such as control messages may need to get through to the destination station with minimum delay âȘsecurity: security mechanisms, restricting access, may be invoked Prep. by Werkneh E. 11
13 4.3.1. Network (Reference) Models
Prep. by Werkneh E. 13
14 âȘHierarchy âȘthere are three different activities at the sender side and another three at the receiverâs side âȘthe tasks must be done in the order given in the hierarchy âȘLayers and Services âȘwithin a single machine, each layer uses the services immediately below it and provides services for the layer immediately above it âȘbetween machines, layer x on one machine communicates with layer x on another machine Prep. by Werkneh E. 14
16 âȘTwo important network models or architectures âȘThe ISO OSI (Open Systems Interconnection) Reference Model âȘThe TCP/IP Reference Model 4.3.2. The OSI Reference Model âȘconsists of 7 layers âȘfirst step toward international standardization of the protocols âȘwas never fully implemented as a protocol stack, but a good theoretical model âȘOpen â to connect open systems or systems that are open for communication with other systems Prep. by Werkneh E. 16
17 âȘPrinciples to arrive at the 7 layers âȘa layer should be created at different level of abstraction âȘa layer should perform a well-defined function âȘthe function of each layer should be chosen towards defining internationally standardized protocols âȘthe number of layers should be optimal âȘlarge enough so that distinct functions should not be put together, and âȘsmall enough so that the architecture does not become unwieldy Prep. by Werkneh E. 17
TCP/IP and OSI Model Prep. by Werkneh E. 19