Network Models OSI vs. TCP/IP



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

The OSI and TCP/IP Models. Lesson 2

THE OSI REFERENCE MODEL LES M C LELLAN DEAN WHITTAKER SANDY WORKMAN

UPPER LAYER SWITCHING

Computer Networks CS321

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

OPEN SYSTEMS INTERCONNECTION OVERVIEW OF PROTOCOL LAYERING AND OSI MODEL OF NETWORK STACKS

Zarządzanie sieciami telekomunikacyjnymi

Protocol Architecture

Data Communication Networks and Converged Networks

Objectives of Lecture. Network Architecture. Protocols. Contents

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

Protocol Data Units and Encapsulation

CSCI 362 Computer and Network Security

OSI Model. Application Presentation Session Transport Network Data Link Physical. EE156 Computer Network Architecture

Networking Test 4 Study Guide

CPS221 Lecture: Layered Network Architecture

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

Network Programming TDC 561

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

Ethernet. Ethernet. Network Devices

Data Link Protocols. TCP/IP Suite and OSI Reference Model

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

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

Lecture 28: Internet Protocols

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

Overview of Computer Networks

Communications and Computer Networks

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

IP - The Internet Protocol

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

Internet Packets. Forwarding Datagrams

ICS 153 Introduction to Computer Networks. Inst: Chris Davison

Layered Architectures and Applications

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)

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

How do I get to

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

CS335 Sample Questions for Exam #2

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

Chapter 9. IP Secure

Data Communication Networks

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

Chapter 2 - The TCP/IP and OSI Networking Models

How To Understand The Layered Architecture Of A Network

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

Technical Support Information Belkin internal use only

Network Models and Protocols

CONNECTING WINDOWS XP PROFESSIONAL TO A NETWORK

Internetworking and IP Address

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

Introduction To Computer Networking

Architecture and Performance of the Internet

CS101 Lecture 19: Internetworking. What You ll Learn Today

LESSON Networking Fundamentals. Understand TCP/IP

DL TC72 Communication Protocols: HDLC, SDLC, X.25, Frame Relay, ATM

2. IP Networks, IP Hosts and IP Ports

RARP: Reverse Address Resolution Protocol

Network Layers. CSC358 - Introduction to Computer Networks

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

SFWR 4C03: Computer Networks & Computer Security Jan 3-7, Lecturer: Kartik Krishnan Lecture 1-3

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

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

CSE 3461 / 5461: Computer Networking & Internet Technologies

Agenda. Distributed System Structures. Why Distributed Systems? Motivation

Chapter 8: Computer Networking. AIMS The aim of this chapter is to give a brief introduction to computer networking.

Transport and Network Layer

Overview of TCP/IP. TCP/IP and Internet

Communication Networks. MAP-TELE 2011/12 José Ruela

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

Based on Computer Networking, 4 th Edition by Kurose and Ross

Networking Basics and Network Security

IT4405 Computer Networks (Compulsory)

The OSI Model and the TCP/IP Protocol Suite

1000 CCNA Certification Exam Preparation Questions and Answers:

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

Using IPM to Measure Network Performance

Chapter 11. User Datagram Protocol (UDP)

E-Commerce Security. The Client-Side Vulnerabilities. Securing the Data Transaction LECTURE 7 (SECURITY)

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

The OSI & Internet layering models

How To Understand The Internet Of S (Netware)

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

IT-AD08: ADD ON DIPLOMA IN COMPUTER NETWORK DESIGN AND INSTALLATION

CITS1231 Web Technologies. Client, Server, the Internet, and the Web

Transport Layer. Chapter 3.4. Think about

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

Firewalls and VPNs. Principles of Information Security, 5th Edition 1

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

Network Security TCP/IP Refresher

Protocol Specification & Design. The Internet and its Protocols. Course Outline (trivia) Introduction to the Subject Teaching Methods

Topics. Computer Networks. Let s Get Started! Computer Networks: Our Definition. How are Networks Used by Computers? Computer Network Components

Application. Transport. Network. Data Link. Physical. Network Layers. Goal

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Chapter 1: Introduction

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

Interconnecting Cisco Network Devices 1 Course, Class Outline

Communication Systems Internetworking (Bridges & Co)

Fundamentals of the Internet 2009/ Explain meaning the following networking terminologies:

Transcription:

Network Models OSI vs. TCP/IP

Network Models Using a formal model allows us to deal with various aspects of Networks abstractly. We will look at two popular models OSI reference model TCP/IP model Both models are based on the concept of layering.

Layering Divide a task into sub-tasks and then solve each sub-task independently. Establishing a well defined interface between layers makes porting easier. Major Advantages: Code Reuse Extensibility

Layering Example: Federal Express Letter in envelope, address on outside FedX guy adds addressing information, barcode. Local office drives to airport and delivers to hub. Sent via airplane to nearest city. Delivered to right office Delivered to right person

FedX Layers Letter Addressed Envelope Letter Addressed Envelope

OSI Reference Model The International Standards Organization (ISO) proposal for the standardization of the various protocols used in computer networks (specifically those networks used to connect open systems) is called the Open Systems Interconnection Reference Model (1984), or simply the OSI model.

Why a Layered Model? All People Seem To Need Data Processing

Layers with Functions

The Seven Layers of the OSI Reference Model The application (upper) layers Layer 7: Application Layer 6: Presentation Layer 5: Session The data-flow (lower) layers Layer 4: Transport Layer 3: Network Layer 2: Data link Layer 1: Physical

The Application (Upper) Layers Application User interface Examples Telnet, HTTP Presentation How data is presented Special processing, such as encryption Examples ASCII, EBCDIC, JPEG Session Keeping different applications data separate establishes, manages, and terminates sessions between applications.

The Data-Flow (Lower) Layers Transport Reliable or unreliable delivery Error correction before transmit Examples: TCP, UDP, SPX Network Provide logical addressing which routers use for path determination Examples: IP, IPX

The Lower Layers (cont.) Data link Combines bits into bytes and bytes into frames Access to media using MAC address Error detection not correction Examples: 802.3/802.2, HDLC Physical Moves bits between devices Specifies voltage, wire speed, and pinout cables Examples: EIA/TIA- 232, V.35

Layering & Headers Each layer needs to add some control information to the data in order to do it s job. This information is typically prepended to the data before being given to the lower layer. Once the lower layers deliver the the data and control information - the peer layer uses the control information.

Packet Propagation Each router provides its services to support upper- layer functions.

Addresses Each communication endpoint must have an address. Consider 2 processes communicating over an internet: the network must be specified the host (end-system) must be specified the process must be specified.

Addresses at Layers Physical Layer: no address necessary Data Link Layer - address must be able to select any host on the network (MAC). Network Layer - address must be able to provide information to enable routing (IP). Transport Layer - address must identify the destination process (PORT).

Broadcasts Many networks support the notion of sending a message from one host to all other hosts on the network. A special address called the broadcast address is often used.

TCP/IP Network Model Process Process Transport Network Interface Protocols Peer-to-peer Protocols Transport Network Data Link Data Link

Headers (Encapsulation De-Encapsulation) Process DATA Process Transport H DATA Transport Network H H DATA Network Data Link H H H DATA Data Link

Terms Often Used Frames: think data link layer Packets: think network layer Datagrams: think IP Segments: think TCP Cells: think ATM Layer <x>: refer to reference models

What s a Protocol? An agreed upon convention for communication. both endpoints need to understand the protocol. Protocols must be formally defined and unambiguous! We will study some of the important existing TCP/IP protocols.

Interface Vs. Peer-to-peer Protocols Interface protocols describe the communication between layers on the same endpoint. Peer-to-peer protocols describe communication between peers at the same layer.

OSI Model and TCP/IP Model

Differences of the OSI and TCP/IP models TCP/IP combines the presentation and session layer into its application layer. TCP/IP combines the OSI data link and physical layers into one layer. TCP/IP appears simpler because it has fewer layers. TCP/IP transport layer using UDP does not always guarantee reliable delivery of packets as the transport layer in the OSI model does.

Programs & Processes A program is an executable file. A process or task is an instance of a program that is being executed. A single program can generate multiple processes.

Client - Server A server is a process - not a machine! A server waits for a request from a client. A client is a process that sends a request to an existing server and (usually) waits for a reply.

Client - Server Examples Server returns the time-of-day. Server returns a document. Server prints a file for client. Server does a disk read or write. Server records a transaction.

Servers Servers are generally more complex (more interesting). 2 Basic types of servers: Iterative - server handles one client at a time. Concurrent - server handles many clients at a time.

TCP/IP Protocol Graph ARP & RARP ICMP & IGMP

Ports TCP/IP uses an abstract destination point called a protocol port. Ports are identified by a positive integer. Operating systems provide some mechanism that processes use to specify a port.

Ports Host A Host B Process Process Process Process Process Process

Port Numbers

References Cisco Networking Academy Program (CCNA), Cisco Press. CSCI-5273 : Computer Networks, Dirk Grunwald, University of Colorado-Boulder CSCI-4220: Network Programming, Dave Hollinger, Rensselaer Polytechnic Institute. TCP/IP Illustrated, Volume 1, Stevens. Java Network Programming and Distributed Computing, Reilly & Reilly. Computer Networks: A Systems Approach, Peterson & Davie. http://www.firewall.cx http://www.javasoft.com