Communication Networks NETW 501 Tutorial 3

Slides:



Advertisements
Similar presentations
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
Advertisements

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.
The OSI and TCP/IP Models Last Update Copyright 2009 Kenneth M. Chipps Ph.D.
Process-to-Process Delivery:
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.
Characteristics of Communication Systems
© 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.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
Computer Networks (CS 132/EECS148) General Networking Example Karim El Defrawy Donald Bren School of Information and Computer Science University of California.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
TCP/IP Transport and Application (Topic 6)
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
Presented by Rebecca Meinhold But How Does the Internet Work?
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. Layered Architecture of Communication Networks: TCP/IP Model
Net 221D:Computer Networks Fundamentals
Enterprise Network Systems TCP Mark Clements. 3 March 2008ENS 2 Last Week – Client/ Server Cost effective way of providing more computing power High specs.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
- 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.
Communication Networks NETW 501 Tutorial 2
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.
Application Layer Functionality and Protocols Abdul Hadi Alaidi
OSI LAYERS.
LESSON Networking Fundamentals Understand TCP/IP.
Lecture (2).
Introduction to TCP/IP
Part I. Overview of Data Communications and Networking
The OSI Model and the TCP/IP Protocol Suite
Chapter 1 Introduction Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011.
ISO/OSI Model and Collision Domain
Understand the OSI Model Part 2
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
Review of Important Networking Concepts
TCP/IP Networking An Example
Multimedia and Networks
Process-to-Process Delivery:
Review of Important Networking Concepts
TCP/IP Protocol Suite: Review
Lecture 4 Communication Network Protocols
Communication Networks NETW 501
TCP/IP Protocol Suite: Review
Lecture 2: Overview of TCP/IP protocol
Networking Theory (part 2)
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Chapter 2 Network Models
CSE 313 Data Communication
Networking for Home and Small Businesses – Chapter 6
Networking Essentials For Firewall-1 Administrators
The OSI Model and the TCP/IP Protocol Suite
OSI Reference Model Unit II
Process-to-Process Delivery: UDP, TCP
Review of Important Networking Concepts
Chapter 3 Transport Layer
The TCP/IP Model.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Networking Theory (part 2)
Presentation transcript:

Communication Networks NETW 501 Tutorial 3 Prepared by: Eng. Minar El-Aasser

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 UDP: DNS, RTP

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.

HTTP EXAMPLE SUMMARY Send the datagram to 2.3 HTTP HTTP TCP TCP IP IP 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

Packet Tracer PT has 2 modes: Real time mode; in which networking protocol operate with realistic timings. Simulation mode; you can watch your network run at a slower pace, observing the path that packets take and inspecting them in detail. You can graphically create PDU [Add Simple PDU (ping) or Add Complex PDU] You can allow a scenario to be simulated either dynamically using [Auto Capture/Play] and pause it by repressing [Auto Capture/Play] or manually running the step forward one step in time by pressing [Capture/Forward] You can record or capture what happens as your PDU propagate through the network [Event List]

Packet Tracer Ping : A computer Network tool used to test whether a particular host is reachable across an IP network. In Packet tracer, the Add Simple PDU button is essentially a quick, graphical way to send one-shot pings.

Packet Tracer Packet Sniffer/ Protocol Analyzer: A computer software that can intercept and log data traffic passing over a data network. As data streams travel back and forth over the network, the sniffer "captures" each protocol data unit (PDU) and can decode and analyze its content One of Packet Tracer features is it works as Software Protocol Analyzer or Packet Sniffer - Simulation mode in Packet Tracer captures all network traffic flowing through the entire network but only supports a limited number of protocols. Other packet sniffers software: Wireshark, nytimes

Packet Tracer Activities Activity 3 - Objectives: Explore how PT uses the OSI Model and TCP/IP Protocols.  Creating a Simple PDU (test packet)  Switching from Real-time to Simulation Mode  Examine Packet Processing and Contents  Accessing the PDU Information Window, OSI Model View  Investigating Device algorithms in the OSI Model View Inbound and Outbound PDUs  Animations of packet Flow

Packet Tracer Activities Activity 4 - Objectives: Capture a ping from a PC command prompt.  Run the simulation and capture the traffic.  Examine the captured traffic. Capture a web request using a URL from a PC. 

Event List shows the frame/packet sequence Using Packet Tracer as Protocol Analyzer [HTTP Client/Server Communication Example] Event List shows the frame/packet sequence Clicking on the colored square box shows the encapsulation for its frame

Successive screenshots of packet tracer event-list; showing the sequence of HTTP client/server communication.  

DNS Query – [HTTP Client/Server Communication Example Cont’d] DNS Query & Reply

TCP 3 Handshake Connection Setup [HTTP Client/Server Communication Example Cont’d] TCP Connection Setup

HTTP Request & Response [HTTP Client/Server Communication Example Cont’d]

Encapsulation Check the highlighted fields Protocol Type of data encapsulated from upper Layer (IP) Protocol Type of data encapsulated from upper Layer (TCP) Incoming traffic details (of the selected event) Outgoing traffic details (of the selected event) Check the highlighted fields

Encapsulation Check the highlighted fields

Questions?