Communication Networks NETW 501 Tutorial 2

Slides:



Advertisements
Similar presentations
CCNA – Network Fundamentals
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Chapter 7 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain the need for the transport layer.  Identify.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Transport Layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
CCNA 1 v3.1 Module 11 Review.
© 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.
Layer 7- Application Layer
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
Gursharan Singh Tatla Transport Layer 16-May
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 TCP/IP architecture A set of protocols allowing communication across diverse networks Out of ARPANET Emphasize on robustness regarding to failure Emphasize.
Lecture 8 Modeling & Simulation of Communication Networks.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Process-to-Process Delivery:
Rhys McBreen (How the internet works) X. Contents The Layers and what they do IP Addressing X.
Chapter 2 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.
Layer Architecture of Network Protocols
1 ELEN602 Lecture 2 Review of Last Lecture Layering.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
Computer Networks (CS 132/EECS148) General Networking Example Karim El Defrawy Donald Bren School of Information and Computer Science University of California.
Network Services Networking for Home & Small Business.
Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
1 Version 3.0 Module 11 TCP Application and Transport.
TCP/IP Transport and Application (Topic 6)
Computer Networks Chapter 2: Applications and Layered Architectures.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
Individual Project 1 Sarah Pritchard. Fran, a customer of your company, would like to visit your company’s website from her home computer… How does your.
1 Bus topology network. 2 Data is sent to all computers, but only the destination computer accepts 02608c
1. Layered Architecture of Communication Networks: TCP/IP Model
Net 221D:Computer Networks Fundamentals
Transmission Control Protocol (TCP) Internet Protocol (IP)
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
- 1 - DPNM Review of Important Networking Concepts J. Won-Ki Hong Dept. of Computer Science and Engineering POSTECH Tel:
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
COMPUTER NETWORKS Hwajung Lee. Image Source:
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI transport layer CCNA Exploration Semester 1 – Chapter 4.
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
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.
Part I. Overview of Data Communications and Networking
The OSI Model and the TCP/IP Protocol Suite
Networking for Home and Small Businesses – Chapter 6
Network Architecture Introductory material
Lec 5 Layers Computer Networks Al-Mustansiryah University
Networking for Home and Small Businesses – Chapter 6
The OSI Model and the TCP/IP Protocol Suite
Communication Networks NETW 501 Tutorial 3
Review of Important Networking Concepts
Process-to-Process Delivery:
Review of Important Networking Concepts
Communication Networks NETW 501
TCP/IP Protocol Suite: Review
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Networking for Home and Small Businesses – Chapter 6
The OSI Model and the TCP/IP Protocol Suite
Process-to-Process Delivery: UDP, TCP
Review of Important Networking Concepts
Presentation transcript:

Communication Networks NETW 501 Tutorial 2 Eng. Hadil Hesham hadil.hesham@guc.edu.eg C3.307 Eng. Minar El-Aasser minar.elaasser@guc.edu.eg C3.307

NETWORK INTERFACE LAYER TCP & UDP/IP TCP/IP Model Protocol consists of 4 layers. The hourglass shape of the TCP/IP protocol is what makes this protocol very powerful. APPLICATION LAYER (Application, Presentation, Session) TRANSPORT LAYER INTERNET LAYER (Network Layer) NETWORK INTERFACE LAYER (Data link, Physical) HTTP RTP DNS SMTP UDP TCP IP Network Interface 1 Network Interface 3 Network Interface2 TCP/IP Protocol Graph

Application Layer (TCP/IP Model) Provide services that can be used by other applications. It incorporates functions of the top three OSI model. Examples protocol: HTTP (Hyper Text Transfer Protocol) Publishing and receiving HTML pages SMTP (Simple Mail Transfer Protocol) Sending E-mails towards a server. DNS (Domain Name Service) Helps to map ASCII strings to IP addresses. RTP (Real-Time Transfer Protocol) Delivering Audio and Video over the Internet.

Transport Layer (TCP/IP Model) Offers 2 basic services: TCP (Transmission Control Protocol) UDP (User Datagram Protocol) TCP UDP Connection Oriented Transfer (must establish a connection before data is transferred) Apply error recovery and flow control. concerned with applications that need reliable connections i.e. minimize message bit error, yet delayed is increased. examples of application protocols running on top of TCP: HTTP, SMTP Connectionless Oriented Transfer. No flow control or message sequencing. concerned with applications that require quick delivery but have tolerance to some information loss. i.e. minimize delay, yet message bit error is increased examples of application protocols running on top of TCP: DNS, FTP

Internet Layer (TCP/IP Model) Bus Networks Assume 2 BUS topology networks connected by router. The router is the gateway for each network to the other one. Station (1.1) will send data to station 2.3. Next Hop station is the first station will receive the data from the Tx. Interface is the station in the network domain that will send to the next hop or the Rx station. Router knows that address (1.x) is in network 1 and (2.x) is in network 2

Network Interface Layer (TCP/IP Model) Automatic Resolution Protocol: A protocol that determines/ requests the physical MAC layer of a node when only its IP address is known. Within the same network data are forwarded to destination using MAC address (Physical address). If any station changes it IP address, it can be still recognized.

Network Interface Layer – Star Network (TCP/IP Model) 10.1 PC1 10.2 PC2 Send data to 10.3 Data 10.3 PC3 Internet Router Switch My MAC is 3B MAC Port 1F 1 2A 2 3B 3 7D 4 2C 5 Who has IP 10.3, reply With MAC Address PC4 10.4 PC5 10.5

Application Request Sequence - EXAMPLE Connection Establishment Data Transfer Interface between TCP & IP

HTTP EXAMPLE : HTTP requesting application Get … HTTP Client HTTP Server 200 OK … (Status) HTML Content Web browser runs an HTTP client program Web server runs an HTTP server program HTTP Protocol HTTP client sends its request message to download the webpage: (Get …message) which includes: Server’s IP address : 2.3 Filename : index.html Host’s IP address : 1.1 HTTP server sends a status response HTTP server send HTML data content

HTTP EXAMPLE (cont’d): TCP connection Establishment HTTP Client It is a logical interface to help the transport layer identify which application process should be contacted [Port : transport-Service Access Point] Q: What is Port? Establish a TCP Connection from port z of 1.1. to port 80 of 2.3 Connection Established Port z Port 80 TCP Connection Request from 1.1 port z to 2.3 port 80 TCP Client TCP Server ACK, TCP Connection Request from 2.3 port 80 to 1.1 port z ACK Before the HTTP client can send anything, a TCP connection must be established TCP connection uses a three-way handshake N.B: At this phase, we have yet to get the HTTP server involved in any communications

HTTP EXAMPLE (cont’d): TCP connection Establishment HTTP uses the TCP connection to transfer data in both directions HTTP Client HTTP Server Get … OK, 200 HTML Content Get … OK, 200 HTML Content Port z Port 80 TCP Send (80, z, Get) TCP Client TCP Server ACK TCP Send (z, 80, Response) ACK

HTTP EXAMPLE (cont’d): Interfacing TCP and IP protocols HTTP Client HTTP Server TCP Client TCP Server Send IP datagram to 2.3 Datagram Received Send IP datagram to 1.1 Datagram Received IP Client IP Network IP Server The role of the IP layer is to attempt its best (best-effort service) to forward data-grams towards their target destination.

HTTP EXAMPLE (cont’d): SUMMARY Cleo.guc.edu.eg CNN.com HTTP Send HTTP Request to CNN.com HTTP Establish a connection to 2.3 at port 80 TCP Open TCP connection to 2.3 port 80 TCP IP datagram is a TCP segment for port 80 Send a datagram (which contains a connection request) to 2.3 Send IP data-gram to 2.3 Send IP datagram to 2.3 IP IP IP Frame is an IP datagram Frame is an IP datagram Send the datagram to 1.4 Send the datagram to 2.3 Ethernet Ethernet Ethernet Ethernet Send Ethernet frame to 3f Send Ethernet frame to 1g Router C Router C 2.3 1.4

Encapsulation in TCP/IP model & De-capsulation Data Segment Packet Frame Bits Transport header Network header Frame header 10101110100010101011011001 Protocol Data Unit (PDU) is the generic description to what’s known as segments in transport layer, packets in network layer and frames in data link layer. Packet is the logical grouping of information that includes a header containing control information and data. And it is often interchanged with PDU, segment, datagram, frame..

Peer – Peer Communication Protocol Data Units (PDUs) Piece of data exchanged between peer entities. A GENERIC DESCRITPTON TO WHAT IS KNOWN AS SEGMENT, PACKET or FRAME. Service Data Units (SDUs) Piece of data handed to a layer by an upper layer PDU = SDU + optional header or trailer Service Access Point (SAP) Interface between an upper layer and a lower layer. An SAP has an address that uniquely identifies where the service can be accessed.

Peer – Peer Communication cont’d Data sent from Layer n+1 <-> Layer n Contact Point In layer n Data sent from layer n <-> layer n

Questions?