The OSI Model and the TCP/IP Protocol Suite. Pritee Parwekar ANITS 1

Similar documents
The OSI Model and the TCP/IP Protocol Suite

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

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

Networking Test 4 Study Guide

The OSI and TCP/IP Models. Lesson 2

Data Communication Networks and Converged Networks

Computer Networks CS321

Lecture 28: Internet Protocols

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

Protocol Data Units and Encapsulation

CPS221 Lecture: Layered Network Architecture

Transport and Network Layer

Network Models OSI vs. TCP/IP

Internetworking and IP Address

Objectives of Lecture. Network Architecture. Protocols. Contents

Mathatma Gandhi University

Ethernet. Ethernet. Network Devices

Chapter 9. IP Secure

Network Models and Protocols

OSI Reference Model: An Overview

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

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

UPPER LAYER SWITCHING

The OSI Model and the TCP/IP Protocol Suite PROTOCOL LAYERS. Hierarchy. Services THE OSI MODEL

Protocols and Architecture. Protocol Architecture.

The TCP/IP Reference Model

Protocol Architecture

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

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

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

Overview of Computer Networks

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

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

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

Zarządzanie sieciami telekomunikacyjnymi

Communications and Computer Networks

Layered Architectures and Applications

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

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

TCP/IP and the Internet

IP - The Internet Protocol

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

The OSI Model: Understanding the Seven Layers of Computer Networks

Final for ECE374 05/06/13 Solution!!

ELEC3030 (EL336) Computer Networks. How Networks Differ. Differences that can occur at network layer, which makes internetworking difficult:

RARP: Reverse Address Resolution Protocol

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

The OSI model has seven layers. The principles that were applied to arrive at the seven layers can be briefly summarized as follows:

Technical Support Information Belkin internal use only

Computer Networks/DV2 Lab

How To Design A Layered Network In A Computer Network

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

Firewalls. Basic Firewall Concept. Why firewalls? Firewall goals. Two Separable Topics. Firewall Design & Architecture Issues

CS335 Sample Questions for Exam #2

Cisco Configuring Commonly Used IP ACLs

How To Use A Network Over The Internet (Networking) With A Network (Netware) And A Network On A Computer (Network)

A host-based firewall can be used in addition to a network-based firewall to provide multiple layers of protection.

Network Layer: Network Layer and IP Protocol

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

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

PART OF THE PICTURE: The TCP/IP Communications Architecture

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

EXPLORER. TFT Filter CONFIGURATION

Internet Concepts. What is a Network?

BASIC ANALYSIS OF TCP/IP NETWORKS

Transport Layer Protocols

ΕΠΛ 674: Εργαστήριο 5 Firewalls

How To Understand The Internet Of S (Netware)

IT Data Communication and Networks (Optional)

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

Networking Basics and Network Security

Protocol Hierarchies/Network Software

IT4405 Computer Networks (Compulsory)

Lecture Computer Networks

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

Industrial Communication Whitepaper. Principles of EtherNet/IP Communication

First Semester Examinations 2011/12 INTERNET PRINCIPLES

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

Overview of TCP/IP. TCP/IP and Internet

Module 1. Introduction. Version 2 CSE IIT, Kharagpur

Security (II) ISO : Security Architecture of OSI Reference Model. Outline. Course Outline: Fundamental Topics. EE5723/EE4723 Spring 2012

LESSON Networking Fundamentals. Understand TCP/IP

TCP/IP, Addressing and Services

Network Security 網 路 安 全. Lecture 1 February 20, 2012 洪 國 寶

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

ICS 153 Introduction to Computer Networks. Inst: Chris Davison

ΕΠΛ 475: Εργαστήριο 9 Firewalls Τοίχοι πυρασφάλειας. University of Cyprus Department of Computer Science

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

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

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

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

Data Communication and Computer Network

LMS. OSI Layers and the Learning Management System. Over view

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Virtual Server and DDNS. Virtual Server and DDNS. For BIPAC 741/743GE

Linux Network Security

Basic Network Configuration

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Chapter 2 - The TCP/IP and OSI Networking Models

Transcription:

The OSI Model and the TCP/IP Protocol Suite Pritee Parwekar ANITS 1

To study To discuss the idea of multiple layering in data communication and networking and the interrelationship between layers. To discuss the OSI model and its layer architecture and to show the interface between the layers. To briefly discuss the functions of each layer in the OSI model. To introduce the TCP/IP protocol suite and compare its layers with the ones in the OSI model. To show the functionality of each layer in the TCP/IP protocol with some examples. To discuss the addressing mechanism used in some layers of the TCP/IP protocol suite for the delivery of a message from the source to the destination. Pritee Parwekar ANITS 2

What is a protocol A protocol is required when two entities need to communicate. When communication is not simple, we may divide the complex task of communication into several layers. In this case, we may need several protocols, one for each layer. Let us use a scenario in communication in which the role of protocol layering may be better understood. We use two examples. In the first example, communication is so simple that it can occur in only one layer. Pritee Parwekar ANITS 3

Example Assume I and Student are with a lot of common ideas. However, I speaks only MARATHI, and Student speaks only TELUGU. Since both have learned the sign language, we talk. Communication is face to face and Happens in one layer as shown in Figure. Pritee Parwekar ANITS 4

Example - Figure Layer 1 I signs Student Layer 1 Marathi Telugu Pritee Parwekar ANITS 5

Example Now assume that I have to move to another town.but I have two small machines. The first machine can scan and transform a letter in MARATHI to a secret code or vice versa. The other machine can scan and translate a letter in TELUGU to the same secret code or vice versa. Pritee Parwekar ANITS 6

Example Pritee Parwekar ANITS 7

OSI Model Established in 1947, the International Standards Organization (ISO) is a multinational body dedicated to worldwide agreement on international standards. Almost three-fourths of countries in the world are represented in the ISO. An ISO standard that covers all aspects of network communications is the Open Systems Interconnection (OSI) model. It was first introduced in the late 1970s. Pritee Parwekar ANITS 8

Note ISO is the organization; OSI is the model. Pritee Parwekar ANITS 9

The OSI model Pritee Parwekar ANITS 10

OSI Layer Pritee Parwekar ANITS 11

OSI Model Pritee Parwekar ANITS 12

Note The physical layer is responsible for moving individual bits from one (node) to the next. Pritee Parwekar ANITS 13

Summary of OSI Layers Pritee Parwekar ANITS 14

TCP / IP PROTOCOL The TCP/IP protocol suite was developed prior to the OSI model. Therefore, the layers in the TCP/IP protocol suite do not match exactly with those in the OSI model. The original TCP/IP protocol suite was defined as four software layers built upon the hardware. Today, however, TCP/IP is thought of as a five-layer model with the layers named similarly to the ones in the OSI model. Pritee Parwekar ANITS 15

TCP / IP PROTOCOL The Internet Protocol Suite (commonly known as TCP/IP) is the set of communications protocols used for the Internet and other similar networks. It is named from two of the most important protocols in it: the Transmission Control Protocol (TCP) and the Internet Protocol (IP), which were the first two networking protocols defined in this standard. Pritee Parwekar ANITS 16

TCP/IP Layers Pritee Parwekar ANITS 17

TCP/IP and OSI model Pritee Parwekar ANITS 18

A private internet Pritee Parwekar ANITS 19

Communication at the physical layer Legend Source Destination Physical layer A R1 R3 R4 B Physical layer Link 1 Link 3 Link 5 Link 6 011... 101 011... 101 011... 101 011... 101 Pritee Parwekar ANITS 20

Note The unit of communication at the physical layer is a bit. Pritee Parwekar ANITS 21

Communication at the data link layer Legend Source Destination D Data H Header A R1 R3 R4 B Data link Data link Physical Link 1 Link 3 Link 5 Link 6 Physical D2 H2 Frame D2 H2 Frame D2 H2 Frame D2 H2 Frame Pritee Parwekar ANITS 22

Note The unit of communication at the data link layer is a frame. Pritee Parwekar ANITS 23

Communication at the network layer Legend Source Destination D Data H Header A R1 R3 R4 B Network Network Data link Data link Physical Physical D3 H3 Datagram D3 H3 Datagram Pritee Parwekar ANITS 24

The unit of communication at the network layer is a datagram / packet. Pritee Parwekar ANITS 25

Communication at transport layer Transport A Legend Source Destination D Data R1 R3 R4 H Header B Transport Network Network Data link Data link Physical Physical D4 H4 Segment D4 H4 Segment Pritee Parwekar ANITS 26

Note The unit of communication at the transport layer is a segment, user datagram, or a packet, depending on the specific protocol used in this layer. Pritee Parwekar ANITS 27

Communication at application layer A B Application Legend Source Destination D Data H Header Application Transport Network Data link Physical R1 R3 R4 Transport Network Data link Physical D5 D5 Message D5 D5 Message Pritee Parwekar ANITS 28

Note The unit of communication at the application layer is a message / Data. Pritee Parwekar ANITS 29

ADDRESSING Four levels of addresses are used in an internet employing the TCP/IP protocols: physical address, logical address, port address, and applicationspecific address. Each address is related to a one layer in the TCP/IP architecture, as shown in Figure Pritee Parwekar ANITS 30

Addresses in the TCP/IP protocol suite Pritee Parwekar ANITS 31

Example As shown in figure a node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link (a LAN). At the data link layer, this frame contains physical (link) addresses in the header. These are the only addresses needed. The rest of the header contains other information needed at this level. As the figure shows, the computer with physical address 10 is the sender, and the computer with physical address 87 is the receiver. The data link layer at the sender receives data from an upper layer. It encapsulates the data in a frame. The frame is propagated through the LAN. Each station with a physical address other than 87 drops the frame because the destination address in the frame does not match its own physical address. The intended destination computer, however, finds a match between the destination address in the frame and its own physical address. Pritee Parwekar ANITS 32

Example : physical addresses 87 10 Data 1 packet accepted 87 10 Data 4 Pritee Parwekar ANITS 33

Example Next Figure shows a part of an internet with two routers connecting three LANs. Each device (computer or router) has a pair of addresses (logical and physical) for each connection. In this case, each computer is connected to only one link and therefore has only one pair of addresses. Each router, however, is connected to three networks. So each router has three pairs of addresses, one for each connection. The computer with logical address A and physical address 10 needs to send a packet to the computer with logical address P and physical address 95. We use letters to show the logical addresses and numbers for physical addresses, but note that both are actually numbers. Pritee Parwekar ANITS 34

Example logical addresses 20 10 A P Data 20 10 A P Data 33 99 A P Data Physical addresses changed 95 66 A P Data 95 66 A P Data 33 99 A P Data Physical addresses changed Pritee Parwekar ANITS 35

Note The physical addresses will change from hop to hop, but the logical addresses remain the same. Pritee Parwekar ANITS 36

Example Figure shows two computers communicating via the Internet. The sending computer is running three processes at this time with port addresses a, b, and c. The receiving computer is running two processes at this time with port addresses j and k. Process a in the sending computer needs to communicate with process j in the receiving computer. Note that although both computers are using the same application, FTP, for example, the port addresses are different because one is a client program and the other is a server program. Pritee Parwekar ANITS 37

Example port numbers A Sender Receiver P Data Data a j Data a j Data A P a j Data A P a j Data H2 A P a j Data H2 A P a j Data Internet Pritee Parwekar ANITS 38

Note The physical addresses change from hop to hop, but the logical and port addresses usually remain the same. Pritee Parwekar ANITS 39

Pritee Parwekar ANITS 40

OSI Layers summary Host layers Media layers OSI Model Data unit Layer Function Data 7. Application Network process to application 6. Presentation Segments 4. Transport Packet Data representation, encryption and decryption 5. Session Interhost communication 3. Network End-to-end connections and reliability, Flow control Path determination and logical addressing Frame 2. Data Link Physical addressing Bit 1. Physical Media, signal and binary transmission Pritee Parwekar ANITS 41

OSI & TCP/IP OSI Application (Layer7) Presentation (Layer6) Session (Layer 5) Transport (Layer 4) Network (Layer 3) Data Link (Layer 2) Physical (Layer 1) TCP / IP Application Transport Internet Subnet Pritee Parwekar ANITS 42

TCP/IP Layers OSI Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical Layer TCP/IP Application Layer TELNET, FTP, SMTP, POP3, SNMP, NNTP, DNS,NIS, NFS, HTTP,... Transport Layer TCP, UDP,... Internet Layer IP, ICMP, ARP, RARP,... Link Layer FDDI, Ethernet, ISDN, X.25,... Pritee Parwekar ANITS 43

OSI It has 7 layers Transport layer guarantees delivery of packets Horizontal approach Presentation layer Separate session layer Network layer provides both connectionless and connection oriented services It defines the services, interfaces and protocols very clearly and makes a clear distinction between them The protocol are better hidden and can be easily replaced as the technology changes OSI truly is a general model It has a problem of protocol filtering into a model Pritee Parwekar ANITS 44

TCP/IP Has 4 layers Transport layer does not guarantees delivery of packets Vertical approach No session layer, characteristics are provided by transport layer No presentation layer, characteristics are provided by application layer Network layer provides only connection less services It does not clearly distinguishes between service interface and protocols It is not easy to replace the protocols TCP/IP can not be used for any other application The model does not fit any protocol stack. Pritee Parwekar ANITS 45