J. Liebeher (modified by M. Veeraraghavan) 1 Introduction Complexity of networking: An example Layered communications The TCP/IP protocol suite.

Slides:



Advertisements
Similar presentations
Review of Important Networking Concepts
Advertisements

Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Protocols and the TCP/IP Suite
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
Protocol Architecture The “Common Language”. Copyright by Jorg Liebeherr 98, 99 Need for Protocols Protocols are a set of rules and conventions. By enforcing.
 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.
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
CS 356 Systems Security Spring Dr. Indrajit Ray
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
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.
Chapter 4: Managing LAN Traffic
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 0 TCP/IP Overview.
Chapter 9.
Chapter 2 Network Models
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.
TCP/IP. The Internet Protocol Suite is the set of communications protocols used for the Internet and other similar networks. It is commonly also known.
Protocols and the TCP/IP Suite
Huda AL_Omairl - Network 71 Protocols and Network Software.
Examining TCP/IP.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
Computer Networks (CS 132/EECS148) General Networking Example Karim El Defrawy Donald Bren School of Information and Computer Science University of California.
Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff.
Service Primitives Six service primitives that provide a simple connection-oriented service 4/23/2017
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications 1.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
Polytechnic University1 The internetworking solution of the Internet Prof. Malathi Veeraraghavan Elec. & Comp. Engg. Dept/CATT Polytechnic University
Spring 2006Computer Networks1 Chapter 2 Network Models.
1 Introductory material. This module illustrates the interactions of the protocols of the TCP/IP protocol suite with the help of an example. The example.
© Jörg Liebeherr, Organization Addresses TCP/IP Protocol stack Forwarding Internet.
1 CS 4396 Computer Networks Lab TCP/IP Networking An Example.
OS Services And Networking Support Juan Wang Qi Pan Department of Computer Science Southeastern University August 1999.
Chapter 2 Protocols and the TCP/IP Suite 1 Chapter 2 Protocols and the TCP/IP Suite.
1 Introduction to TCP/IP. 2 OSI and Protocol Stack OSI: Open Systems Interconnect OSI ModelTCP/IP HierarchyProtocols 7 th Application Layer 6 th Presentation.
1 Bus topology network. 2 Data is sent to all computers, but only the destination computer accepts 02608c
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
1. Layered Architecture of Communication Networks: TCP/IP Model
Net 221D:Computer Networks Fundamentals
Transmission Control Protocol (TCP) Internet Protocol (IP)
TCP/IP Protocol Suite ©Richard L. Goldman September 25, 2002.
1 Introductory material. This module illustrates the interactions of the protocols of the TCP/IP protocol suite with the help of an example. The example.
- 1 - DPNM Review of Important Networking Concepts J. Won-Ki Hong Dept. of Computer Science and Engineering POSTECH Tel:
Communication Networks NETW 501 Tutorial 2
Network Architecture IS250 Spring 2010 John Chuang
Computer Engineering and Networks, College of Engineering, Majmaah University Protocols OSI reference MODEL TCp /ip model Mohammed Saleem Bhat
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.
A quick intro to networking
Distributed Systems.
Part I. Overview of Data Communications and Networking
Layered Architectures
Network Architecture Introductory material
TCP/IP Networking An Example
Lec 5 Layers Computer Networks Al-Mustansiryah University
Protocols and the TCP/IP Suite
Data and Computer Communications by William Stallings Eighth Edition
Review of Important Networking Concepts
TCP/IP Networking An Example
ECEN “Internet Protocols and Modeling”
Review of Important Networking Concepts
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Chapter 2 Network Models
Network Models CCNA Instructor Training Course October 12-17, 2009
Protocols and the TCP/IP Suite
Data-Link Layer The Internet is a combination of networks glued together by connecting devices (routers or switches) If a packet is to travel from a host.
Review of Important Networking Concepts
Presentation transcript:

J. Liebeher (modified by M. Veeraraghavan) 1 Introduction Complexity of networking: An example Layered communications The TCP/IP protocol suite

J. Liebeher (modified by M. Veeraraghavan) 2 Complexity of Networking When I am sitting at my office machine, with name mng.poly.edu, and I type: ftp photon.poly.edu …. what is actually happening in the network?

J. Liebeher (modified by M. Veeraraghavan) 3 A “simple” file transfer at Poly Step 1: The ftp program accesses a database that translates the hostname photon.poly.edu into an IP address. The distributed database used is called the Domain Name System (DNS). All machines on the Internet have at least one IP address: mng.poly.edu gatekeeper.poly.edu

J. Liebeher (modified by M. Veeraraghavan) 4 A “simple” file transfer at Poly Step 2: mng.poly.edu requests the TCP protocol to establish a connection to the machine with address

J. Liebeher (modified by M. Veeraraghavan) 5 A “simple” file transfer at Poly Step 3: TCP sends a connection request by asking its local IP protocol to send an IP datagram to

J. Liebeher (modified by M. Veeraraghavan) 6 A “simple” file transfer at Poly Step 4: The IP datagram can only be transmitted directly to , if it is on the same local (Ethernet) network as mng.poly.edu ( ). However, mng and photon are not on the same Ethernet.(Q: How does mng know this?) In this case, mng sends the IP datagram to a default router that is responsible for forwarding traffic to remote machines. The default router for mng is dibner-gw.poly.edu ( ).

J. Liebeher (modified by M. Veeraraghavan) 7 The “route” from mng to photon Note that dibner-gw has more than one IP address (In fact, it has a total of six IP addresses).

J. Liebeher (modified by M. Veeraraghavan) 8 A “simple” file transfer at Poly Step 5: mng must translate the IP address into an Ethernet Address. The resolution is performed by the Address Resolution Protocol (ARP).

J. Liebeher (modified by M. Veeraraghavan) 9 A “simple” file transfer at Poly Step 6: The Ethernet device driver sends an Ethernet frame which contains the IP datagram to address 0:0:c:1:a2:e. Ethernet address is for an interface (not a system) IP address is also per interface mng.poly.edu router dibner-gw.poly.edu src IP address: dst IP address: src MAC address: 5:6:7:1:a1:f dst MAC address: 0:0:c:1:a2:e 5:6:7:1:a1:f 0:0:c:1:a2:e

J. Liebeher (modified by M. Veeraraghavan) 10 A “simple” file transfer at Poly Step 7: dibner-gw receives the Ethernet Frame, recovers the IP datagram and determines that the IP datagram should be forwarded to a host on one of the Ethernet segments connected to dibner-gw. Note: dibner-gw performs a routing function.

J. Liebeher (modified by M. Veeraraghavan) 11 A “simple” file transfer at Poly Step 8: dibner-gw performs the steps performed by mng in Step 5; it must translate the IP address into an Ethernet Address (using ARP).

J. Liebeher (modified by M. Veeraraghavan) 12 A “simple” file transfer at Poly Step 9: The Ethernet device driver sends an Ethernet frame which contains the IP datagram to address 0:0:5e:3f:4d:2c (made up number). src IP address: dst IP address: src MAC address: 0:0:c:1:a2:d dst MAC address: 0:0:5e:3f:4d:2c

J. Liebeher (modified by M. Veeraraghavan) 13 A “simple” file transfer at Poly The ethernet frame is passed up the layers in photon with each layer processing its corresponding header.

J. Liebeher (modified by M. Veeraraghavan) 14 Protocol layers and node identifiers Node identifiers: domain name, IP address, ethernet addresses FTP TCP protocol IP protocol Ethernet TCP port number Dest.: 21 (FTP) Domain name mng.poly.edu IP address ethernet address 5:6:7:1:a1:f

J. Liebeher (modified by M. Veeraraghavan) 15 Wrapping-up the example So far, photon has only obtained a single packet. Much more work is required to establish an actual ftp connection (or even the transfer of data). The example was simplified in several ways: – No transmission errors – mng and photon are close to another – ARP involves all machines on the Ethernet – dibner-gw had the routing information it needed – ….

J. Liebeher (modified by M. Veeraraghavan) 16 Communications Architecture Networking can be quite complex and requires a high degree of cooperation between the involved parties. Cooperation is achieved by forcing parties to adhere to a set of rules and conventions (Protocol). The complexity of the communication task is reduced by using multiple protocol layers: Each protocol is responsible for a specific subtask. A structured set of protocols is called a communications architecture or protocol suite or protocol suite.

J. Liebeher (modified by M. Veeraraghavan) 17 Layered Protocol Architecture In this course, we will be mostly concerned with the TCP/IP protocol suite. The TCP/IP protocol suite is the basis for the networks that we call the Internet. The TCP/IP suite has four layers: Application, Transport, Network, and (Data) Link Layer. Computers (hosts) implement all four layers. Routers (gateways) only have the bottom two layers.

J. Liebeher (modified by M. Veeraraghavan) 18 Functions of the Layers Data Link Layer: –Service: Reliable transfer of frames over a link. –Functions: Synchronization, error control, flow control. Network Layer: –Service: Moves packets inside the network. –Functions: Routing, addressing, switching, congestion control. Transport Layer: –Service: Controls delivery of data between hosts. –Functions: Connection establishment/termination, error control, flow control. Application Layer: –Service: Handles details of application programs. –Functions: Everything is application specific.

J. Liebeher (modified by M. Veeraraghavan) 19 More Information on Layers An entity of a particular layer can only communicate with: 1. adjacent layers to provide services and to receive services 2. a peer layer entity using a common protocol (Peer Protocol)

J. Liebeher (modified by M. Veeraraghavan) 20 Layers in the ftp example

J. Liebeher (modified by M. Veeraraghavan) 21 Encapsulation As data moves down the protocol stack, each protocol adds layer-specific control information.

J. Liebeher (modified by M. Veeraraghavan) 22 TCP/IP Protocol Suite The complete TCP/IP protocol suite contains many protocols. Even the following graph is not a complete list.