OSI Model (Application Layer)

Similar documents
Layered Architectures and Applications

Networking Test 4 Study Guide

8.2 The Internet Protocol

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

The OSI and TCP/IP Models. Lesson 2

BASIC ANALYSIS OF TCP/IP NETWORKS

Internetworking and IP Address

TCP/IP Network Essentials. Linux System Administration and IP Services

Transport and Network Layer

Final for ECE374 05/06/13 Solution!!

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

IP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing

Internet Protocols. Addressing & Services. Updated:

Slide 1 Introduction cnds@napier 1 Lecture 6 (Network Layer)

Computer Networks I Laboratory Exercise 1

Ethernet. Ethernet. Network Devices

Technical Support Information Belkin internal use only

TCP/IP and the Internet

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

Internet Control Protocols Reading: Chapter 3

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

The OSI Model and the TCP/IP Protocol Suite

Objectives of Lecture. Network Architecture. Protocols. Contents

Algemene Theorie en Vaardigheden 2. April 2014 Theaterschool OTT-2 1

Introduction To Computer Networking

Computer Networks CS321

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Network Basics GRAPHISOFT. for connecting to a BIM Server (version 1.0)

RARP: Reverse Address Resolution Protocol

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

CCNA 1: Networking Basics. Cisco Networking Academy Program Version 3.0

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

TCP/IP Basis. OSI Model

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

LESSON Networking Fundamentals. Understand TCP/IP

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

Data Communication Networks and Converged Networks

Overview of Computer Networks

Classful IP Addressing (cont.)

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

PART IV. Network Layer

Lecture 28: Internet Protocols

Protocol Data Units and Encapsulation

Introduction to Network Security Lab 1 - Wireshark

IP addressing and forwarding Network layer

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

You can probably work with decimal. binary numbers needed by the. Working with binary numbers is time- consuming & error-prone.

Advanced Higher Computing. Computer Networks. Homework Sheets

Network Models and Protocols

TCP/IP works on 3 types of services (cont.): TCP/IP protocols are divided into three categories:

IP address format: Dotted decimal notation:

Subnetting,Supernetting, VLSM & CIDR

Troubleshooting Tools

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

Cape Girardeau Career Center CISCO Networking Academy Bill Link, Instructor. 2.,,,, and are key services that ISPs can provide to all customers.

Expert Reference Series of White Papers. Basics of IP Address Subnetting

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

Network Security TCP/IP Refresher

2. IP Networks, IP Hosts and IP Ports

TCP/IP, Addressing and Services

First Midterm for ECE374 03/09/12 Solution!!

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

Lab 2. CS-335a. Fall 2012 Computer Science Department. Manolis Surligas

IP Addressing A Simplified Tutorial

Homework 3 TCP/IP Network Monitoring and Management

Connecting with Computer Science, 2e. Chapter 5 The Internet

Network layer: Overview. Network layer functions IP Routing and forwarding

Lab Organizing CCENT Objectives by OSI Layer

How do I get to

IP - The Internet Protocol

Mobile IP Network Layer Lesson 01 OSI (open systems interconnection) Seven Layer Model and Internet Protocol Layers

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Candidates should attempt FOUR questions. All questions carry 25 marks.

Protocols and Architecture. Protocol Architecture.

Network Models OSI vs. TCP/IP

Chapter 5. Data Communication And Internet Technology

CPS221 Lecture: Layered Network Architecture

Workstation ARP. Objective. Background / Preparation

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

CompTIA Exam N CompTIA Network+ certification Version: 5.1 [ Total Questions: 1146 ]

IT4405 Computer Networks (Compulsory)

CONNECTING WINDOWS XP PROFESSIONAL TO A NETWORK

CCNA Discovery Networking for Homes and Small Businesses Student Packet Tracer Lab Manual

>>> SOLUTIONS <<< c) The OSI Reference Model has two additional layers. Where are these layers in the stack and what services do they provide?

Lecture (02) Networking Model (TCP/IP) Networking Standard (OSI) (I)

The TCP/IP Reference Model

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

Basic Network Configuration

Transcription:

OSI Model (Application Layer) Application Layer (i.e. OSI Session + Presentation + Application Layer) The application layer is responsible for providing the actual service to the user. synchronization: If a system is sending a large file, insert checkpoints every 100 pages to ensure that each 100-page unit is received and acknowledged We independently. want to send Thus, a big if a crash file to happens a system during that the occasionally transmission crashes. of page 523, the only pages that need to be resend are pages 501 to 523. encryption: To carry sensitive information, a system must be able to ensure privacy. We Encryption want to transforms send private the data original over information third-party to another network. form, while decryption reverses the received message back to its original form. We compression: want to senddata multimedia/video compression reduces data, the butnumber network of bits capacity contained limited. in the information it is particularly important in the transmission of multimedia. 1

OSI Model (Summary) Summary of Layers Why 7 Layers? physical and application layer = bottom and top data link layer bundles all link-dependent details network layer responsible for hop-to-hop routing transport layer responsible for end-to-end flow control session and presentation layer provide some useful features; these can be easily provided in application layer 2

OSI Model (Summary) Why did OSI Model Fail in Practice? (1) Bad Timing although essential elements of OSI model were in place quickly, final standard (model + protocols) was not published until 1984 by the time it took to develop OSI protocol standards, TCP/IP network architecture emerged as an alternative for open system interconnection free distribution of TCP/IP as part of Berkeley UNIX system ensured widespread use and development of numerous applications at various academic institutions (2) Complexity and Inefficiency 7-layer OSI model was specified before there was much experience in designing large-scale OSI networks several design choices were made in absence of concrete evidence of their effectiveness some functions, e.g. error control, appear in several layers (data link, transport, application) overall efficiency reduced 3

Chapter 2 Applications and Layered Architectures TCP/IP Architecture How the Layers Work Together

Internet Model The operation of one single protocol at the network layer (IP protocol) over various networks provides independence from the underlying network technologies. IP over anything, anything over IP! 5

Reliable stream service TCP/IP Protocol Suite HTTP SMTP DNS RTP TCP Distributed applications UDP User datagram service Best-effort connectionless packet transfer IP (ICMP, ARP) Network interface 1 Network interface 2 Network interface 3 Diverse network technologies

TCP/IP Protocol Suite (Cont.) Addresses in TCP/IP Model 0 65,535 130.63.92.157 locally unique logical address used to differentiate between applications sharing the same IP address globally unique logical address used to located corresponding node in the entire Internet hierarchical addresses that can be easily aggregated in routing tables fast routing! 00:07:E9:06:FD:2B globally unique NIC address used to located corresponding node on a LAN each NIC on a subnetwork may have different manufactures we cannot aggregate physical addresses in routing tables large networks cannot use these addresses to identify hosts! 7

Internet Names & Addresses Internet Addresses Internet Names Each host a a unique name Each host has globally unique Independent of physical logical 32 bit IP address location Separate address for each Facilitate memorization by physical connection to a network humans Routing decision is done based Domain Name on destination IP address Organization under single administrative unit IP address has two parts: Host Name netid and hostid Name given to host netid unique computer netid facilitates routing Dotted Decimal Notation: int1.int2.int3.int4 (intj = jth octet) 128.100.10.13 DNS resolves IP name to IP address

Physical Addresses LANs (and other networks) assign physical addresses to the physical attachment to the network The network uses its own address to transfer packets or frames to the appropriate destination IP address needs to be resolved to physical address at each IP network interface Example: Ethernet uses 48-bit addresses Each Ethernet network interface card (NIC) has globally unique Medium Access Control (MAC) or physical address First 24 bits identify NIC manufacturer; second 24 bits are serial number 00:90:27:96:68:07 12 hex numbers Intel

Encapsulation TCP Header contains source & destination port numbers HTTP Request IP Header contains source and destination IP addresses; transport protocol type TCP header HTTP Request Ethernet Header contains source & destination MAC addresses; network protocol type IP header TCP header HTTP Request Ethernet header IP header TCP header HTTP Request FCS

TCP/IP Protocol: How the Layers Work Together Example [ web-page retrieval assumption: TCP connection established! ] request www.cs.yorku.ca client: IP_C server: IP_S compose HTTP request Web Client (Browser) compose a TCP segment carrying HTTP request and TCP header with source- & destination- port-number GET www.cs.yorku.ca HTTP/1.0 TCP Layer www.cs.yorku.ca 130.63.92.24 Domain Name System H TCP (SPN, DPN) GET www.cs.yorku.ca HTTP/1.0 compose an IP packet carrying TCP segment and IP header with source & destination IP address IP Layer H IP (IP_C, IP_S) H TCP (SPN, DPN) GET www.cs.yorku.ca HTTP/1.0 compose an Ethernet packet carrying IP segment and Ethernet header with source & next-hop-router NIC address NIC Driver H E on to the wire! H IP (IP_C, IP_S) H TCP (SPN, DPN) GET www.cs.yorku.ca HTTP/1.0 T E 11

TCP/IP Protocol: How the Layers Work Together client: IP_C server: IP_S Web Server GET www.cs.yorku.ca HTTP/1.0 perform sequencing, error recovery, etc. and pass HTTP segments reliably and in-order on to specified port number TCP Layer H TCP (SPN, DPN) GET www.cs.yorku.ca HTTP/1.0 extract destination IP address and check if it is meant for this computer if so, extract TCP segment and pass it on to the TCP layer, otherwise forward the packet through appropriate outgoing link IP Layer H IP (IP_C, IP_S) H TCP (SPN, DPN) GET www.cs.yorku.ca HTTP/1.0 from the wire! H E data-link layer processing (header removal, error checking, etc.) H IP (IP_C, IP_S) H TCP (SPN, DPN) GET www.cs.yorku.ca HTTP/1.0 T E NIC Driver 12

TCP/IP Protocol: How the Layers Work Together (Cont.) Bonus Question [ layering encapsulation ] Assume two computers, situated on two distant LANs - with different data-link technologies, communicate with each other over the Internet. Does each of these computers have to be aware of the data-link technology / protocol run in the LAN of the other computer? LAN 1 LAN 2 13

TCP/IP Protocol: How the Layers Work Together (Cont.) data application transport network link physical application transport network link physical DLIPdata 1 application transport network link physical IPdata network link physical data application transport network link physical DLIPdata 2 (Source: Kurose & Ross) 14

How to determine own IP & MAC address(es)? How to determine the number and identity of intermediate routers? How to determine IP address of another remote machine? www.cse.yorku.ca 15

IP Utilities IPCONFIG Microsoft Windows OS tool used to display TCP/IP information about the host - UNIX/Linux equivalents: ifconfig, ip addr in simplest form returns IP address, subnet mask, default gateway ipconfig /all returns above and DNS hostname, physical address, DNS and DHCP Server addresses, etc. 16

IP Utilities (Cont.) PING standard troubleshooting tool (available on most OS) used to determine 1) whether a remote computer is currently alive 2) round trip delay max, min, average Windows ping sends 4 32-bit packets to destination and reports a) how many packets reached another computer b) roundtrip delay for each ping makes use of ICMP messages if host names are used instead of IP addresses, ping relies on DNS service to translate that name into corresponding IP address additional delay! 17

IP Utilities (Cont.) Traceroute Origin traceroute is a UNIX utility, but nearly all platforms have something similar Windows includes a traceroute utility called tracert you can run tracert from MS-Dos Window, by entering tracert followed by domain name, e.g. tracert www.cs.yourku.ca Traceroute Use traceroute is generally used: (1) as network debugging tool by pinpointing network connectivity problems (2) for identifying IP addresses Example [ traceroute ] If you are visiting a Web site and pages are appearing slowly, you can use traceroute to figure out where the longest delay(s) are occurring. 18

IP Utilities (Cont.) Example [ traceroute www.cbc.ca ] 19

IP Utilities (Cont.) VisualRoute for Internet Performance: http://visualroute.visualware.com/ http://www.visualware.com/resources/tutorials/tracert.html 20

CCNA Questions Q.1Which layer provides logical addressing that routers will use for path determination? A.1 Network Layer Q.2 Which layer is responsible for converting data packets into electrical signal? A.2 Physical Layer Q.3Which layer combines bits into bytes and bytes into frames, uses MAC addressing, and provides error detection? A.3 Data-link Layer Q.4 Which layer is used for reliable communication between end nodes over a WAN and controlling the flow of information? A.4 Transport Layer 21

CCNA Questions (Cont.) Q.5Which fields are contained within an IEEE Ethernet frame header? (a) Source and destination MAC address. (b) Source and destination network (IP) address. (c) Source and destination MAC address and source and destination network (IP) address. Q.6 When data is encapsulated, which is the correct order? (a) Data, frame, packet, segment, bit. (b) Segment, data, packet, frame, bit. (c) Data, segment, packet, frame, bit. (d) Data, segment, frame, packet, bit. 22