TCP/IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet.

Slides:



Advertisements
Similar presentations
OSI MODEL Maninder Kaur
Advertisements

Answers of Exercise 7 1. Explain what are the connection-oriented communication and the connectionless communication. Give some examples for each of the.
CSCI 4550/8556 Computer Networks
1 Fall 2005 Internetworking: Concepts, Architecture and TCP/IP Layering Qutaibah Malluhi CSE Department Qatar University.
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.
Protocols and the TCP/IP Suite
Internet Technologies Overview
CSCI 4550/8556 Computer Networks
Introduction To Networking
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
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,
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.
The OSI Model A layered framework for the design of network systems that allows communication across all types of computer systems regardless of their.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
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.
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:
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
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
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.
TCP/IP Yang Wang Professor: M.ANVARI.
Network Property and ISO Reference Model Network Ownership: Private and Public Connectionless Network and Connect-Oriented Network Network Performance.
Chapter 15 - Internetworking Motivation Universal service Internetworking Routers Internet architecture Routers in an organization A virtual network A.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
 An ISO is a multi national body dedicated to worldwide agreement on international standards.  An ISO standard that covers all aspects of network communications.
1 Chapter 16 Protocols and Protocol Layering. 2 Protocol  Agreement about communication  Specifies  Format of messages (syntax)  Meaning of messages.
Chapter 17 - Internetworking: Concepts, Architecture, and Protocols 1. Internetworking concepts 2. Router 3. protocol for internetworking 4. TCP/ IP layering.
The OSI Model.
University of the Western Cape Chapter 12: The Transport Layer.
Spring 2006Computer Networks1 Chapter 2 Network Models.
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.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Networks. Common Xmit Media Shared Media Networks are a shared communication resource Only one user can access at a time.
Chapter 12(13) - WAN Technologies and Routing Route computation with a graph Redundant routing information Default routes Building routing tables Computation.
CENG 490/510 Network Programming Russell Deaton Rm
Chapter 2 Protocols and the TCP/IP Suite 1 Chapter 2 Protocols and the TCP/IP Suite.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 16 Introduction to Networks and the Internet.
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.
Chapter 16 Protocols and Layering. Network Communication Protocol an agreement that specifies the format and meaning of messages computers exchange Network.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Protocol Layering Chapter 11.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
1 Protocols and Protocol Layering. 2 Protocol Agreement about communication Specifies –Format of messages –Meaning of messages –Rules for exchange –Procedures.
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)
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
COMPUTER NETWORKS CS610 Lecture-22 Hammad Khalid Khan.
Protocols and layering Network protocols and software Layered protocol suites The OSI 7 layer model Common network design issues and solutions.
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
Ch 16 Protocols and Layering
Protocols and Layering
Protocols and the TCP/IP Suite
Process-to-Process Delivery:
OSI Model OSI MODEL.
Protocols and Protocol Layering
Protocols and the TCP/IP Suite
Protocols and Protocol Layering
Error Checking continued
Unit – III Network Essentials
Presentation transcript:

TCP/IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching √ –Routers/ Packet Switches √ –TCP/IP –Clients + Servers = Distributed Computing –Computer Naming.

TCP/IP2 TCP/IP: Preliminaries 1.What are protocols and why are they needed? 2.Some of the techniques protocols use to achieve reliable communication. 3.Internetworking.

TCP/IP: Basics3 1. Protocols Using LAN/WAN hardware directly is not user- friendly: equivalent to accessing files by making calls to disk controller to position read/write head and accessing individual sectors. Software (Protocols) provides a high-level interface, hiding low-level details. Software for LAN and WAN systems is large and complicated Layering is a structuring technique to organize networking software design and implementation.

TCP/IP: Basics4 Why Protocols? A network protocol or computer communication protocol is a set of rules that specify the format and meaning of messages exchanged between computers across a network. –Format is sometimes called syntax –Meaning is sometimes called semantics Protocols are implemented by protocol software.

TCP/IP: Basics5 One or many protocols? Computer communication is a complex problem. Complex problem is divided into sub- problems, a protocol designed for each sub- problem. All protocols must work together to solve the overall problem.

TCP/IP: Basics6 Protocol Suites A set of related protocols that are designed for compatibility is called a protocol suite Protocol suite designers: –Analyze communication problem –Divide problems into subproblems –Design a protocol for each subproblem A well-designed protocol suite –Is efficient and effective - solves the problem without redundancy and makes best use of network capacity –Allows replacement of individual protocols…modular

TCP/IP: Basics7 Layered Protocol Design Layering model is a solution to the problem of complexity in network protocols Model suggests dividing the network protocol into layers, each of which solves part of the network communication problem Network protocol designed to have a protocol or protocols for each layer.

TCP/IP: Basics8 ISO 7-Layer Model International Organization for Standards (ISO) defined a 7-layer reference model as a guide to the design of a network protocol suite. Many modern protocols do not exactly fit the ISO model, and the ISO protocol suite is mostly of historic interest. Concepts and terminology still used.

TCP/IP: Basics9 ISO 7-Layer Model

TCP/IP: Basics10 ISO 7-layer Model Layer 7: Application –Application-specific protocols such as FTP and SMTP (electronic mail). Layer 6: Presentation –Common formats for representation of data. Layer 5: Session –Management of sessions such as login to a remote computer.

TCP/IP: Basics11 ISO 7-Layer Model Layer 4: Transport. –Reliable delivery of data between computers Layer 3: Network –Address assignment and data delivery across a physical network Layer 2: Data Link –Format of data in frames and delivery of frames through network interface Layer 1: Physical –Basic network hardware - such as RS-232 or Ethernet

TCP/IP: Basics12 Layered Software Implementation Software implemented from layered design has layered organization Software modules can be viewed as:

TCP/IP: Basics13 Layered Software Implementation

TCP/IP: Basics14 Layered Software & Stacks Related modules from previous figure are called a protocol stack or simply a stack Two constraints: –The software for each layer depends only on the services of the software provided by lower layers –The software at layer n at the destination receives exactly the same protocol message sent by layer n at the sender These constraints mean that protocols can be tested/replaced independently within a protocol stack.

TCP/IP: Basics15 Layering Principle

TCP/IP: Basics16 Messages & Protocol Stacks On the sender, each layer: –Accepts an outgoing message from the layer above –Adds a header and other processing information –Passes resulting message to next lower layer On the receiver, each layer: –Receives an incoming message from the layer below –Removes the header for that layer and performs other processing –Passes the resulting message to the next higher layer

TCP/IP: Basics17 Commercial Stacks

TCP/IP: Basics18 Protocol Headers The software at each layer communicates with the corresponding layer through information stored in headers. Each layer adds its header to the front of the message from the next higher layer. Headers are nested at the front of the message as the message traverses the network.

TCP/IP: Basics19 Protocol Headers

TCP/IP: Basics20 Control Packets Protocol layers often need to communicate directly without exchanging data –Acknowledge incoming data –Request next data packet Layers use control packets –Generated by layer n on sender –Interpreted by layer n on receiver –Transmitted like any other packet by layers n-1 and below

TCP/IP: Basics21 2. Reliable Network Communication Goal - reliable delivery of a block of data from one computer to another –Data values unchanged –Data in order –No missing data –No duplicated data Example - parity bit, checksum and CRC used to ensure data is unchanged

TCP/IP: Basics22 Out-of-Order & Duplicate Delivery Packets may be delivered out of order - especially in systems that include multiple networks. Packets may be duplicated during transmission These problems can be detected and corrected through sequencing –Sender attaches sequence number to each outgoing packet –Receiver uses sequence numbers to put packets in order and detect missing packets or duplicate packets. –Duplicate packets discarded.

TCP/IP: Basics23 Lost Packets Perhaps the most widespread problem is lost packets Any error - bit error, incorrect length - causes receiver to discard packet Tough problem to solve - how does the receiver decide when a packet has been lost?

TCP/IP: Basics24 Retransmission Protocols use positive acknowledgment with retransmission to detect and correct lost packets –Receiver sends short message acknowledging (ACK) receipt of packets –Sender infers lost packets from missing (ACKs) –Sender retransmits lost packets Sender sets timer for each outgoing packet –Sender saves a copy –If timer expires before ACK is received, sender retransmits saved copy of the packet

TCP/IP: Basics25 Retransmission How many times can protocols retransmit? An upper bound on the number of retransmission is defined to detect unrecoverable network failure.

TCP/IP: Basics26 Replay Errors Sufficiently delayed packets may get inserted into later sessions Suppose two computers exchange data with packets numbered 1 to 5 Packet 4 encounters an extraordinary delay; computers use retransmission to deliver valid copy of packet 4 Two computers exchange data later on with packets numbered 1 to 10

TCP/IP: Basics27 Replay Errors Initial `packet 4' can arrive during second session, so that the data from that old packet rather than the current `packet 4' is inserted into the data Protocols attach session number to each packet in a protocol session to differentiate packets from different sessions

TCP/IP: Basics28 Flow Control Data overrun can occur when sender transmits data faster than receiver can process incoming data Protocols use flow control mechanisms through which receiver can control rate of data transmission –Stop-and-go –Sliding window

TCP/IP: Basics29 Flow Control: Stop & Go Receiver sends small control packet when it is ready for next packet Sender waits for control packet before sending next packet Can be very inefficient of network bandwidth if delivery time is large

TCP/IP: Basics30 Flow Control: Sliding Window Allows sender to transmit multiple packets before receiving an acknowledgment Number of packets that can be sent is defined by the protocol and called the window As acknowledgments arrive from the receiver, the window is moved along the data packets; hence ``sliding window''

TCP/IP: Basics31 Sliding Window

TCP/IP: Basics32 Comparison of the Stop & Go and the Sliding Window

TCP/IP: Basics33 3. Internetworking: Motivation Computers connected to different LAN & WAN technologies cannot communicate. Telephones are useful because any telephone can reach any other telephone. Universal service among computers greatly increases the usefulness of each computer Providing universal service requires interconnecting networks employing different technologies.

TCP/IP: Basics34 Internetworking Internetworking is a scheme for interconnecting multiple networks of dissimilar technologies Uses both hardware and software –Extra hardware positioned between networks –Software on each attached computer System of interconnected networks is called an internetwork or an internet

TCP/IP: Basics35 Routers A router is a hardware component used to interconnect networks A router has interfaces on multiple network. Networks can use different technologies. Router forwards packets between networks Transforms packets as necessary to meet standards for each network.

TCP/IP: Basics36 Internet Architecture An internetwork is composed of arbitrarily many networks interconnected by routers

TCP/IP: Basics37 Internet Architecture Routers can have more than two interfaces

TCP/IP: Basics38 A Virtual Network Internetworking software builds a single, seamless virtual network out of multiple physical networks –Universal addressing scheme –Universal service All details of physical networks hidden from users and application programs

TCP/IP: Basics39 A Virtual Network

TCP/IP: Basics40 A Protocol Suite for Internetworking The TCP/IP Internet Protocols or, simply, TCP/IP is the mostly widely used internetworking protocol suite. First internetworking protocol suite. Internet concept (originally called catenet) was developed in conjunction with TCP/IP. Initially funded through ARPA. Later picked up by NSF.

TCP/IP: Basics41 Internetworking Protocols Others include IPX, VINES, AppleTalk. TCP/IP is by far the most widely used. Vendor and platform independent. Used in the Internet - 82 million computers in 210 countries. 162 million Internet hosts as of July 2002.

TCP/IP: Basics42 TCP/IP Layering OSI 7-layer model does not include internetworking. TCP/IP layering model includes five layers

TCP/IP: Basics43 TCP/IP Layering Layer 5: Application Corresponds to ISO model layers 6 and 7; used for communication among applications Layer 4: Transport Corresponds to layer 4 in the ISO model; provides reliable delivery of data Layer 3: Internet Defines uniform format of packets forwarded across networks of different technologies and rules for forwarding packets in routers

TCP/IP: Basics44 TCP/IP Layering Layer 2: Network –Corresponds to layer 2 in the ISO model; defines formats for carrying packets in hardware frames. Layer 1: Hardware –Corresponds to layer 1 in the ISO model; defines basic networking hardware.

TCP/IP: Basics45 Hosts, Routers & Protocol Layers A host computer or host is any system attached to an internet that runs applications. Hosts may be supercomputers or toasters. TCP/IP allows any pair of hosts on an internet to communicate directly. Both hosts and routers have TCP/IP stacks –Hosts typically have one interface and don't forward packets –Routers don't need layers 4 and 5 for packet forwarding

TCP/IP: Basics46 Summary Till Now An internet is a collection of physical networks interconnected into a single virtual network. Routers provide the physical interconnection and forward packets between networks. Hosts communicate across multiple network through packets forwarded by routers. TCP/IP is the most widely used internetworking protocol suite.