Networking Standards and the OSI Model Network Communication

  • Slides: 30
Download presentation
Networking Standards and the OSI Model

Networking Standards and the OSI Model

Network Communication Recognize data n Divide data into manageable chunks n Add information to

Network Communication Recognize data n Divide data into manageable chunks n Add information to each chunk to: n u Determine where the data is coming from u Identify where the data is going to Add timing and error checking information n Put the data on the network and send it on its way n

Standard Protocols Needed Network operating systems follow strict rules (protocols) to control how each

Standard Protocols Needed Network operating systems follow strict rules (protocols) to control how each of the previous tasks are accomplished. n Need for standard protocols so that software/hardware from different vendors could communicate n

Standards Organizations n ANSI—American National Standards Institute u Determine standards for electronics industry u

Standards Organizations n ANSI—American National Standards Institute u Determine standards for electronics industry u Represent US in setting international standards n EIA—Electronics Industry Alliance u Trade US n organization representing electronic firms across IEEE—Institute of Electrical and Electronic Engineers u International society of engineering professionals u Promote development and education in engineering and computer science fields

Standards Organizations n ISO—International Organization for Standardization u Collection of organizations from 130 countries

Standards Organizations n ISO—International Organization for Standardization u Collection of organizations from 130 countries u Establish international technological standards to facilitate global exchange of data n ITU—International Telecommunication Union u United Nations agency that regulates international telecommunications including radio and TV frequencies, satellite and telephone specifications, and networking infrastructure

OSI and 802 Models n n Two primary sets of standards Define rules for:

OSI and 802 Models n n Two primary sets of standards Define rules for: u How network devices communicate u Methods used to determine when to send data u Methods to ensure that data is received correctly u How the network is cabled u How the network maintains the flow of data u How bits of data are represented

Open System Interconnection (OSI) 1977 -78 International Organization for Standardization (ISO) began developing specifications

Open System Interconnection (OSI) 1977 -78 International Organization for Standardization (ISO) began developing specifications for network communications n 1984 OSI model was released n International standard n Best known and most widely used guide to understanding network communications n

802 Model n n Model published by the Institute for Electrical and Electronic Engineers,

802 Model n n Model published by the Institute for Electrical and Electronic Engineers, Inc. (IEEE) Project began in February 1980 (802) Predates OSI standard but developed in cooperation with OSI Defines aspects of networking related to physical cabling, connectivity, error checking, data transmission, encryption, and emerging technologies

The seven-layer OSI model n To help you remember the order of the layers

The seven-layer OSI model n To help you remember the order of the layers u All people seem to need data processing u Please do not throw sausage pizza away

Relationship of OSI Layers n Each layer of the OSI model must communicate with

Relationship of OSI Layers n Each layer of the OSI model must communicate with the layer above and below it u For example, the Presentation layer must communicate with the Application layer (one above) and the Session layer (one below) n As data passes down through the OSI layers, each layer (except Physical) adds some information to the data

Relationship of OSI Layers When data reaches the receiving computer, the information added by

Relationship of OSI Layers When data reaches the receiving computer, the information added by each layer of the OSI model is read and processed by the corresponding layer on the receiving computer n This is referred to as peer-layer communications n

Relationships among OSI layers Computer A Computer B Application Presentation Session Virtual Communication Session

Relationships among OSI layers Computer A Computer B Application Presentation Session Virtual Communication Session Transport Network Data Link Physical

Packet Creation Process Data

Packet Creation Process Data

Physical Layer n n n Responsible for transmitting bits from one computer to another

Physical Layer n n n Responsible for transmitting bits from one computer to another Physical topology Network connection types u Number of pins on the network connector u Passive and active hubs, terminators, cables, repeaters, transceivers, etc. n Defines the electrical details u Bit encoding—what represents 0 and 1 u How data will be synchronized u Baseband/broadband transmission

Data Link Layer n n n Accepts packets of data from Network layer and

Data Link Layer n n n Accepts packets of data from Network layer and packages the data into data units called frames Adds information such as frame type and physical address Responsible for providing error-free transfer of data frames u Frame Check Sequence—error checking algorithm is added at the end of each frame so that receiving computer can detect damaged frames and request that frames be resent n Cyclic Redundancy Check (CRC)—most commonly used algorithm

Data Link Layer n Intelligent hubs, bridges, and switches are addressed by the Data

Data Link Layer n Intelligent hubs, bridges, and switches are addressed by the Data Link Layer n Defines how media will be accessed Divided by 802 model into two sub-layers: n u Logical Link Control (LLC) u Media Access Control (MAC)

Project 802 Logical Link Control and Media Access Control sub-layers

Project 802 Logical Link Control and Media Access Control sub-layers

Data Link Layer n Logical Link Control u Uses error check algorithm (FCS) to

Data Link Layer n Logical Link Control u Uses error check algorithm (FCS) to verify that data is received correctly u Ensures that the rate of transmission is appropriate for the receiving computer u Provides the link between the Data Link layer and the Network layer

Data Link Layer n Media Access Control u Controls the way multiple devices share

Data Link Layer n Media Access Control u Controls the way multiple devices share the same media channel n Defines the method the NAC will use to determine when to send data u Communicates directly with the network adapter card u MAC (physical) address for network adapter cards provide unique identifier for each NAC

Network Layer n n n Responsible for addressing messages across networks Translates network logical

Network Layer n n n Responsible for addressing messages across networks Translates network logical addresses into physical machine addresses Breaks large segments into smaller packets Determines routing across networks Supports communications between logically separate networks u Routers and gateways (devices that pass data from one network to another) operate in the Network layer

Transport Layer n n n Ensures data is delivered error-free in sequence and without

Transport Layer n n n Ensures data is delivered error-free in sequence and without duplication or loss Breaks large packets from the Session layer into segments to be sent to the receiving computer Adds sequencing information to segments Reassembles the segments into messages Sends acknowledgement to sending computer

Session Layer n n Responsible for establishing and maintaining communications between two nodes on

Session Layer n n Responsible for establishing and maintaining communications between two nodes on the network Allows applications on separate computers to share a connection (called a session) Provides data synchronization and checkpointing so that if there is a network failure only the data sent after the checkpoint must be resent Provides name recognition and security needed to allow two applications to communicate

Presentation Layer n Translates data between the format the network requires and the format

Presentation Layer n Translates data between the format the network requires and the format the application expects n Responsible for encrypting data, changing or converting the character set and interpreting graphic commands n Manages data compression to reduce number of bits to be transmitted

Application Layer n Provides services to support user applications, such as file transfer, database

Application Layer n Provides services to support user applications, such as file transfer, database access, and e-mail u Not a particular application—but services that are provided to applications

OSI Process

OSI Process

Network Packets (Frames) Small chunks of data and other information n Packet Structure n

Network Packets (Frames) Small chunks of data and other information n Packet Structure n u Header n Source address n Destination address n Instructions that tell the computer how to pass the data along (routing) n Reassemble information u Data u Trailer containing error-check information

A simple data packet Destination ID Control Sender ID Header CRC Data Trailer

A simple data packet Destination ID Control Sender ID Header CRC Data Trailer

Two Major Frame Types n Ethernet u Networking technology developed in 1970 u Most

Two Major Frame Types n Ethernet u Networking technology developed in 1970 u Most commonly used today u Used in bus and star topologies n Token Ring u Developed by IBM in 1980 s u Used in ring topology

Addressing n MAC Address—physical address burned onto NIC card u Unique address for each

Addressing n MAC Address—physical address burned onto NIC card u Unique address for each NIC card produced in the world u Consists of a Block ID and a Device ID n Each u Added manufacturer has one or more Block IDs to frame by Data Link Layer—MAC sublayer

Addressing n Network address—logical address assigned to a network device that identifies the network

Addressing n Network address—logical address assigned to a network device that identifies the network that a device belongs u Can be assigned automatically when a computer is turned on n DHCP server provides IP (network) addresses to computers u Can be assigned manually so that address remains the same each time computer is turned on n Addresses for servers and printers are assigned manually so that other devices can always locate them