Week 3 OSI Models and Protocols - PPT
Week 3 OSI Models and Protocols - PPT
• Layer 2 ensures reliable data transfer from the Network layer to the Physical layer
for transmission across the network.
• Data received from the Network layer is formatted into frames to be transmitted to
the Physical layer.
• This layer is also responsible for error notification (not correction), network
topology, and flow control.
• This is the only layer of the OSI model that has sublayers.
The IEEE Ethernet 802.3 sublayers are Media Access Control (MAC) and Logical Link
Control (LLC)
Two domains determine data transport reliability:
Broadcast Domain—A group of nodes that can receive each other's broadcast messages and are segmented
by routers.
Collision Domain—A group of nodes that share the same media and are segmented by switches. A collision
occurs if two nodes attempt a simultaneous transmission.
Carrier Sense Multiple Access Collision Detection (CSMA/CD) is an access method that sends a jam
signal to notify the devices that there has been a collision. The devices then halt transmission for a random
back-off time.
Media Access Control (MAC)
The MAC address is the hard-coded address on the network interface controller (NIC) of the Physical layer
node attached to the network.
Although the source address will always be a unicast or single destination address, the destination address
can be a unicast, multicast (a determined subset of nodes), or broadcast (all nodes in a broadcast domain)
address.
Each MAC address must be unique and follow this format:
It must consist of 48 bits.
It must be displayed by 12 hexadecimal digits (0-9, A-F).
The first 6 hexadecimal digits in the address are a vendor code or organizationally unique identifier
(OUI) assigned by the NIC manufacturer.
This is an example of a MAC address: 00:00:07:A9:B2:EB
Logical Link Control (LLC)
The LLC sublayer complements the MAC sublayer in the ethernet model; the LLC is responsible for
framing, error, and flow control.
LLC provides a service access point (SAP) identifier in the frame. The SAP field of the frame consists
of one byte that identifies an upper layer protocol (for example, 06 = IP, whereas EO = IPX). The LLC
inserts a destination SAP (DSAP) and a Source SAP (SSAP) in the frame Ethernet 802.2 Frames
Physical Layer
Layer 1 moves bits between nodes. Electrical, mechanical, procedural, and
functional requirements are defined at the Physical layer to assist with the
activation, maintenance, and deactivation of physical connectivity between devices.
Other attributes of Layer 1 include the following:
• Specification of voltage, wire speed, and pin-out cables .
• Capability to receive and transmit a data signal . Identification of the interface that is
set up between the data terminal equipment (DTE) and the data communication
equipment (DCE)
Encapsulation The process of adding a header or trailer to the PDU at each layer
of the OSI is called encapsulation.
Protocol Data Unit (PDU) consists of the layer n control information and layer
n+1encapsulated data for each layer (for same-layer interaction). Ex: L7PDU,
L6PDU, … L2PDU
TCP / IP Model
• Application Layer
• This layer combines functionalities of the three top layers of the OSI model and may also be called the
Process/Application layer.
Also, some of the most popular applications (email, file transport, and so on) interface with this layer to
communicate with other applications on the network.
Transport Layer
This layer corresponds with the Data Link and Physical layers of the OSI
model.