Open Systems Interconnection OSI Reference Model for Networking

  • Slides: 33
Download presentation
Open Systems Interconnection (OSI) Reference Model for Networking COSC 513 Operating Systems Instructor :

Open Systems Interconnection (OSI) Reference Model for Networking COSC 513 Operating Systems Instructor : Dr. Mort Anvari Presented by 6/19/2021 Cheng Chiang Goh

Objective The aim of this topic is to understand theoretical models for what networks

Objective The aim of this topic is to understand theoretical models for what networks are and how they work. The Open Systems Interconnection (OSI) reference model for networking, which explains how networks behave within an orderly seven-layered model for networked communications.

Introduction The concept of networking is so essential in this fast-moving world nowadays, for

Introduction The concept of networking is so essential in this fast-moving world nowadays, for the purpose of sharing information and resources. Open Systems Interconnection (OSI) reference model proposed by the International Standards Organization (ISO) has been so successful to create an intellectual framework within which to clarify network concepts and activities. Today, OSI reference model has become a key part of networking. The IEEE 802 is an enhancement to the OSI model. With OSI model, networking can be broken into seven layers. Therefore, the complexity of networked communications, from application to hardware is broken into a series of interconnected tasks and activities. It creates a method to solve big problem by deconstructing them into a series of smaller problems, that can then be solved individually.

Topics u u u Open Systems Interconnection (OSI) Model IEEE 802 Model OSI Reference

Topics u u u Open Systems Interconnection (OSI) Model IEEE 802 Model OSI Reference Model Structure Network Communications and Protocols in OSI model è Protocols in Layered Architecture è TCP/IP Protocol Devices at each OSI model

OSI Model u u u u Layer 7 Layer 6 Layer 5 Layer 4

OSI Model u u u u Layer 7 Layer 6 Layer 5 Layer 4 Layer 3 Layer 2 Layer 1 Application Presentation Session Transport Network Data Link Physical Programmers Do Not Throw Sausage Pizza Away

Layer 7 Application u u u Top layer of OSI model provides interfaces for

Layer 7 Application u u u Top layer of OSI model provides interfaces for application to obtain access to networked services Services like file transfer, message handling, database query processing Also handle general network access: movement of data (flow control), error recovery Transfer information from program to program

Layer 6 Presentation u u Handles data format for networked communications ( outgoing and

Layer 6 Presentation u u Handles data format for networked communications ( outgoing and incoming messages) protocol conversion, data encryption and decryption as well as graphics commands compress data for transmission to reduce the volume of data ( then decompression) Redirector (software facility)

Layer 5 Session u u u Permits two parties to hold ongoing communication across

Layer 5 Session u u u Permits two parties to hold ongoing communication across a network handles session setup, data or message exchanges and tear-down when session ends permit only authorized parties to establish session (security)

Layer 4 Transport u u Manages the conveyance of data from sender to receiver

Layer 4 Transport u u Manages the conveyance of data from sender to receiver across a network segment long data into chunks that match the maximum packet size for networking medium acknowledges successful transmission and request retransmission when packets do not arrive it make sure that long data payloads make their destination across the network

Layer 3 u u u Network Handles addressing messages for delivery translates logical network

Layer 3 u u u Network Handles addressing messages for delivery translates logical network addresses and names into their physical counterparts decides how to route transmissions from sender to receiver also handles packet-switching, routing and congestion control Fragmentation and Reassemble ( from dissimilar media - downsizes packets

Layer 2 Data Link u u Sends data frames from Network layer to Physical

Layer 2 Data Link u u Sends data frames from Network layer to Physical Layer [data frame consists of destination ID, sender ID, control, data and CRC(cyclical redundancy checkmathematical function based on bit patterns)] adds error-checking information and formats data for physical transmission

Layer 1 Physical u u u Its jobs is to convert bits into signals

Layer 1 Physical u u u Its jobs is to convert bits into signals for outgoing messages and via versa manage hardware connection cable, transmitter, receiver, repeater operate at this layer.

IEEE 802 extensions to the OSI reference model u Layer 7 Layer 6 Layer

IEEE 802 extensions to the OSI reference model u Layer 7 Layer 6 Layer 5 Layer 4 Layer 3 Layer 2 u Layer 1 u u u Application Presentation Session Transport Network Data Link -----Logical link control -----Media access control Physical IEEE 802 standard breaks the Data Link layer into two sublayer

Logical Link Control (LLC) u u Also known as IEEE 802. 2 for error

Logical Link Control (LLC) u u Also known as IEEE 802. 2 for error control correction and flow control

Media Access Control (MAC) u u u for access control direct access with NIC

Media Access Control (MAC) u u u for access control direct access with NIC and ensure error-free data transmission 802. 3 802. 4 802. 5 802. 12 CSMA/CD Token Bus Token Ring Demand Priority

Network Communications and Protocols in OSI model u u Protocols are rules and procedures

Network Communications and Protocols in OSI model u u Protocols are rules and procedures for communications many protocols used today TCP/IP, Net. BIOS/, IPX/SPX, Apple. Talk, the higher the protocols in the OSI model or layer, the more sophisticated the protocol is protocol stack TCP/IP, the Internet protocol suite, IPX/SPX for Novell Net. Ware

Two methods of delivering data in a network u u Connectionless fast but not

Two methods of delivering data in a network u u Connectionless fast but not reliable (don’t waste time to establish, manage and tearing down connections) u u Connection-Oriented slower but reliable

Network layer of the OSI model is responsible for moving data across multiple network

Network layer of the OSI model is responsible for moving data across multiple network Routable u Network Layer (4) u protocols like TCP/IP, IPX/SPX; suitable for large network Nonroutable u Net. BEUI; for small network

Protocols in a Layered Architecture u Layer 7 Layer 6 Layer 5 Application Presentation

Protocols in a Layered Architecture u Layer 7 Layer 6 Layer 5 Application Presentation Session u Layer 4 Transport u Layer 3 Layer 2 Layer 1 Network Data Link Physical u u Application Protocol Transport Protocol Network Protocol

Network Protocols u Provide addressing and routing information, error checking, retransmission requests and rules

Network Protocols u Provide addressing and routing information, error checking, retransmission requests and rules for communicating in a particular networking environment Protocols likes u IP (Internet Protocol) u IPX (Internetwork Packet e. Xchange and NWLink u Net. BEUI u DDP (Delivery Datagram Protocol) u DLC (Data Link Control)

Transport Protocols u Ensure reliable data delivery between computers Protocols likes u TCP (Transmission

Transport Protocols u Ensure reliable data delivery between computers Protocols likes u TCP (Transmission Control Protocol) u SPX (Sequenced Packet e. Xchange) and NWLink u Net. BEUI/Net. BIOS u ATP (Apple. Talk Transaction Protocol) and NBP (Name Binding Protocol)

Application Protocols u Provide application-to-application services Protocols likes u SMTP (Simple Mail Transport Protocol)

Application Protocols u Provide application-to-application services Protocols likes u SMTP (Simple Mail Transport Protocol) u FTP (File Transfer Protocol) u SNMP (Simple Network Management Protocol) u NCP (Net. Ware Core Protocol) u AFP (Apple. Talk File Protocol)

OSI Model Protocol u Layer 7 Application Stack TCP/IP u Layer 6 Layer 5

OSI Model Protocol u Layer 7 Application Stack TCP/IP u Layer 6 Layer 5 Presentation Session u Layer 4 Transport u Layer 3 Network u u Layer 2 Data Link u Layer 1 Physical Telnet FTP SMTP TCP IP ICMP DNS ARP UDP OSPF ODI or NDIS NIC Driver Physical Connection RIP

TCP/IP Allows for easy cross-platform communications and is the basic for Internet u ICMP

TCP/IP Allows for easy cross-platform communications and is the basic for Internet u ICMP (Internet Control Message Protocol) --- network layer; used to send control messages u ARP (Address Resolution Protocol) --- network layer; used to associate a logical IP address to a physical MAC address u TCP (Transmission Control Protocol) --- transport layer; connection-oriented; transport protocol u UDP (User Datagram Protocol) --- transport layer; connectionless; faster than TCP u DNS (Domain Name System) --- transport layer; name-toaddress resolution protocol (for example www. Microsoft. com to 102. 211. 10. 111)

u u u FTP ( File Transfer Protocol) --- session, presentation and application layer;

u u u FTP ( File Transfer Protocol) --- session, presentation and application layer; provides services for file transfer as well as directory and file-manipulation services Telnet --- remote terminal emulation protocol; used to provide connectivity between dissimilar system SMTP (Simple Mail Transport Protocol) --- used for messaging services and is the basic for e-mail across Internet (RIP) Routing Information Protocol --- a distance-vector protocol used for route discovery OSPF (Open Shortest Path First) --- a link-state routing protocol; used to determine the best path through a network IP (Internet Protocol) --- network layer; responsible for addressing and routing; (32 bits, e. g. 120. 255. 123. 0);

Advantages and Disadvantages of TCP/IP Advantages Disadvantages u Suitable for WAN u Difficult to

Advantages and Disadvantages of TCP/IP Advantages Disadvantages u Suitable for WAN u Difficult to administer u Direct Access to the Internet u global expansions of Internet has limited the availability of unique u Supported by most of the domain numbers computer and operating system u difficult to set up u support routing u high overhead u support SNMP, DHCP u slower than IPX and Net. BEUI (dynamically assign client IP addresses), u support Internet Protocols like POP(Post Office Protocol), HTTP. u Centralized TCP/IP domain assignment to allow internetworking between organizations IP address

Devices that allow expansion of network locally or across the world and layer of

Devices that allow expansion of network locally or across the world and layer of the OSI model they operate. Repeater u u u operate at Physical layer has no concern for the type of data being transmitted, packet address and the protocol being used cannot perform filtering or translation of the data and does not help to ease network congestion cannot connect different network architectures allows easy expansion of the network over larger distance and connection between different media

Bridge u u Operates at the Data Link Layer of the OSI model or

Bridge u u Operates at the Data Link Layer of the OSI model or Media Access Control sublayer of the Data Link layer (has access to this address information) can filter to ease network congestion can connect different media and network architectures slower than repeater

Router u u u u Operate at the Network layer can connect different media

Router u u u u Operate at the Network layer can connect different media and network architectures choose the best path for packet through an internetwork reduce network traffic by not forwarding broadcasts or corrupt packets more expansive and complex than repeater and bridge only work with routable protocol (like TCP/IP, IPX/SPX, Apple. Talk and etc) dynamic routing updates create network traffic slower than bridge because need to perform more calculation on the packet

Brouter u u Combination of bridge and router good at hybrid network using mixture

Brouter u u Combination of bridge and router good at hybrid network using mixture of routable and nonroutable protocols routable packet -- function as router (choosing the best path to forward packet) nonroutable packet --- function as bridge (forwarding packet based on hardware address

Gateway u u u work at the Application layer of OSI model can translate

Gateway u u u work at the Application layer of OSI model can translate information between two different network architectures or data formats ( for example, allows network communication between a TCP/IP LAN and IBM mainframe system using SNA and also can convert Microsoft Mail to SMTP for transmission over Internet hard to install and configure; slower and more expensive

Summary OSI reference model plays a vital role in networking. OSI model. Networking can

Summary OSI reference model plays a vital role in networking. OSI model. Networking can be broken into seven layers with OSI model. Therefore, the complexity of networked communications, from application to hardware is broken into a series of interconnected tasks and activities. It creates a method to solve big problem by deconstructing them into a series of smaller problems, that can then be solved individually.

References & Related Websites u u u u Matthew Strebe, Charles Perkins and James

References & Related Websites u u u u Matthew Strebe, Charles Perkins and James Chellis. “MCSE: NT Server 4 Study Guide” Second Edition. SYBEX Inc 1998. Joe Casad. “MCSE: Windows NT Server & Workstation 4”. New Riders Publishing 1996. TCP/IP Networking : Architecture, Administration and Programming, James Martin, Joe Leben / Prentice Hall / August 1994 MCSE: Networking Essentials (2 nd Edition), James Chellis. Sybex / June 1998 http: //www. cit. ac. nz/smac/winnt/pt 1_9. htm#Start http: //www. vcs-s. com/network_topology. htm http: //dir. yahoo. com/Computers_and_Internet/Communicat ions_and_Networking/ http: //www. mcpmag. com/