Docsity

Comparison of Wireless Networking Technologies: 802.11, Bluetooth, and WIMAX, Lecture notes of Data Communication Systems and Computer Networks

Partial preview of the text

Download Comparison of Wireless Networking Technologies: 802.11, Bluetooth, and WIMAX and more Lecture notes Data Communication Systems and Computer Networks in PDF only on Docsity!

NETWORK PROTOCOLS AND

STANDARDS

Prep. by Werkneh E. 1

2

What’s a protocol?

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 time Prep. by Werkneh E.

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

  • the inclusion of control information to data is called encapsulation. Each frame contains not only data but also control information
  • such control information falls into three categories: address (sender/receiver), error-detecting code and protocol control (information about protocol functions) Prep. by Werkneh E.

4.2. Protocol suites & Industry Standards

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

  • in connection-oriented data transfer, a logical association or connection is established between the communicating computers (devices) â–Șlong sustained session â–Șorderly and timely delivery of packets, e.g., FTP â–ȘTCP (Transport Control Protocol) is connection-oriented â–Șthree phases are involved â–Șconnection establishment (agreement to exchange data) â–Șdata transfer (data and control information exchanged) â–Șconnection termination (termination request) - by any of the two parties â–Șthe key characteristics of connection-oriented data transfer is that sequencing is used â–Șeach side sequentially numbers the frames that it sends to the other side Prep. by Werkneh E. 8

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

â–ȘConsider an example of sending a letter

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

Overview & functions of each layer

TCP/IP and OSI Model Prep. by Werkneh E. 19

OSI

  • Open Systems Interconnection
  • A theoretical model-not implemented (reference)
  • Developed by ISO
  • Open – to connect open systems
  • Contains seven layers Prep. by Werkneh E. 20