Open System Interconnection Model (OSI) & Connecting Devices (Networks & Internetworks)

Similar documents
Data Communication and Computer Network

The OSI Model and the TCP/IP Protocol Suite

Computer Networks Vs. Distributed Systems

The OSI and TCP/IP Models. Lesson 2

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

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

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

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

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

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

Protocol Data Units and Encapsulation

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

Protocols and Architecture. Protocol Architecture.

Objectives of Lecture. Network Architecture. Protocols. Contents

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

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

UPPER LAYER SWITCHING

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

The OSI Model: Understanding the Seven Layers of Computer Networks

Written examination in Computer Networks

Zarządzanie sieciami telekomunikacyjnymi

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

Computer Networks CS321

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

Chapter 2 - The TCP/IP and OSI Networking Models

524 Computer Networks

DATA COMMUNICATION AND NETWORKS

LAN Switching and VLANs

IT Data Communication and Networks (Optional)

IT4405 Computer Networks (Compulsory)

Communication Systems Internetworking (Bridges & Co)

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

Transport Layer Protocols

Chapter 5. Data Communication And Internet Technology

Mathatma Gandhi University

Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

Data Communication Networks and Converged Networks

How To Understand The Layered Architecture Of A Network

Overview of Routing between Virtual LANs

Networking Test 4 Study Guide

FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. Chapter 2 An Introduction to Networking

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

Transport and Network Layer

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

CSE 3461 / 5461: Computer Networking & Internet Technologies

COMPUTER NETWORK TECHNOLOGY (300)

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

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

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

OSI Reference Model: An Overview

Ethernet. Ethernet. Network Devices

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

Module 1. Introduction. Version 2 CSE IIT, Kharagpur

CompTIA Network+ (Exam N10-005)

Overview of Computer Networks

SSVP SIP School VoIP Professional Certification

CSCI 362 Computer and Network Security

Introduction to Ethernet

Local-Area Network -LAN

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

COMPUTER NETWORKS - LAN Interconnection

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

Communications and Computer Networks

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

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

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

Internet Concepts. What is a Network?

ICS 153 Introduction to Computer Networks. Inst: Chris Davison

Lecture 6 Types of Computer Networks and their Topologies Three important groups of computer networks: LAN, MAN, WAN

CPS221 Lecture: Layered Network Architecture

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

Module 15: Network Structures

Network Layer: Network Layer and IP Protocol

RARP: Reverse Address Resolution Protocol

Data Communication Networks Introduction

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)

CCT vs. CCENT Skill Set Comparison

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

Technical Support Information Belkin internal use only

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

What You Will Learn About. Computers Are Your Future. Chapter 8. Networks: Communicating and Sharing Resources. Network Fundamentals

Higher Computing Networking 1

Layered Architectures and Applications

Chapter 14: Distributed Operating Systems

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

Basic Network Configuration

CORPORATE NETWORKING

Network System Design Lesson Objectives

Computer Networking: A Survey

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT COMPUTER NETWORKS

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

- Hubs vs. Switches vs. Routers -

Networking Devices. Lesson 6

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

Agenda. Distributed System Structures. Why Distributed Systems? Motivation

Network: several computers who can communicate. bus. Main example: Ethernet (1980 today: coaxial cable, twisted pair, 10Mb 1000Gb).

Network Models OSI vs. TCP/IP

Computer Networks. By Hardeep Singh

Data Communication Networks

Transcription:

Open System Interconnection Model (OSI) & Connecting Devices (Networks & Internetworks) DDE, University of Kashmir By Suhail Qadir System Analyst suhailmir@uok.edu.in Part 1. Open System Interconnection Model (OSI) 1

Layering, Protocols and Interfaces Why Layering, Interfaces? Reducing Complexity Ensuring interoperable Tech Facilitate Modular Engineering ASetofLayersandprotocolsiscalledas Network Architecture Some Design Issuesfor the Layers Some of the key design issues that occur in computer networks are present in several layers: Addressing. 1. Physical Addressing (MAC Address) 2. Logical addressing (IP Address) Error Control. Fragmentation and Re-Assembly. Sequencing Flow Control. Multiplexing and Demultiplexing. Routing. 2

THE OSI MODEL The OSI Reference model provides means of describing how data is transmitted over a network. The Model Addresses Hardware, Software and Data Transmission Established in 1947, the International Standards Organization (ISO) is a multinational body dedicated to worldwide agreement on international standards. An ISO standard that covers all aspects of network communications is the Open Systems Interconnection (OSI) model. The Model is called ISO OSI (Open System Interconnections), because it deals with connecting open systems, i.e systems that are open for communication with other systems. THE OSI MODEL Seven layers of the OSI model 3

Data Exchange using the OSI model Encapsulation De-capsulation 4

The Physical Layer Deals with transmission of raw bits over a communication channel Issues related to electrical /optical characteristics of medium are addressed(i.e activating and deactivating physical links, voltage levels, timing of voltage changes) Synchronization of Bits Data Rate Physical cables, physical connectors and other similar activities. Physical Topology Transmission Mode(simplex,half duplex, full duplex) Hubs and Repeaters. Physical layer 5

Data Link Layer Frame Data Link Layer The data link layer is responsible for moving framesfromonehop(node)tothenext. Organizes data bits into frames whose integrity can be checked(error detection) Transmits frames sequentially using necessary synchronization, error-control and flow-control. Physical Addressing Link Layer Protocols Include: LAN : Ethernet, 802.3, 802.11, Token ring() WAN :HDLC, PPP,PacketoverSONET(POS), Bridges, Swithes. 6

Hop-to-hop delivery 7

Data Link Layer Address Network layer 8

Network Layer Uses services of data-link layer to transport individual packets from source end-point to destination end-point. Provides a simplified mechanism to the upper layers for routing packets within a WAN-subnet Packet-level (logical) addressing, routing and congestion control are built into this layer. Heterogeneous networks(different pkt sizes, addressing schemes, formats) are interconnected at this level. Source-to-destination delivery 9

Network layer Transport Layer The first end-to-end layer which establishes communication between source and destination processes( running on remote hosts). Service Point Addressing (Port Addressing). Segmentation and Reassembly. Connection Control. Connection Oriented(Reliable) Connectionless(UN-reliable) Flow Control (end to end). Error Control (end to end). 10

Connection Oriented: TCP provides reliable, connection-oriented service on top of IP. Acknowledgement of IP packets Applications that use TCP: HTTP, FTP, telnet,smtp, POP3 and some Video/Audio Streaming Connectionless: UDP- An unreliable, connection-less protocol on top op IP. No acks and re-transmits, Packet Drop Applications that use UDP, not TCP: Streaming media, e.g. RealAudio and RealVideo. VoIP, Online multiplayer games like Counter Strike Transport layer Data Segments 11

Session Layer Provides framework which enables remotely co-operating applications to establish, manage and terminate sessions between them Sessions offers various Services; Dialog Control(keeping track of whose turn it is to transmit) Token Management(Preventing two parties from attempting the same critical operation at the same time). Synchronization(Check pointing the long transmission) Presentation Layer Unlike lower layers, which are mostly concerned with moving bits around, the Presentation Layer is concerned with the syntax and semantics of the information transmitted. Provides independence to the application processes from differences in data representation(syntax). Translation: Enables development of network applications which are independent of differences in data representation (32-bit vs 64-bit, ASCII vs EBCDIC, Little-endian vs Big-endian) used by the communicating hosts. Encryption and Decryption. Compression. 12

Application Layer Interfaces with the Application Programs and Provides network access to the applications Includes protocols Used by the Application Programs, which enable exchange of files/data between hosts Examples: FTP, Telnet(virtual terminal), RLOGIN, HTTP( retrieves HTML pages from a web server), SMTP, POP. Summary of layers 13

Summary of layers TCP/IP and OSI model 14

Part 2 Connecting Devices (Networks & Internetworks) Five connecting devices Repeaters Hubs Bridges Switches Routers 15

1. REPEATER 1. A physical layer device the acts on bits not on frames or packets 2. Can have two or more interfaces 3. When a bit (0,1) arrives, the repeater receives it and regenerates it, the transmits it onto all other interfaces 4. Used in LAN to connect cable segments and extend the maximum cable length i.e. extending the geographical LAN range 5. Ethernet 10base5 Max. segment length 500m 4 repeaters (5 segments) are used to extend the cable to 2500m) WIRED REPEATER 16

WIRELESS REPEATER 17

2. HUB MULTI-PORT REPEATER??? Speeds : 10 Mbps and 100 Mbps. 2. HUB continued.. Acts on the physical layer Operate on bits rather than frames Also called multiport repeater Used to connect stations adapters in a physical star topology but logically bus Connection to the hub consists of two pairs of twisted pair wire one for transmission and the other for receiving. Hub receives a bit from an adapter and sends it to all the other adapters without implementing any access method. does not do filtering (forward a frame into a specific destination or drop it) just it copy the received frame onto all other links The entire hub forms a single collision domain, and a single Broadcast domain Collision domain: is that part of the network (set of NICs) when two or more nodes transmit at the same time collision will happen. Broadcast domain: is that part of the network (set of NIC) where each NIC can 'see' other NICs' traffic broadcast messages. Multiple Hubs can be used to extend the network length 18

How a Net gear HUB looks like A usbhub, not to be confused with a network hub USB 3.0 HUB 19

Converting a usbhub into a network hub USB 3.0 HUB Ethernet adapter WiFi HUB 20

3. BRIDGE Divide a Large Network into much smaller manageable ones. Isolates collision domains resulting in higher total max throughput. Can connect different type of LAN technologies. Limit the Broadcast by creating different Broadcast Domains 21

A bridge dividing a laninto 2 segimentsi.e. 2 broad cast domains A bridge connecting different lan technologies 22

Working of the Bridge (Learning Bridge) forwarding table (MAC table) Working of the Bridge (Learning Bridge) 23

Working of the Bridge (Learning Bridge) Working of the Bridge (Learning Bridge) 24

Transparent bridge A transparent bridge does not need programming but observes all traffic and builds routing tables from this observation. This observation is called backward learning. There are two types of Transparent Bridge Modes: Store-and-Forward: Stores the entire frame and verifies the CRC before forwarding the frame. If a CRC error is detected, the frame is discarded. Cut-Through: Forwards the frame just after it reads the destination MAC address without performing a CRC check. A transparent bridge is found with CSMA/CD LANs Source-route Bridges A source-routing bridge is found with token ring networks. Source-routing bridges do not learn from watching tables. When a workstation wants to send a frame, it must know the exact path of network / bridge If a workstation does not know the exact path, it sends out a discovery frame. The discovery frame makes its way to the final destination, then as it returns, it records the path. 25

Bridging Loop No Bridging Loop With Spanning tree Algorithm 26

4. SWITCH A switch is a combination of a hub and a bridge. Allows more than one device connected to the switch directly to transmit simultaneously It can interconnect two or more workstations, but like a bridge, it observes traffic flow and learns. When a frame arrives at a switch, the switch examines the destination address and forwards the frame out the one necessary connection. Two types : Store-and-forward: switch receives the whole a frame on the input line, buffers it briefly, performs error checking, then routes it to the appropriate output line (similar to bridge). Buffering will cause some delay. Cut-through: based on the fact that the destination address appears at the beginning of the MAC frame, so once the address is recognized the frame is directly sent to the appropriate output line if the output buffer is empty (no need to buffer it). no buffering delay NO ERROR CHECKING Isolated collision domains Full-Duplex operation 27

28

1 2 3 4 5 6 7 8 9 10 VLAN1: Ports 1,2,5,7 VLAN2: Ports 3,4,6 VLAN3: Ports 8,9,10 Separate broadcast domain separate network Using the Virtual LAN technology will allow groupingcomputers logically instead of physically. VLAN divides the physical LAN into several Logical LANs called VLANs Switch maintains a look up table to know to which LAN a machine belongs to. 5. ROUTER Operates at network layer = deals with packetsnot frames Connect LANs and WANs with similar or different protocols together Switches and bridges isolate collision domainsbut forward broadcast messages to all LANsconnected to them. Routers isolate both collision domains and broadcast domains Acts like normal stations on a network, but have more than one network address (an address to each connected network) Deals with global address ( network layer address (IP)) not local address (MAC address) Routers Communicate with each other and exchange routing information Determine best route using routing algorithm by special software installed on them Forward traffic if information on destinationis available otherwise discard it (not like a switch or bridge) 29

30

Web Server Mail Server 31

Web Server Mail Server Switch Switch Switch 32