Professional Documents
Culture Documents
Lessons
1. Introduction to the OSI Model
2. The Physical Layer
3. The Data Link Layer
4. The Network Layer
5. The Transport Layer
6. The Session Layer
7. The Presentation Layer
8. The Application Layer
Lesson 1 - Introduction to the OSI
Model
The first networking protocols were developed by computer manufacturers.
Each manufacturer developed its own protocols for its own platforms. IBM,
for example, had more than a dozen protocols back in 1960s.
The OSI model is an open standard. The term “open” means the standard’s
specifications are publicly available. Compliance with the standard is also
voluntary; new products are not required to adhere to the standard.
However, many manufacturers have found that standard-based products are
more competitive. Customers want the flexibility of hardware and software
that is “interoperable” with other manufacturers’ products, and do not want
to be locked into a single vendor’s proprietary solutions.
The OSI Stack
The OSI reference model describes a theoretical protocol stack. The model
consists of seven layers of services and protocols, from concrete Physical
Layer, which contains protocols that transmit bits over physical media, to the
abstract Application Layer, where programs such as electronic mail (e-mail)
reside.
The OSI model, consists of seven layers, falls logically into
two parts. Layers 1 through 4, the “lower” layers, are
connected with transmitting raw data between
computers. Layer 5 through 7, the “higher” layers, are
concerned with communication between applications.
Key Point: The Data Link Layer deals with frames over a
single physical link. A Data Link Layer address is the
unique address built into a NIC.
Frames Across a Link
While the Physical Layer streams bits one at a
time onto a link, the Data Link Layer
addresses groups of bits to a particular node
that is attached somewhere on that physical
link. Each group of bits the Data Link Layer
transmits is called a “frame”. Frames are
typically generated by the NIC of the sending
computer.
Packets Within Frames
The Network Layer handles data in units called
“packets”. Thus, the Network Layer passes a packet
to the Data Link Layer, which encapsulates the
packet by placing a header and trailer around it, just
as we encapsulate a letter within an envelope.
The Data Link Layer passes each frame down to the Physical Layer for
transmission across the link as a stream of bits. The receiving Data
Link Layer process receives the bit stream from the Physical Layer
and determines where each frame begins and ends. It then removes
the frame header and trailer, then passes the packet up to the
Network Layer.
Data Link Layer Services
The Data Link Layer provides the following services to the Network
Layer:
On the Transmitting Node -
● Accept data packets of arbitrary length from the Network Layer.
● Accept the address of an adjacent node to which it is to transmit
the data. An adjacent node is one connected to the sending node
by a Physical Link.
● Controls access to a shared Physical Layer medium, such as a
broadcast network.
● Adds sequence information to the frames. If they get out of
sequence during error recovery, they can be put back into the
right sequence by the receiving peer process.
● Adds error detection and correction codes to the frames so
the receiving peer process can tell when an error has
occured. (Remember that the Physical Layer cannot detect
errors.)
● Adds handshaking information to the data frames so it can
cooperate with the peer process to correct problems, such
as a frame that is completely lost.
● Handshakes with its peer to ensure that the complete
packet is received correctly.
● Uses the services of the Physical Layer to transmit frames.
● During transmission, does not send frames to the Physical
Layer at a faster rate than the receiving Data Link Layer
process can handle them.