1 Netprog: OSI Reference Model Networking. 2 Network “... communication system for connecting end-systems” End-systems a.k.a. “hosts” PCs, workstations.

Slides:



Advertisements
Similar presentations
Why to learn OSI reference Model? The answer is too simple that It tells us that how communication takes place between computers on internet but how??
Advertisements

OSI Model OSI MODEL.
OSI Model OSI LAYER / MODEL.
Open System Interconnection
Prabhaker Mateti (ack: Many many sources …)
Lecture 2 Protocol Layers CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger.
CS 582 / CMPE 481 Distributed Systems Communications.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Review on Networking Technologies Linda Wu (CMPT )
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Lecture 1 Internet CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger and Daniel Zappala.
Chapter 2 Network Models.
TCP/IP Reference Model Host To Network Layer Transport Layer Application Layer Internet Layer.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
OIS Model TCP/IP Model.
Lecturer: Tamanna Haque Nipa
Introducing Network Standards Open Systems Interconnection (OSI) Model IEEE 802.x Standard Device Drivers and OSI 1.
2-2008UP-Copyrights reserved1 ITGD4103 Data Communications and Networks OSI Reference Model Lecture-5: OSI Reference Model week 5- q-2/ 2008 Dr. Anwar.
Lecture 1 Internet CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger and Daniel Zappala Lecture 1 Introduction.
Lecture 1 The OSI Model 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.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
THE OSI REFERENCE MODEL Open Systems Interconnection (OSI) International Organization for Standardization( ISO)
Mukesh N. Tekwani Elphinstone College Mumbai
Layer Architecture Layer architecture simplifies the network design. It is easy to debug network applications in a layered architecture network. The network.
The OSI Model An ISO (International standard Organization) that covers all aspects of network communications is the Open System Interconnection (OSI) model.
Network Protocol Hierarchies
The OSI Model.
Lecture 1 Internet CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger and Daniel Zappala Lecture 2 Introduction.
Lecture 3 Overview. Protocol An agreed upon convention for communication both endpoints need to understand the protocol. Protocols must be formally defined.
Spring 2006Computer Networks1 Chapter 2 Network Models.
INTRODUCTION TO NETWORKS & OSI MODEL T.RAMYAAPI/EIEKLNCE.
William Stallings Data and Computer Communications
Communication Networks - Overview CSE 3213 – Fall November 2015.
BZUPAGES.COM Presentation on TCP/IP Presented to: Sir Taimoor Presented by: Jamila BB Roll no Nudrat Rehman Roll no
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
Review of Network Technologies. Basic of Network concepts Computer Network – A Communication system for connecting computers/hosts Why? – Better connectivity.
Open System Interconnection Describe how information from a software application in one computer moves through a network medium to a software application.
1 Networking. 2 Network “... communication system for connecting end-systems” End-systems a.k.a. “hosts” PCs, workstations dedicated computers network.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني.
Protocol Suits and Layering Models OSI Model Dr. Abraham UTPA.
Protocol Layering Chapter 11.
OSI Model. Open Systems Interconnection (OSI) is a set of internationally recognized, non proprietary standards for networking and for operating system.
Data Communication Network Models
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
Dr. ClincyLecture1 Chapter 2 (handout 1– only sections 2.1, 2.2 and 2.3) 1 of 10 Dr. Clincy Professor of CS Exam #3 Monday (3/14/16): Opened Book, No Computer,
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Mr. Sathish Kumar. M Department of Electronics and Communication Engineering I’ve learned that people will forget what you said, people will forget what.
Computer Network Lab. 1 3 장 OSI 기본 참조 모델 n OSI : Open System Interconnection n Basic Reference Model : ISO-7498 n Purpose of OSI Model ~ is to open communication.
The OSI Model. History of OSI Model ISO began developing the OSI model in It is widely accepted as a model for understanding network communication.
Computer Engineering and Networks, College of Engineering, Majmaah University Protocols OSI reference MODEL TCp /ip model Mohammed Saleem Bhat
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
The OSI Model Prof. Choong Seon HONG.
OSI NETWORK MODEL.
Lecturer, Department of Computer Application
DEPARTMENT OF COMPUTER SCIENCE
Lecture 2 Overview.
CPE 401 / 601 Computer Network Systems
Chapter 3: Open Systems Interconnection (OSI) Model
Networking.
OSI Model OSI MODEL.
Network Architecture Models
Networking.
OSI Reference Model Unit II
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Unit – III Network Essentials
Presentation transcript:

1 Netprog: OSI Reference Model Networking

2 Network “... communication system for connecting end-systems” End-systems a.k.a. “hosts” PCs, workstations dedicated computers network components

3 Netprog: OSI Reference Model Multiaccess vs. Point-to-point Multiaccess means shared medium. Multiaccess means shared medium. –many end-systems share the same physical communication resources (wire, frequency,...) –There must be some arbitration mechanism. Point-to-point Point-to-point –only 2 systems involved –no doubt about where data came from !

4 Netprog: OSI Reference Model MultiaccessPoint-to-point

5 LAN - Local Area Network connects computers that are physically close together ( < 1 mile). connects computers that are physically close together ( < 1 mile). –high speed –multi-access Technologies: Technologies: –Ethernet10 Mbps, 100Mbps –Token Ring16 Mbps –FDDI 100 Mbps

6 Netprog: OSI Reference Model WAN - Wide Area Network connects computers that are physically far apart. “long-haul network”. connects computers that are physically far apart. “long-haul network”. –typically slower than a LAN. –typically less reliable than a LAN. –point-to-point Technologies: Technologies: –telephone lines –Satellite communications

7 Netprog: OSI Reference Model MAN - Metropolitan Area Network Larger than a LAN and smaller than a WAN Larger than a LAN and smaller than a WAN - example: campus-wide network - multi-access network Technologies: Technologies: –coaxial cable –microwave

8 Netprog: OSI Reference Model Internetwork Connection of 2 or more distinct (possibly dissimilar) networks. Connection of 2 or more distinct (possibly dissimilar) networks. Requires some kind of network device to facilitate the connection. Requires some kind of network device to facilitate the connection. Net ANet B

9 Netprog: OSI Reference Model OSI Reference Model Layered model: Layered model: 7. Application 6. Presentation 5. Session 4. Transport 3. Network 2. Data Link 1. Physical

10 Netprog: OSI Reference Model The Physical Layer Responsibility: Responsibility: –transmission of raw bits over a communication channel. Issues: Issues: –mechanical and electrical interfaces –time per bit –distances

11 Netprog: OSI Reference Model The Data Link Layer - Data Link Control Responsibility: Responsibility: –provide an error-free communication link Issues: Issues: –framing (dividing data into chunks) »header & trailer bits –addressing

12 Netprog: OSI Reference Model The Data Link Layer - The MAC sublayer Medium Access Control - needed by mutiaccess networks. Medium Access Control - needed by mutiaccess networks. MAC provides DLC with “virtual wires” on multiaccess networks. MAC provides DLC with “virtual wires” on multiaccess networks.

13 Netprog: OSI Reference Model The Network Layer Responsibilities: Responsibilities: –path selection between end-systems (routing). –subnet flow control. –fragmentation & reassembly –translation between different network types. Issues: Issues: –packet headers –virtual circuits

14 Netprog: OSI Reference Model The Transport Layer Responsibilities: Responsibilities: –provides virtual end-to-end links between peer processes. –end-to-end flow control Issues: Issues: –headers –error detection –reliable communication

15 Netprog: OSI Reference Model The Session Layer Responsibilities: Responsibilities: –establishes, manages, and terminates sessions between applications. –service location lookup Many protocol suites do not include a session layer. Many protocol suites do not include a session layer.

16 Netprog: OSI Reference Model The Presentation Layer Responsibilities: Responsibilities: –data encryption –data compression –data conversion Many protocol suites do not include a Presentation Layer. Many protocol suites do not include a Presentation Layer.

17 Netprog: OSI Reference Model The Application Layer Responsibilities: Responsibilities: –anything not provided by any of the other layers Issues: Issues: –application level protocols –appropriate selection of “type of service”

18 Netprog: OSI Reference Model Layering & Headers Each layer needs to add some control information to the data in order to do it’s job. 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. 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. Once the lower layers deliver the the data and control information - the peer layer uses the control information.

19 Netprog: OSI Reference Model Headers Process Transport Networ k Data Link Process Transport Network Data Link DATA H H H H HH

20 Netprog: OSI Reference Model What are the headers? Physical: no header - just a bunch of bits. Data Link: –address of the receiving endpoints –address of the sending endpoint –length of the data –checksum.

21 Netprog: OSI Reference Model Network layer header - examples protocol suite version protocol suite version type of service type of service length of the data length of the data packet identifier packet identifier fragment number fragment number time to live time to live protocol protocol header checksum header checksum source network address source network address destination network address destination network address

22 Netprog: OSI Reference Model Important Summary Data-Link: communication between machines on the same network. Data-Link: communication between machines on the same network. Network: communication between machines on possibly different networks. Network: communication between machines on possibly different networks. Transport: communication between processes (running on machines on possibly different networks). Transport: communication between processes (running on machines on possibly different networks).

23 Netprog: OSI Reference Model Connecting Networks Repeater: physical layer Repeater: physical layer Bridge: data link layer Bridge: data link layer Router: network layer Router: network layer Gateway: network layer and above. Gateway: network layer and above.

24 Netprog: OSI Reference Model Repeater Copies bits from one network to another Copies bits from one network to another Does not look at any bits Does not look at any bits Allows the extension of a network beyond physical length limitations Allows the extension of a network beyond physical length limitations REPEATER

25 Netprog: OSI Reference Model Bridge Copies frames from one network to another Copies frames from one network to another Can operate selectively - does not copy all frames (must look at data-link headers). Can operate selectively - does not copy all frames (must look at data-link headers). Extends the network beyond physical length limitations. Extends the network beyond physical length limitations. BRIDGE

26 Netprog: OSI Reference Model Router Copies packets from one network to another. Copies packets from one network to another. Makes decisions about what route a packet should take (looks at network headers). Makes decisions about what route a packet should take (looks at network headers). ROUTER

27 Netprog: OSI Reference Model Gateway Operates as a router Operates as a router Data conversions above the network layer. Data conversions above the network layer. Conversions: Conversions: encapsulation - use an intermediate network translation - connect different application protocols encrpyption - could be done by a gateway

28 Netprog: OSI Reference Model Encapsulation Example Gateway Provides service connectivity even though intermediate network does not support protocols. Provides service connectivity even though intermediate network does not support protocols.

29 Netprog: OSI Reference Model Translation Translate from green protocol to brown protocol Translate from green protocol to brown protocol Gateway

30 Netprog: OSI Reference Model Encryption gateway Encryption/Decryption Gateways Secure Network Secure Network GW ? ? ? Insecure Network

31 Netprog: OSI Reference Model Hardware vs. Software Repeaters are typically hardware devices. Repeaters are typically hardware devices. Bridges can be implemented in hardware or software. Bridges can be implemented in hardware or software. Routers & Gateways are typically implemented in software so that they can be extended to handle new protocols. Routers & Gateways are typically implemented in software so that they can be extended to handle new protocols. Many workstations can operate as routers or gateways. Many workstations can operate as routers or gateways.

32 Netprog: OSI Reference Model Byte Ordering Different computer architectures use different byte ordering to represent multibyte values. Different computer architectures use different byte ordering to represent multibyte values. 16 bit integer: 16 bit integer: Low Byte High Byte Low Byte Address A Address A+1

33 Netprog: OSI Reference Model Byte Ordering Low ByteHigh Byte Addr AAddr A+1 High ByteLow Byte Addr AAddr A+1 Big-Endian IBM 370 Motorola SunLittle-Endian IBM 80x86 DEC VAX DEC PDP-11

34 Netprog: OSI Reference Model Byte Order and Networking Suppose a Big Endian machine sends a 16 bit integer with the value 2: Suppose a Big Endian machine sends a 16 bit integer with the value 2: A Little Endian machine will think it got the number 512: A Little Endian machine will think it got the number 512:

35 Netprog: OSI Reference Model Network Byte Order Conversion of application-level data is left up to the presentation layer. Conversion of application-level data is left up to the presentation layer. But hold on !!! How do lower level layers communicate if they all represent values differently ? (data length fields in headers) But hold on !!! How do lower level layers communicate if they all represent values differently ? (data length fields in headers) A fixed byte order is used (called network byte order) for all control data. A fixed byte order is used (called network byte order) for all control data.

36 Netprog: OSI Reference Model Multiplexing “.. to combine many into one”. “.. to combine many into one”. Many processes sharing a single network interface. Many processes sharing a single network interface. A single process could use multiple protocols. A single process could use multiple protocols. More on this when we look at TCP/IP. More on this when we look at TCP/IP.

37 Netprog: OSI Reference Model Modes of Service connection-oriented vs. connectionless connection-oriented vs. connectionless sequencing sequencing error-control error-control flow-control flow-control byte stream vs. message based byte stream vs. message based full-duplex vs. half-duplex. full-duplex vs. half-duplex.

38 Netprog: OSI Reference Model Connection-Oriented vs. Connectionless Service A connection-oriented service includes the establishment of a logical connection between 2 processes. A connection-oriented service includes the establishment of a logical connection between 2 processes. –establish logical connection –transfer data –terminate connection. Connectionless services involve sending of independent messages. Connectionless services involve sending of independent messages.

39 Netprog: OSI Reference Model Sequencing Sequencing provides support for an order to communications. Sequencing provides support for an order to communications. A service that includes sequencing requires that messages (or bytes) are received in the same order they are sent. A service that includes sequencing requires that messages (or bytes) are received in the same order they are sent.

40 Netprog: OSI Reference Model Error Control Some services require error detection (it is important to know when a transmission error has occured). Some services require error detection (it is important to know when a transmission error has occured). Checksums provide a simple error detection mechanism. Checksums provide a simple error detection mechanism. Error control sometimes involves notification and retransmission. Error control sometimes involves notification and retransmission.

41 Netprog: OSI Reference Model Flow Control Flow control prevents the sending process from overwhelming the receiving process. Flow control prevents the sending process from overwhelming the receiving process. Flow control can be handled a variety of ways - this is one of the major research issues in the development of the next generation of networks (ATM). Flow control can be handled a variety of ways - this is one of the major research issues in the development of the next generation of networks (ATM).

42 Netprog: OSI Reference Model Byte Stream vs. Message Byte stream implies an ordered sequence of bytes with no message boundaries. Byte stream implies an ordered sequence of bytes with no message boundaries. Message oriented services provide communication service to chunks of data called datagrams. Message oriented services provide communication service to chunks of data called datagrams.

43 Netprog: OSI Reference Model Full- vs. Half-Duplex Full-Duplex services support the transfer of data in both directions. Full-Duplex services support the transfer of data in both directions. Half-Duplex services support the transfer of data in a single direction. Half-Duplex services support the transfer of data in a single direction.

44 Netprog: OSI Reference Model End-to-End vs. Hop-toHop Many service modes/features such as flow control and error control can be done either: Many service modes/features such as flow control and error control can be done either: between endpoints of the communication. -or- between every 2 nodes on the path between the endpoints.

45 Netprog: OSI Reference Model End-to-End Process A Process B

46 Netprog: OSI Reference Model Hop-by-Hop Process A Process B

47 Netprog: OSI Reference Model Buffering Buffering can provide more efficient communications. Buffering can provide more efficient communications. Buffering is most useful for byte stream services. Buffering is most useful for byte stream services. Process AProcess B Send Buffer Recv. Buffer

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

49 Netprog: OSI Reference Model Addresses at Layers Physical Layer: no address necessary Physical Layer: no address necessary Data Link Layer - address must be able to select any host on the network. Data Link Layer - address must be able to select any host on the network. Network Layer - address must be able to provide information to enable routing. Network Layer - address must be able to provide information to enable routing. Transport Layer - address must identify the destination process. Transport Layer - address must identify the destination process.

50 Netprog: OSI Reference Model Broadcasts Many networks support the notion of sending a message from one host to all other hosts on the network. 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. A special address called the “broadcast address” is often used. Some popular network services are based on broadcasting (YP/NIS, rup, rusers) Some popular network services are based on broadcasting (YP/NIS, rup, rusers)