OSI Model
OSI Model
A layer serves the layer above it and is served by the layer below it. For
example, a layer that provides error-free communications across a
network provides the path needed by applications above it, while it calls
the next lower layer to send and receive packets that comprise the
contents of that path. Two instances at the same layer are visualized as
connected by a horizontal connection in that layer.
The physical layer defines the electrical and physical specifications of the
data connection. It defines the relationship between a device and a
physical transmission medium (e.g., a copper or fiber optical cable, radio
frequency). This includes the layout of pins, voltages,
line impedance, cable specifications, signal timing and similar
characteristics for connected devices and frequency (5 GHz or 2.4 GHz
etc.) for wireless devices. It is responsible for transmission and reception
of unstructured raw data in a physical medium. It may define
transmission mode as simplex, half duplex, and full duplex. It defines
the network topology as bus, mesh, or ring being some of the most
common.
The data link layer provides node-to-node data transfer—a link between
two directly connected nodes. It detects and possibly corrects errors
that may occur in the physical layer. It defines the protocol to establish
and terminate a connection between two physically connected devices.
It also defines the protocol for flow controlbetween them.
Layer 3: Network Layer
software application. This layer interacts with software applications that implement a communicating component. Such application programs fall
outside the scope of the OSI model. Application-layer functions typically include identifying communication partners, determining resource
availability, and synchronizing communication. When identifying communication partners, the application layer determines the identity and
availability of communication partners for an application with data to transmit. When determining resource availability, the application layer must
decide whether sufficient network resources for the requested communication are available.