The OSI Layers
The OSI Layers
- or Open System Interconnect is responsible in breaking down the incoming data into seven
manageable layers
- standardized by the IEEE or Institute of Electrical and Electronics Engineers
- the upper layers of the OSI represent software that implements network services like
encryption and network management while the lower layer implements more primitive
hardware-oriental like routing, addressing and flow control.
1. Application Layer
- This layer supports application or softwares and closest to the end user.
- Communication partners are identified, quality of service is identified, user authentication
and privacy are considered, and any constraints on data syntax are identified.
- This layer provides application services for file transfers, e-mail, and other network
software services.
- Telnet and FTP are applications that exist entirely in the application level.
2. Presentation Layer
- Serve as data translator for the network.
- Responsible for the delivery and formatting information for further processing or
display.
- filter and represents applications, codes, graphics and file formats to a the state that the
end user understand.
- also called as the syntax layer
Protocols Used:
EBCDIC – Extended Binary Coded Decimal Interchange Code
ASCII - American Standard Code for Information Interchange
LPP - Lightweight Presentation Protocol
NDR - Network Data Representation
Protocols Used:
- SMPP – Short Message Peer to Peer
- ADSP - AppleTalk Data Stream Protocol
- NetBIOS – Network Basic Input Output System
- ZIP – Zone Information Protocol
- PAP – Password Authentication Protocol
- SCP – Session Control Protocol
- iSNS – Internet Storage Name Service
- PPTP – Point-to-Point Tunneling Protocol
A common example is a telephone call. You call, the ‘destination’ picks up the phone
and acknowledges, and you start talking (sending data). When a message or piece of it doesn’t
arrive, you say: ‘What!?’ and the sender will repeat what he said (retransmit data).
Connectionless – Is the opposite of the connection-oriented; the sender does not
establish a connection before it sends data, it just sends it without guaranteeing delivery. UDP is
an example.
Protocols Used:
TCP – Transmission Control Protocol
UDP – User Datagram Protocol
NetBEUI – Network BIOS Extended User Interface
NWLink – Network Wireless Link
- Host Addressing: Every host in the network need to have a unique address which
determines where it is. On the internet, addresses are known as Internet Protocol (IP)
addresses.
- Message Forwarding: Since many networks are partitioned into sub networks, and
connected to other networks for wide-area communications, networks use specialized
hosts, called gateways or routers to forward packets between networks. This is also
more alike with mobile applications, where a user may move from one location to
another, and it must be arranged that his messages follows him.
Devices:
- Routers
- Layer 3 (or IP switches)
Protocols Used:
- IP – Internet Protocol
- IPX - Internetwork Packet Exchange
- RIP - Routing Information Protocol
- DDP - Datagram Delivery Protocol
- ICMP - Internet Control Message Protocol
2 Sub-layers:
- MAC (Media Access Control) – controls how a computer on the network gains access to
the data and permission to transmit it.
- LLC (Logical Link Control) – controls frame synchronization, flow control and error
checking.
Devices Used:
- Bridges
- Switches
- Intelligent Hubs
- Ethernet incorporates both this layer and the Physical Layer
Example Uses:
- Wi-Fi: The PHY portion consists of the RF, mixed-signal and analog portions, that are
often called transceivers, and the digital baseband portion that place high demand on
the digital signal processing (DSP) and communication algorithm processing, including
channel codes. It is common that these PHY portions are integrated with the media
access control (MAC) layer in System-on-a-chip (SOC) implementations. Other similar
wireless applications are 3G/4G/LTE, WiMAX, UWB etc.
- Ethernet: A PHY chip (PHYceiver) is commonly found on Ethernet devices. Its purpose is
physical, analog signal access to the link. It is usually used in conjunction with an Media
Independent Interface (MII) chip or interfaced to a microcontroller that takes care of the
higher layer functions.
- Universal Serial Bus (USB): A PHY chip is integrated into most USB controllers in hosts or
embedded systems and provides the bridge between the digital and modulated parts of
the interface.
- IrDA: The Infrared Data Associations IrDA specification includes an IrPHY specification
for the physical layer of the data transport.
- Serial ATA (SATA): Serial ATA controllers like the VIA Technologies VT6421 use a PHY.
- SDRAM chip interfaces
- Flash memory chip interfaces
- Cables
- LAN Cards (NIC’s)
Example of how the OSI Layers work using an e-mail sent from the computer on the left.
- Data travels from the sending computer down through all the layers to the physical
layer where the data is put onto the network cabling, and then sent to the physical layer
of the receiving computer where the process reverses and the data travels up through
the layers to the application layer of the receiving computer.
layer 6
layer 5
Make sure all data is sent Make sure all data has
intact. arrived intact.
TRANSPORT
layer 4
layer 2
layer 1
-
- A look at each of the OSI layers , and the role it plays.