APPLICATION LAYER
The OSI model defines the application layer as being the user interface. The OSI application layer is responsible for displaying data and images to the user in a human-recognizable format and to interface with the presentation layer below it.
Examples of applications that utilize the network are:
The presentation layer handles the conversion of data between a Standards-based or platform independent formats to a format understood by the local machine. This allows for data to be transported between devices and still be understood.
The presentation layer performs the following functions:
The session layer tracks connections, also called sessions. The session layer should keep track of multiple file downloads requested by a particular FTP application, or multiple telnet connections from a single terminal client, or web page retrievals from a web server.
With TCP/IP this functionality is handled by application software addressing a connection to a remote machine and using a different local port number for each connection.
The session layer performs the following functions:
Sessions are used to keep track of individual connections to remote servers. Your web browser is an excellent example of the use of sessions.
Your web browser (an application layer object) opens a web page. That page contains text, graphics, Flash objects and perhaps animation. The graphics, the Flash object and the animation are all stored as separate files on the web server. To access them, a separate download must be started. Your web browser opens a separate session to the web server to download each of the individual files. The session layer keeps track of which packets and data belong to which file and keeps track of where they go (in this case, to your web browser).
In most modern Internet applications, the session, presentation and application layers are usually rolled together inside the application itself, thus, your web browser performs all functions of the session, presentation and application layers.
TRANSPORT LAYER
If networking software performs reliable data transfer functions, then the detection of errors, and re-transmission of data to recover those errors or lost data will occur in software managing this layer. The transport layer may use a variety of techniques such as a Cyclic Redundancy Check, windowing and acknowledgements. If data is lost or damaged it is the transport layer's responsibility to recover from that error.
It is the network layer's job to figure out the network topology, handle routing and to prepare data for transmission. The network layer is concerned with the following primary functions:
The data link Layer is the second layer of the OSI model. The data link layer performs various functions depending upon the hardware protocol used, but has four primary functions:
It should be noted that in most modern network interface adaptors, the Physical and Datalink functions are performed by the network interface adaptor.
Example,
Ethernet Network Adaptors uses a Media Access Control (MAC) address, which is a physical address that (somewhat) uniquely identifies a network card to the physical network. The Ethernet Adaptor's primary job at the data link layer is to transmit Ethernet frames onto the wire. It places its own MAC address in the frame, followed by the destination MAC address to which it wishes to communicate, sets various other values in the Ethernet frame (protocol type etc.) and then transmits on the wire. The CSMA/CD protocol that Ethernet uses to control access to the common network bus could be said to occur at the data link layer of the OSI model or could also be called a data link function.
PHYSICAL LAYER
The OSI Model's layer 1, the Physical Layer, outlines the characteristics of the physical medium between networked devices--cabling, wiring, fiber strands and the air. Transmission and receipt of data from the physical medium (copper wire, fiber, radio frequencies, barbed wire, string etc.) is managed at this layer.
The Physical Layer receives data from the data link Layer, and transmits it to the wire. The physical layer controls the electrical and mechanical functions related to the transmission and receipt of a communications signal. It also manages the encoding and decoding of data contained within the modulated signal.
Note that for two devices to communicate, they must be connected to the same type of physical medium (wiring). 802.3 Ethernet to 802.3 Ethernet, FDDI to FDDI, serial to serial etc. Two end stations using different protocols can only communicate through a multi-protocol bridge or a router.
The physical layer is responsible for:
The OSI model defines the application layer as being the user interface. The OSI application layer is responsible for displaying data and images to the user in a human-recognizable format and to interface with the presentation layer below it.
Examples of applications that utilize the network are:
- Telnet
- FTP
- Instant Message software (AIM, MSN, ICQ, Yahoo)
- Microsoft Windows File Shares
- Web Browsers (Internet Explorer, Firefox, Google Chrome, Safari)
- Network games of Doom, Quake, Unreal (first-person 3D shooter video games)
- IRC (mIRC)
The presentation layer handles the conversion of data between a Standards-based or platform independent formats to a format understood by the local machine. This allows for data to be transported between devices and still be understood.
The presentation layer performs the following functions:
- Communication with the application layer above.
- Translation of data conforming to cross-platform standards into formats understood by the local machine.
- Communication with the session layer below.
- Examples of Presentation Layer Functions
- Conversion of a Sun .RAS raster graphic to JPG.
- Conversion of ASCII to IBM EBCDIC
- Conversion of .PICT on a MAC to .jpg
- Conversion of .wav to .mp3
The session layer tracks connections, also called sessions. The session layer should keep track of multiple file downloads requested by a particular FTP application, or multiple telnet connections from a single terminal client, or web page retrievals from a web server.
With TCP/IP this functionality is handled by application software addressing a connection to a remote machine and using a different local port number for each connection.
The session layer performs the following functions:
- Communication with the Presentation layer above.
- Organize and manage one or more connections per application, between hosts.
- Communication with the Transport layer below.
Sessions are used to keep track of individual connections to remote servers. Your web browser is an excellent example of the use of sessions.
Your web browser (an application layer object) opens a web page. That page contains text, graphics, Flash objects and perhaps animation. The graphics, the Flash object and the animation are all stored as separate files on the web server. To access them, a separate download must be started. Your web browser opens a separate session to the web server to download each of the individual files. The session layer keeps track of which packets and data belong to which file and keeps track of where they go (in this case, to your web browser).
In most modern Internet applications, the session, presentation and application layers are usually rolled together inside the application itself, thus, your web browser performs all functions of the session, presentation and application layers.
TRANSPORT LAYER
If networking software performs reliable data transfer functions, then the detection of errors, and re-transmission of data to recover those errors or lost data will occur in software managing this layer. The transport layer may use a variety of techniques such as a Cyclic Redundancy Check, windowing and acknowledgements. If data is lost or damaged it is the transport layer's responsibility to recover from that error.
- Communicate with the Session layer above.
- Reassemble transport Protocol Data Units into data streams
- Reliable protocols operating at this layer will
- Detect errors and lost data
- Recover lost data
- Manage re-transmission of data.
- Segmentation of data streams into transport Protocol Data Units.
- Communicate with the Network layer below.
- Transmission Control Protocol (Reliable)
- User Datagram Protocol (Unreliable)
It is the network layer's job to figure out the network topology, handle routing and to prepare data for transmission. The network layer is concerned with the following primary functions:
- Communication with the Transport layer above.
- Encapsulation of Transport data into Network layer Protocol Data Units.
- Management of connectivity and routing between hosts or networks.
- Communication with the data link layer below.
- Internet Protocol
- Internet Control Message Protocol (ICMP or "ping")
- Internet Gateway Management Protocol (IGMP)
- IPX/SPX
The data link Layer is the second layer of the OSI model. The data link layer performs various functions depending upon the hardware protocol used, but has four primary functions:
- COMMUNICATION with the Network layer above.
- SEGMENTATION of upper layer datagrams (also called packets) into frames in sizes that can be handled by the communications hardware.
- BIT ORDERING. The data link layer organizes the pattern of data bits into frames before transmission. The frame formatting issues such as stop and start bits, bit order, parity and other functions are handled here. Management of big-endian / little-endian issues are also managed at this layer.
- COMMUNICATION with the Physical layer below
It should be noted that in most modern network interface adaptors, the Physical and Datalink functions are performed by the network interface adaptor.
Example,
Ethernet Network Adaptors uses a Media Access Control (MAC) address, which is a physical address that (somewhat) uniquely identifies a network card to the physical network. The Ethernet Adaptor's primary job at the data link layer is to transmit Ethernet frames onto the wire. It places its own MAC address in the frame, followed by the destination MAC address to which it wishes to communicate, sets various other values in the Ethernet frame (protocol type etc.) and then transmits on the wire. The CSMA/CD protocol that Ethernet uses to control access to the common network bus could be said to occur at the data link layer of the OSI model or could also be called a data link function.
PHYSICAL LAYER
The OSI Model's layer 1, the Physical Layer, outlines the characteristics of the physical medium between networked devices--cabling, wiring, fiber strands and the air. Transmission and receipt of data from the physical medium (copper wire, fiber, radio frequencies, barbed wire, string etc.) is managed at this layer.
The Physical Layer receives data from the data link Layer, and transmits it to the wire. The physical layer controls the electrical and mechanical functions related to the transmission and receipt of a communications signal. It also manages the encoding and decoding of data contained within the modulated signal.
Note that for two devices to communicate, they must be connected to the same type of physical medium (wiring). 802.3 Ethernet to 802.3 Ethernet, FDDI to FDDI, serial to serial etc. Two end stations using different protocols can only communicate through a multi-protocol bridge or a router.
The physical layer is responsible for:
- Communication with the data link layer above it.
- Fragmentation of data into frames
- Reassembly of frames into data link Protocol Data Units.
- Transmission to the physical media
- Receiving from the physical media
- It should be noted that in most modern network interface adaptors, the physical and data link functions are performed by the adaptor.
- CSMA/CD - Carrier Sense Multiple Access / Collision Detect
- CSMA/CA - Carrier Sense Multiple Access / Collision Avoid
- FDMA - Frequency Division Multiple Access
- MSK - Minimum Shift Keying
- GFMSK - Gaussian-Fitered Minimum Shift Keying
- TDMA - Time Division Multiple Access
- CDMA - Code Division Multiple Access
- B8ZS - Binary 8 Zero Substitution
- 2B1Q - 2 Binary 1 Quaternary
- PCM - Pulse Code Modulation
- QAM - Quadrature Amplitude Modulation
- PSK - Phase Shift Keying
- SONET - Synchronous Optical NETworking
Comments