1 Chapter 16 Protocols and Protocol Layering. 2 Protocol  Agreement about communication  Specifies  Format of messages (syntax)  Meaning of messages.

Slides:



Advertisements
Similar presentations
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
Advertisements

OSI Model OSI MODEL.
Answers of Exercise 7 1. Explain what are the connection-oriented communication and the connectionless communication. Give some examples for each of the.
TCP/IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet.
1 Fall 2005 Protocols and layering Qutaibah Malluhi Computer Science and Engineering Qatar University.
CSCI 4550/8556 Computer Networks
EE 4272Spring, 2003 Protocols & Architecture A Protocol Architecture is the layered structure of hardware & software that supports the exchange of data.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
Networking. Protocol Stack Generally speaking, sending an message is equivalent to copying a file from sender to receiver.
Chapter 2 Network Models.
Error Checking continued. Network Layers in Action Each layer in the OSI Model will add header information that pertains to that specific protocol. On.
OIS Model TCP/IP Model.
SEPT, 2005CSI Part 2.2 Protocols and Protocol Layering Robert Probert, SITE, University of Ottawa.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host IP treats a computer as an endpoint of communication Best.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Process-to-Process Delivery:
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
NET0183 Networks and Communications Lectures 26 and 27 TCP: a transport layer protocol 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks.
1 Chapter Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
1 Transport Layer Computer Networks. 2 Where are we?
ISO Layer Model Lecture 9 October 16, The Need for Protocols Multiple hardware platforms need to have the ability to communicate. Writing communications.
Presentation on Osi & TCP/IP MODEL
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Protocol Layering Chapter 10. Looked at: Architectural foundations of internetworking Architectural foundations of internetworking Forwarding of datagrams.
Network Property and ISO Reference Model Network Ownership: Private and Public Connectionless Network and Connect-Oriented Network Network Performance.
University of the Western Cape Chapter 12: The Transport Layer.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.5 Internetworking Chapter 25 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
The Transmission Control Protocol (TCP) Application Services (Telnet, FTP, , WWW) Reliable Stream Transport (TCP) Connectionless Packet Delivery.
User Datagram Protocol (UDP) Chapter 11. Know TCP/IP transfers datagrams around Forwarded based on destination’s IP address Forwarded based on destination’s.
1 TCP: Reliable Transport Service. 2 Transmission Control Protocol (TCP) Major transport protocol used in Internet Heavily used Completely reliable transfer.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Chapter 12(13) - WAN Technologies and Routing Route computation with a graph Redundant routing information Default routes Building routing tables Computation.
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
Chapter 24 Transport Control Protocol (TCP) Layer 4 protocol Responsible for reliable end-to-end transmission Provides illusion of reliable network to.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
Prepared by Engr.Jawad Ali BSc(Hons)Computer Systems Engineering University of Engineering and Technology Peshawar.
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
Network Models.
Chapter 16 Protocols and Layering. Network Communication Protocol an agreement that specifies the format and meaning of messages computers exchange Network.
Protocol Layering Chapter 11.
The Internet Book. Chapter 16 3 A Packet Switching System Can Be Overrun Packet switching allows multiple computers to communicate without delay. –Requires.
1 Protocols and Protocol Layering. 2 Protocol Agreement about communication Specifies –Format of messages –Meaning of messages –Rules for exchange –Procedures.
UDP: User Datagram Protocol Chapter 12. Introduction Multiple application programs can execute simultaneously on a given computer and can send and receive.
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
Computer Networking Lecture 16 – Reliable Transport.
Protocols and layering Network protocols and software Layered protocol suites The OSI 7 layer model Common network design issues and solutions.
1 Chapter 24 Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
Network Models.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Ch 16 Protocols and Layering
(Ownership, Service Paradigm, Measures of Performance)
DEPARTMENT OF COMPUTER SCIENCE
Protocols and Layering
Process-to-Process Delivery:
OSI Model OSI MODEL.
Protocols and Protocol Layering
OSI Reference Model Unit II
Computer Networks Protocols
Protocols and Protocol Layering
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Error Checking continued
Presentation transcript:

1 Chapter 16 Protocols and Protocol Layering

2 Protocol  Agreement about communication  Specifies  Format of messages (syntax)  Meaning of messages (semantics)  Rules for exchange  Procedure for handling problems

3 Need for Protocols  Hardware is low level  Many problems can occur  Bits corrupted or destroyed  Entire packet lost  Packet duplicated  Packets delivered out of order

4 Need for Protocols (continued)  Need mechanisms to distinguish among  Multiple computers on a network  Multiple applications on a computer  Multiple copies of a single application on a computer

5 Set of Protocols  Work together  Each protocol solves part of communication problem  Known as  Protocol suite  Protocol family  Designed in layers

6 Plan for Protocol Design  Intended for protocol designers  Divides protocols into layers  Each layer devoted to one subproblem  Example: ISO 7-layer reference model

7 Illustration of the 7-Layer Model  Defined early  Now somewhat dated  Does not include internet layer!

8 ISO Layers  Layer 1: Physical  Underlying hardware  Layer 2: Data Link (media access)  Hardware frame definitions  Layer 3: Network  Packet forwarding  Layer 4: Transport  Reliability

9 ISO Layers (continued)  Layer 5: Session  Login and passwords  Layer 6: Presentation  Data representation  Layer 7: Application  Services for common applications

10 TCP/IP protocol suite

11 Layers and Protocol Software  Protocol software follows layering model  One software module per layer  Modules cooperate  Incoming or outgoing data passes from one module to another  Entire set of modules known as stack

12 Illustration of Stacks

13 Layers and Packet Headers  Each layer  Prepends header to outgoing packet  Removes header from incoming packet

14 Example of encapsulation

15 Scientific Layering Principle Software implementing layer N at the destination receives exactly the message sent by software implementing layer N at the source

16 Illustration of Layering Principle

17 Protocol Techniques  For bit corruption  Parity  Checksum  CRC  For out-of-order delivery  Sequence numbers  Duplication  Sequence numbers

18 Protocol Techniques (continued)  For lost packets  Positive acknowledgement and retransmission  For replay (excessive delay)  Unique message ID  For data overrun  Flow control

19 Flow Control  Needed because  Sending computer system faster than receiving computer  Sending application faster than receiving application  Related to buffering  Two forms  Stop-and-go  Sliding window

20 Stop-And-Go Flow Control  Sending Side  Transmits one packet  Waits for signal from receiver  Receiving side  Receives and consumes packets  Transmits signal to sender  Inefficient

21 Sliding Window Flow Control  Receiving side  Establishes multiple buffers and informs sender  Sending side  Transmits packets for all available buffers  Only waits if no signal arrives before transmission  Receiving side  Sends signals as packets arrive

22 Illustration of Sliding Window on Sending Side  Window tells how many packets can be sent  Window moves as acknowledgements arrive

23 Performance  Stop-and-go  Slow  Useful only in special cases  Sliding window  Fast  Needed in high-speed network

24 Comparison of Flow Control

25 Why Sliding Window?  Simultaneously  Increase throughput  Control flow  Speedup T w = min(B, T G * W) where  B is underlying hardware bandwidth  T W is sliding window throughput  T G is stop-and-go throughput  W is the window size

26 Congestion  Fundamental problem in networks  Caused by traffic, not hardware failure  Analogous to congestion on a highway  Principle cause of delay

27 Illustration of Architecture That Can Experience Congestion  Multiple sources  Bottleneck

Dealing with Congestion  Congestion results in filled buffers in packet switches => packets will be discarded => retransmission => more packets…..  Solutions  Increasing buffer space  Reducing the amount of packets in the network  Packet switches inform senders, or  Senders use packet loss as an indication 28

29 Congestion and Loss Modern network hardware works well; most packet loss results from congestion, not from hardware failure