Chapter 16 Protocols and Layering. Network Communication Protocol an agreement that specifies the format and meaning of messages computers exchange Network.

Slides:



Advertisements
Similar presentations
CISCO NETWORKING ACADEMY PROGRAM (CNAP)
Advertisements

Answers of Exercise 7 1. Explain what are the connection-oriented communication and the connectionless communication. Give some examples for each of the.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
TCP/IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
1 Fall 2005 Protocols and layering Qutaibah Malluhi Computer Science and Engineering Qatar University.
CSCI 4550/8556 Computer Networks
CS335 Networking & Network Administration Tuesday, April 20, 2010.
1 CCNA 2 v3.1 Module Intermediate TCP/IP CCNA 2 Module 10.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
Error Checking continued. Network Layers in Action Each layer in the OSI Model will add header information that pertains to that specific protocol. On.
Communications (Networking) Presented by : John Simon Benneth Nwogu.
OIS Model TCP/IP Model.
SEPT, 2005CSI Part 2.2 Protocols and Protocol Layering Robert Probert, SITE, University of Ottawa.
NETWORKING CONCEPTS. TCP/IP The TCPIIP protocol suite was developed prior to the OSI model TCP/IP protocol suite was defined as having four layers: Host-to-network,
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
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.
Process-to-Process Delivery:
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
CS 447 Networks and Data Communication
Chapter 9.
ISO Layer Model Lecture 9 October 16, The Need for Protocols Multiple hardware platforms need to have the ability to communicate. Writing communications.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Protocol Layering Chapter 10. Looked at: Architectural foundations of internetworking Architectural foundations of internetworking Forwarding of datagrams.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Huda AL_Omairl - Network 71 Protocols and Network Software.
1 Chapter 16 Protocols and Protocol Layering. 2 Protocol  Agreement about communication  Specifies  Format of messages (syntax)  Meaning of messages.
26-TCP Dr. John P. Abraham Professor UTPA. TCP  Transmission control protocol, another transport layer protocol.  Reliable delivery  Tcp must compensate.
University of the Western Cape Chapter 12: The Transport Layer.
TCP/IP Transport and Application (Topic 6)
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
The Transmission Control Protocol (TCP) Application Services (Telnet, FTP, , WWW) Reliable Stream Transport (TCP) Connectionless Packet Delivery.
Transport Layer Moving Segments. Transport Layer Protocols Provide a logical communication link between processes running on different hosts as if directly.
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.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Network Protocols n ISO OSI 7-layer model n TCP/IP suite l TCP/UDP l IP l Ethernet/Token Ring l ICMP.
Data Communications and Networks
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.
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.
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
1 End-to-End Protocols User Datagram Protocol (UDP) Transmission Control Protocol(TCP)
1 Version 3.1 Module 10 Intermediate TCP/IP (Layer 4)
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.
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).
THE OSI REFERENCE MODEL
Protocols and layering Network protocols and software Layered protocol suites The OSI 7 layer model Common network design issues and solutions.
The Transport Layer Implementation Services Functions Protocols
Ch 16 Protocols and Layering
Layered Architectures
Process-to-Process Delivery:
Dr. John P. Abraham Professor UTPA
Dr. John P. Abraham Professor UTPA
Protocols and Protocol Layering
OSI Reference Model Unit II
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Protocols and Protocol Layering
The TCP/IP Model.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Error Checking continued
Presentation transcript:

Chapter 16 Protocols and Layering

Network Communication Protocol an agreement that specifies the format and meaning of messages computers exchange Network applications do not interact directly with network hardware; they interact with protocol software which adheres to protocol.

Protocol Suites Aka protocol family or protocol stack a set of protocols that works well together. Eg. TCP/IP, NetBuei, Novell IPX, AppleTalk, DecNet, SNA. Protocols from one stack cannot interact with protocols from another stack. A computer can run more than one protocol stack. Type field in each frame identifies which stack should handle the message

ISO 7-layer Reference Model network communication divided into 7 logical categories (fig 16.1)(fig 16.1)

Layer 1: Physical Layer – deals with the basic network hardware eg. Fiber, twisted-pair copper, coax Layer 2: Data Link layer – specifies how to organize data into frames and to transmit the frames eg. CSMA/CD, token passing, checksum, CRC Layer 3:Network layer protocols – specify how address are assigned and how packets are forwarded from one end of the network to the other end (eg. IP, ARP, RARP) Layer 4:Transport layer protocols – specify how to reliably transfer data from one end to the other (eg. TCP, UDP, RIP)

Layer 5:Session layer protocols – specify how to establish a communication session with a remote computer (eg. Password authentication, RPC) Layer 6:Presentation layer protocols – specify how to represent data. Needed because different computers may represent data differently (eg. XDR). Layer 7:Application layer protocols – eg. Lpr, rcp, rlogin,rsh, ftp, telnet, smtp, DNS, NFS, NIS, SNMP, bootp, ntp,tftp

3-layer network & 2 interface model Bottom Layer – the NIC board driver which is the software the controls the NIC board. This software is usually NDIS or ODI compliant driver Network Binding Interface – an interface that allows a transport protocol stack to bind (attach, or communicate) to a board driver eg. (Network Driver Interface Specification (NDIS) for NetBEUI, TCP/IP, and SPX/IPX). Middle Layer – transport protocol eg. TCP/IP, IPX/SPX, NetBEUI Network API interface – allows network applications in top layer to be written without having to know details of transport protocols. Top Layer – network services eg. application

Stacks and Layered Software software in each layer talks to the layers immediately adjacent to it (fig 16.2).(fig 16.2) Nested protocol headers – data is prepended with additional header information as it go down various layers prior to network transmission (fig 16.4)(fig 16.4)

Layering Principle Layer N software on the destination computer must receive exactly the message sent by layer N software on the sending computer Whatever transformation(adding headers or encrypting data) a protocol at a given layer applies before sending a frame must be completely reversed when the frame is received by the same layer software at the destination (fig 16.5).(fig 16.5) This simplifies protocol design and testing since the protocol and be designed and tested independent of the other layers

Sequencing needed to reorder out-of-order packet deliveries The receiving side stores both the sequence number of the last packet received in order as well as a list of packets that were received out of order When a new packet arrives, the receiver checks the sequence number of the packet to determine whether it should be sent to the next protocol layer or to appended it to the list of out-of-ordered packets. Other packets on this list is checked whether they can be delivered. Duplicate packets (same sequence number) are discarded

Retransmission of Lost Packets To guarantee reliable transfer (no data loss), protocols use positive acknowledgment with retransmission. Receiver sends an acknowledgement whenever data is received successfully. If sender does not receive an acknowledgement within a specified time (timeout), it retransmit the packet and restarts the timer.

Flow Control needed because transmitting computer may be faster than receiving computer, causing dropped packets

Flow Control Techniques stop-and-go method – transmitter waits for acknowledgement after a packet is sent and before sending another packet – prevents data overrun but is inefficient sliding window – sender and receiver uses a fixed window size, which is the maximum amount of data that can be sent before an acknowledgement arrives (fig. 16.6).(fig. 16.6) – Whenever an acknowledgement arrives, the transmitter adjusts (slides) the window appropriately and continues to send new data within the new window(fig. 16.7).(fig. 16.7)

Throughput can be increased dramatically using sliding window. T w = min (B, T g x W) – Where T w is throughput using sliding window protocol – Tg is throughput using stop-and-go protocol – B is underlying network bandwidth

Congestion Control needed because network bottlenecks can occur packet switch(router) queues grow until packets start to drop(discarded) due to limited buffer memory inside routers. Congestion control techniques – have packet switches (routers) inform senders to slow down (source quench) via using smaller window size when congestion occurs – sender automatically slow down when packet transmission timeout occurs and retransmission is needed.